JMoody
Joined: 26 Aug 2008 Posts: 20 Location: Ohio
|
Posted: Fri Oct 02, 2009 7:12 pm Post subject: Visual Studio FTN plugin locking referenced dll |
|
|
I found a problem with the Visual Studio plug in.
When the FTN plugin to Visual Studio 2008 accesses a dll that is stored outside of the solution, it locks the dll.
I have a solution with a FTN dll project and a number of C# dll projects. One of the C# dlls accesses the FTN dll, and the FTN dll accesses another C# dll. Some of the C# dlls are also used in other projects, so we have a C:\lib folder where those dlls are stored for reference while debugging.
I have a special debug configuration where the C# dlls are compiled into the C:\lib folder. I have all my references in the different C# projects in the solution pointing to the dlls in the C:\lib folder. Now, if I point a reference in the FTN dll project to the C# dlls in the C:\lib folder, Visual Studio locks the referenced dll. With the dll locked, Visual studio cannot update the dll and the solution cannot be compiled.
To get around this problem, the FTN dll references have to point to the dll projects in the solution, not the dll folder outside the solution. |
|