In csproj file, we can include a file using either None
or Content
element. From MSDN, it says that:
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.
But since either None
or Content
element can contains a CopyToOutputDirectory
element, thus I wonder if I set this to be Always
, wouldn't the behavior of None
and Content
be the same?