Fazer uma PerguntaFazer uma Pergunta
 

PerguntaManifest not being embedded

  • quarta-feira, 4 de novembro de 2009 16:08ScottyDoesKnow Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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?

Todas as Respostas