Why is VS2005 have two AssemblyInfo

xiaoxiao2021-04-01  251

In order to migrate the Web Application to the VS2005 Web Application to the Web Application, I created a web application in VS2005, delete the page, and then move me below the page below the VS2003 to the new application directory below, and add them Inside the project. This compilation error was found when compiled.

The item "Properties / askEMBLYINFO.CS" WAS Specified More Than On The "Sources" parameter. Duplicate items are not supported by the "sources" parameter.

Depending on the error message, open the .csproj file with the text editor, find , will find two, delete one of them is no problem.

It is estimated that this is a bug of Microsoft. I accidentally add Assembly in another application to the current application, and the VS2005 will automatically add this section in the .csproj file, but if the file is deleted, the VS2005 will not This section is automatically deleted, causing this compilation error.

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

New Post(0)