Got a solution with 2 projects:
1) ClassLib with typed DataSets only
2) Application that references the TypedDataSet ClassLib
(References the assembly, and not the project)

The problem is that whenever I try to build, I get:
'The file MyDataSet.dll cannot be copied to the run directory.
The process cannot access the file because is is being used by another process'

If I go to the file system, I cannot delete the assembly because it is locked;
I have to close my solution, and then I can delete it.
Then I can build it once, although if I build again, it is locked once again!

SourceSafe is involved, with everything being checked out.
Also, I have had this happen before;
and the other time it involved a ClassLib with DataSets as well.

Any ideas?
Thanks
casey

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