如何创建/编辑清单文件? [英] How do I create/edit a Manifest file?
本文介绍了如何创建/编辑清单文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个同事(可能是从网络上的某个地方得到了它)这code,但他外出度假,我需要把它添加到清单文件
I have this code from a coworker (probably got it from the web somewhere) but he's out on vacation and I need to add this to the manifest file
<?xml version="1.0" encoding="utf-8" ?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity version="1.0.0.0" name="MyApplication" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="requireAdministrator"
uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</asmv1:assembly>
我是比较新的这个所以任何帮助将是AP preciated。 谢谢
I am relatively new to this so any help would be appreciated. Thanks
我在使用Visual Studio 2010
I'm using Visual Studio 2010
推荐答案
在VS2010可以在清单文件添加到项目中。用鼠标右键单击您的项目文件的上的解决方案资源管理器的,选择添加
,然后新建项目
。在那里,你可以找到应用程序清单文件
。
In VS2010 you can add the manifest file to your project. Right click your project file on the Solution Explorer, select Add
, then New item
. There you can find Application Manifest File
.
该文件的名称是 app.manifest
这篇关于如何创建/编辑清单文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文