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

查看:39
本文介绍了找不到文件 '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

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

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