This project has moved and is read-only. For the latest updates, please go here.

clr.AddReference() places lock on referenced assemblies

Nov 3, 2011 at 7: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?


Nov 3, 2011 at 10: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:  please vote on it so we'll move it up in our list of things to do.

Nov 4, 2011 at 5:02 PM

Voted. Thanks for the info.