I get this error all the time. To the best of my knowledge, Visual Studio is opening the DLLs to read meta-data for autocomplete, and not cleaning up after itself.
My coworkers have researched this problem extensively and found a dubious fix: http://blogs.acceleration.net/russ/archive/2004/10/17/329.aspx It mostly happens to me when building for release mode, so I usually just close VS and use nant on the commandline to compile a release version. Thanks, Ryan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Leh Sent: Thursday, June 09, 2005 6:42 AM To: nant-users@lists.sourceforge.net Subject: RE: [Nant-users] Running NAnt inside Visual Studio I can't tell you how to solve that, but afaik visual studio loads them into An appdomain and so they get locked. That should be the reason why you can't Overwrite them. Greets Christian Leh > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > "Klaus Lüdenscheidt" > Sent: Donnerstag, 9. Juni 2005 07:59 > To: nant-users@lists.sourceforge.net > Subject: [Nant-users] Running NAnt inside Visual Studio > > Hi, > > i'm working with a solution which can't be compiled in Visual > Studio (i always get an error CS0013: could not write to > ...pdb. Not enough memory). > To work around this problem i want to compile the solution > via NAnt's <solution> task. Outside Visual Studio it works > fine. But when i integrate NAnt in the Extras menu i somtimes > get the error "could not copy file xxx. > It is used by another process" when the dll's of the > referenced projects are copied to a projects local bin directory. > It seems that Visual Studio locks the dll's. The solution > contains 10 projects and there are references between the > projects. I tried both project references and dll reference > with the same result. > Does anyone else tried to integrate NAnt in Visual Studio and > found a solution for that problem? > > Regards > Klaus > > -- > Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! > Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far > can you shotput > a projector? How fast can you ride your desk chair down the > office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nant-users mailing list > Nant-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users