How to solve the problem of annoying VS.Net2003 compile "Can't copy the assembly to the file, another program is using

xiaoxiao2021-03-06  61

First, reason

Is a bug of VS.NET 2003, please refer to the details

Http://support.microsoft.com/default.aspx?scid=kb;zh-cn; 313512

Do not create the assembly to a directory when compiling, create a file together with the compiled event, respectively.

ASP.NET may also appear, and he has another reason such as:

Http://support.microsoft.com/default.aspx?scid=kb;zh-cn; 319991

Second, the fast solution

Press the following combination directly in the IDE:

Alt-b-T, Alt-S-C, ENTER

Complete almost the same function, if you can't do it, you have to turn it off again. If it is opened after shutting down (generally appearing in the case where .NET CF development), then delete the .su file (hidden file) and .csproj.user to remove it.

Oh, there is a trouble, it is "unable to copy the XXX.pdb file", when it is unable to compile, you need to generate debugging information in the configuration properties in the project properties, It's just in compilation, then then the property reply into true (otherwise you can't debug). This problem is generally developed under the .NET CF.

转载请注明原文地址:https://www.9cbs.com/read-84952.html

New Post(0)