在.csproj的文件,是什么为<无包括=" ...">对于? [英] In a .csproj file, what is <None Include="..."> for?

查看:139
本文介绍了在.csproj的文件,是什么为<无包括=" ...">对于?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何

<None Include="C:\foo.bar" />



different from

<Content Include="C:\foo.bar" />



?

推荐答案

生成操作MSDN文章物业解释。差异

- 该文件不包含项目输出组,并在未编译构建过程。 。一个例子是,包含文档,如自述文件的文本文件

None - The file is not included in the project output group and is not compiled in the build process. An example is a text file that contains documentation, such as a Readme file.

内容 - 该文件没有被编译,而是包含在内容输出组。例如,该设置是.htm或其他类型的Web文件的默认值。

Content - The file is not compiled, but is included in the Content output group. For example, this setting is the default value for an .htm or other kind of Web file.

这篇关于在.csproj的文件,是什么为&lt;无包括=&QUOT; ...&QUOT;&GT;对于?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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