tags:

views:

555

answers:

2

How is

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

different from

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

?

Thanks

+5  A: 

One difference is how they get published; "None" items don't get included in a publish, "Content" items do; for example, on the "Application Files" dialog on the Publish tab.

Marc Gravell
+6  A: 

The MSDN article on the build action property explains the differences.

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.

adrianbanks
Thanks, I had trouble locating this reference.
Emmett