clr.AddReference() places lock on referenced assemblies

Nov 3, 2011 at 6:11 PM

Not sure if this is an issue within the PTVS or within IronPython itself. I have a PTVS project contained within its own solution. On this project, I have added search paths to a Debug directory of a C# project on another solution. On the py files, I have several clr.AddReference() calls referencing assemblies on such Debug folder. It happens very often VS is not able to save the new dlls when I build the C# project so I get an error from VS that the dlls are being used by another project. When I close the PTVS solution, the problem goes away. Any ideas?

Thanks.

Coordinator
Nov 3, 2011 at 9:08 PM

We're unfortunately both locking the assemblies... We have a feature open to stop doing this on our side which should solve the problem: http://pytools.codeplex.com/workitem/411  please vote on it so we'll move it up in our list of things to do.

Nov 4, 2011 at 4:02 PM

Voted. Thanks for the info.