Board logo

標題: 请帮帮我 解决这个问题吗? [打印本頁]

作者: wesley1987    時間: 2010-2-20 07:29 PM     標題: 请帮帮我 解决这个问题吗?

本帖最後由 wesley1987 於 2010-2-21 01:40 PM 編輯

我的Visual Studio 2008不知道干什么的...
打了1堆的code之后 之后compile了就这样的问题了....
可以帮帮我吗?
[attach]909656[/attach]
作者: cck_my    時間: 2010-2-20 08:36 PM

先检验一下你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.
作者: wesley1987    時間: 2010-2-20 09:56 PM

hmm i can't understand the C) part...
作者: cck_my    時間: 2010-2-20 10:04 PM

hmm i can't understand the C) part...
wesley1987 發表於 2010-2-20 09:56 PM
Properties > Configuration Properties > Manifest Tool > Input and Output, and set your "Embed Manifest" option to "No"
作者: wesley1987    時間: 2010-2-20 10:56 PM

hmm.... u means that after procedure c then can do then compilations as normal?
作者: wesley1987    時間: 2010-2-20 11:02 PM

hmm.... u means that after procedure c then can do then compilations as normal?
作者: wesley1987    時間: 2010-2-21 01:42 PM

又多一个问题了~请各位大大帮忙我一下~小弟在此感激不尽




歡迎光臨 公仔箱論壇 (http://www2.tvboxnow.com/) Powered by Discuz! 7.0.0