Related error found. The cause cannot be found. Other project files are loaded, but I do not know why this cannot be loaded. I checked the. csproj file of other projects and checked it against the. csproj file that encountered an error,
<Import project = "$ (msbuildbinpath) \ microsoft.csharp.tar gets"/>
<Import project = "$ (msbuildextensionspath) \ Microsoft \ visualstudio \ v9.0 \ webapplications \ microsoft.webapplication.tar gets"/>
Changed:
<Import project = "$ (msbuildbinpath) \ microsoft.csharp.tar gets"/>
<Import project = "$ (msbuildextensionspath) \ Microsoft \ visualstudio \ v8.0 \ webapplications \ microsoft.webapplication.tar gets" condition = "'$ (solutions. vsversion) '= '8. 0' "/>
<Import project = "$ (msbuildextensionspath) \ Microsoft \ visualstudio \ v9.0 \ webapplications \ microsoft.webapplication.tar gets" condition = "'$ (solutions. vsversion) '= '9. 0' "/>
Can all be loaded into the project file! This is a project that is generally downloaded from the Internet, or the project that a friend gives always has such a problem and has never been solved. Today, I don't know how to get inspired. Check the configuration of the <import> node in the. csproj file! The problem was solved. Happy!
The following method is searched on the Internet. I use vs2008! It is estimated that he uses the vs2005 version.
You often find the source program you want on the Internet, and when we are excited to open it, the system prompts "the imported project is not found" $: \ boo.microsoft.build.tar gets ". Make sure that the path in the <import> statement is correct and the file exists on the disk.
Solution: Open the project file (. csproj) in notepad, find the <import> node, and perform the following operations:
<Import project = "$ (msbuildtoolspath) \ microsoft.csharp.tar gets"/>
Replace:
<Import project = "$ (msbuildbinpath) \ microsoft.csharp.tar gets"/> This is the final solution !!!