C#程序中的清单文件 [英] Manifest file in C# program

查看:596
本文介绍了C#程序中的清单文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要让清单文件正常工作。我创建并将其附加到项目中。现在我不太清楚如何处理说明。以下是该文件的一部分:

I need to get a manifest file working. I created on and attached it to the project. now I don't quite know what to do with instructions. Here is a part of the file:

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!-- A list of the Windows versions that this application has been tested on
           and is designed to work with. Uncomment the appropriate elements
           and Windows will automatically select the most compatible environment. -->

      <!-- Windows Vista -->
      <!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->

      <!-- Windows 7 -->
      <!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->

      <!-- Windows 8 -->
      <!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->

      <!-- Windows 8.1 -->
      <!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->

      <!-- Windows 10 -->
      <!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->

    </application>
  </compatibility>

我运行Windows 10.如何取消注释该代码。

I run Windows 10. How can I uncomment that code.

谢谢, - MyCatAlex

Thanks, - MyCatAlex

推荐答案

好的,这个文件现在不知怎的工作。我不明白它是如何工作的以及它在做什么,但会感激任何评论。

OK, this file is now somehow working. I don't understand how it works and what it is doing but will appreciate any comments.

谢谢, - MyCatAlex

Thanks, - MyCatAlex


这篇关于C#程序中的清单文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆