How to add a manifest file to a project in visual studio 2010?

前端 未结 2 1774
鱼传尺愫
鱼传尺愫 2020-12-10 17:11

I am trying to add a manifest file to a project with Visual Studio 2010, so as to set the project to be compatible with Windows 7 and to disable the virtualization.

相关标签:
2条回答
  • 2020-12-10 17:20

    A method I use is to set the project properties / Manifest Tool / Input & Output / Embed Manifest" setting to "No". Then, in my RC file add this line: CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "MyProject.exe.manifest"

    0 讨论(0)
  • 2020-12-10 17:34
    1. Create the manifest file you want.
    2. Save it somewhere on your computer with a .manifest extension.
    3. Right-click your project in Visual Studio, and select Add > Existing Item...
    4. Browse to the manifest file and open it.
    5. Build your project.
    0 讨论(0)
提交回复
热议问题