The two common errors are Cannot create/shadow copy 'File Name' when that file already exists. Usually get this message usually when in a debug/edit/debug cycle after successfully building a C# solution and pressing F5 to debug it.
Exception Details: System.IO.FileLoadException: Cannot create/shadow copy 'File Name' when that file already exists.
If you wait a few moments before pressing F5 after a build, ASP.NET seems to have the time to complete whatever it needs to do. This is running Visual Studio 2005/ASP.NET on localhost.
Unable to copy file obj\Debug\xyz.dll to bin\Debug\xyz.dll. The process cannot access the file bin\Debug\xyz.dll because it is being used by another process. Workarounds The best solution is to do the following, since VS basically locks the fil ...
Go to the complete details ...