找不到文件'obj \ Debug \ Program.exe.manifest' [英] Could not find file 'obj\Debug\Program.exe.manifest'

查看:177
本文介绍了找不到文件'obj \ Debug \ Program.exe.manifest'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很抱歉,如果以前已经回答过这个问题.

Apologies if this has been answered before.

我的VS2010 SP1 VB.NET环境出了点问题.我已经通过ClickOnce成功地工作,编译和发布项目A了一段时间,然后尝试发布项目B,并收到错误消息:

Something happened to my VS2010 SP1 VB.NET environment. I have been successfully working on, compiling and publishing project A via ClickOnce for a while, and then tried to publish project B, and received the error:

在文件microsoft.common.targets中找不到文件'obj \ Debug \ Program.exe.manifest'.当我查看microsoft.common.targets文件时,我收到了> 101条警告.

Could not find file 'obj\Debug\Program.exe.manifest' in file microsoft.common.targets. When I look at the microsoft.common.targets file, i receive > 101 warnings.

帮助告诉我它的错误MSBuild错误MSB3113.

The Help tells me its error MSBuild Error MSB3113.

现在,所有项目的行为方式都相同,包括我正在发布的项目.

Now ALL projects behave in the same way, including the one that I was publishing.

我尝试过的事情:

在新位置创建新项目.在发布过程中出现相同的错误.

Create new project in new location. same error during publish.

我将两个项目都移到了另一台机器上,并且都发布没有问题.

I moved both projects to a different machine, and both publish without problem.

我从头开始将VS2010重新安装到问题机器上的其他位置,然后再次出现错误(问题机器是Vista,好是Windows7 prof).

I reinstalled VS2010 from scratch into a different location on the problem machine, and the error re-appears (problem machine is Vista, ok one is Windows7 prof).

尝试了部署的各种变体,未签名,已签名等.所有项目都在VB.NET中,尚不清楚如何通过VS2010设置关闭清单包含.我尝试通过将.vbproj文件中的项目信息更改为

Tried every variation of deployment, unsigned, signed etc. All projects are in VB.NET and it is unclear how to turn off the manifest inclusion via the VS2010 settings. I have tried doing this via changing the project information in the .vbproj file to

<PropertyGroup>
    <GenerateManifests>false</GenerateManifests>
</PropertyGroup>

不起作用.

项目偶尔会成功构建,但是随后无法发布.我尚未完全了解这种模式.

The project occasionally build successfully, but then fails to publish. The pattern to this I have not yet fully understood.

任何建议表示赞赏

彼得

推荐答案

删除当前清单,并按照以下说明生成一个新清单可能是值得的:

It might be worthwhile to delete the current manifest, and the generate a new one per the instructions found here:

http://msdn.microsoft.com/en-us/library/ms766454.aspx

或者,或者,

http://msdn.microsoft. com/en-us/library/ms235229%28v = vs.80%29.aspx

这篇关于找不到文件'obj \ Debug \ Program.exe.manifest'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆