The Build Action property indicates what Visual Studio does with a file when a build is executed. Build Action can have one of several values:

  • 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.

  • Compile - The file is compiled into the build output. This setting is used for code files.

  • 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.

  • Embedded Resource - This file is embedded in the main project build output as a DLL or executable. It is typically used for resource files.

The Build Action property is extensible. As a result, you may see additional options listed for this property that have been added by other products and features.

For more information, please see http://msdn.microsoft.com/en-us/library/0c6xyb66.aspx

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
  • 2021-12-22
  • 2021-11-28
猜你喜欢
  • 2021-10-04
  • 2022-01-30
  • 2021-05-31
  • 2021-10-27
  • 2022-02-07
  • 2021-08-25
  • 2022-12-23
相关资源
相似解决方案