So i went and revisited this problem,
and read the article about the assembly being over 64K :)
Which makes perfect sense that I always get the error with TypedDataSet classLibs 
since they gen so much code.
Flipped all project to Release and it built fine!
Then went back to Debug mode for all projects, except the TypedDataSet classLib, and 
it built as well.
casey

-----Original Message-----
From: Chesnut, Casey 
Sent: Tuesday, April 23, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Build Error - Cannot copy assembly


Right, somehow VS.NET locks it :(
You dont have to close VS.NET, just close the solution,
and then you can delete the TypedDataSet.dll.
Then open the solution, rebuild just that assembly,
and set that project not build anymore;
because if you try to build immediately after, it will be locked again.
Since that is always my lowest level assembly,
that everything else references;
I change its version in AssemblyInfo.cs to 1.1.1.1;
that seemed to help a little.
My guess is that it will take a VS.NET SP to fix,
but hopefully I am wrong and somebody else will know.
casey

-----Original Message-----
From: Sean Greer (SBI-Chico) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 2:49 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Build Error - Cannot copy assembly


You can search the archives, this was discussed not too long ago.

The method that I've used is to close Visual Studio and delete the bin
directories of all projects.

Seang

-----Original Message-----
From: Greg Gates [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 11:43 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Build Error - Cannot copy assembly


Hello everyone:

All of a sudden I am unable to build my project.
I receive the following error message:


Cannot copy assembly 'PayLive.Faculty.TypedDataSet' to
file 'D:\PayLive\PayLive.Faculty\PayLive.Faculty.BLL\bin\Debug\
PayLive.Faculty.TypedDataSet.dll'.  The process cannot access the file
because it is being used by another process.

Does anyone know what may be going on here, and how I could fix it?

thanks, Greg

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to