先检验一下你Projects的folder和所有coding的导向是否正确,在网上搜索到以下解答:
The core problem is that Visual Studio is being asked to incorporate a manifest file but it cannot seem to find it.
From research the problem appears to stem from a possible number of sources, most related to the project itself. Some potential causes:
1) Numbers or spaces in the project name
2) Project name too long
3) Started creating the project from a blank project that doesn’t have all of the parts.
I’d suggest trying each of the following to see if it fixes the issue- but backup your project/solution directory first.
A) Clean and rebuild the solution
B) Right click on the solution for the project (in Solution Explorer) and rename the solution to a very simple name (e.g., soln). Then do the same for the project (e.g., rename to proj). Do a rebuild all and see if the problem goes away. If it does you can rename the solution and project to something more meaningful.
C) Right click on the project and open it’s properties. Go To Link | Manifest and turn off use of the manifest. Rebuild.
D) Create a new Win32 console project. Have Visual Studio create the initial CPP and .H files you need. Open your old source files and copy the code from those into the new files. Rebuild the new project. |