Microsoft 开发人员网络 > 论坛主页 > Visual C# General > Manifest not being embedded
提出问题提出问题
 

问题Manifest not being embedded

  • 2009年11月4日 16:08ScottyDoesKnow 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    In one project, I set the properties to use a default manifest, it works (does not use vista virtualization). It embeds the manifest in the exe and in the bin folder there's a myProgramA.vshost.exe.manifest.

    In another project, I set the properties to use a default manifest, it doesn't work (uses vista virtualization). It doesn't embed the manifest in the exe and in the bin folder there's a myProgramB.exe.manifest, but no myProgramB.vshost.exe.manifest. In this project I used to embed my own manifest with the following post build event:

    "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe" -manifest "$(ProjectDir)$(TargetName).exe.manifest"  –outputresource:"$(TargetDir)$(TargetFileName)";#1

    I removed that and removed the custom manifest I was using from the project because it didn't work with my setup project. But now just setting to a default manifest doesn't work. Anyone know why this would happen?

全部回复