怎么样
<None Include="C:\foo.bar" />
不同于
<Content Include="C:\foo.bar" />
?
最佳答案
关于 build action 的 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.
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.
关于c# - 在 .csproj 文件中,<None Include ="..."> 的作用是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1060870/