C# Windows 7中的兼容性帮助问题
在创建安装程序后,每当我从安装程序运行应用程序时,我都会收到程序兼容性助手消息。为了解决这个问题,我在清单文件中添加了以下代码。但我还是遇到了同样的问题。在我的两个应用程序中,一个在vs2010中,另一个在VS2005中,我都面临着这个问题。下面的代码修复了VS2010应用程序中的问题。但对于另一个应用程序,问题仍然存在C# Windows 7中的兼容性帮助问题,c#,winforms,windows-7,C#,Winforms,Windows 7,在创建安装程序后,每当我从安装程序运行应用程序时,我都会收到程序兼容性助手消息。为了解决这个问题,我在清单文件中添加了以下代码。但我还是遇到了同样的问题。在我的两个应用程序中,一个在vs2010中,另一个在VS2005中,我都面临着这个问题。下面的代码修复了VS2010应用程序中的问题。但对于另一个应用程序,问题仍然存在 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requ
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Specifying requestedExecutionLevel node will disable file and registry virtualization.
If you want to utilize File and Registry Virtualization for backward
compatibility then delete the requestedExecutionLevel node.
-->
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
有人能帮我解决上述问题吗
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
问候,
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
维迪亚你是如何创建安装程序的?我不知道。我在一家软件公司工作。一个独立的团队负责创建安装程序。我们将构建商品放在一个公共共享位置,他们的团队从公共文件夹中获取商品并创建安装程序。
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>