Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

The problem is that in my Visual Studio 2010 there is no option "Application Manifest File" to choose when I want to add a new item.

I can generate a manifest file when building the project, as I set the property in the Linker to do so. But can I modify that file to add the compatibility property to it?

Is there some way to create the manifest file inside the project and then build it? Or can I set the compatibility property from the Properties dialog (manifest tool) itself?

like image 856
schmimona Avatar asked Jul 16 '12 12:07

schmimona


People also ask

How do I add a manifest file to my project?

Manifest generation in Visual Studio You can tell Visual Studio to generate a manifest file for a particular project in the project's Property Pages dialog. Under Configuration Properties, select Linker > Manifest File > Generate Manifest.

Where is the manifest file in Visual Studio?

Show activity on this post. In Visual Studio 2010 and possibly in future versions you can add the manifest file to your project. Right click your project file on the Solution Explorer, select Add , then New item (or CTRL+SHIFT+A). There you can find Application Manifest File .


1 Answers

  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.
like image 95
Unsigned Avatar answered Oct 20 '22 00:10

Unsigned