Visual Studio 中的 "Utility" 配置类型是什么

What is "Utility" Configuration type in Visual Studio

在Visual Studio中,项目属性->配置属性->常规->项目默认值->配置类型有{Makefile、Application(.exe)、动态库(.dll)、静态库(. lib) 和 Utility} 选项。 Utility 类型项目的预期用途是什么;你能给我指点一些文件吗? 谢谢

实用程序项目是空项目,没有任何预定义的输出。我们必须编写自定义构建规则。

文档Link: https://msdn.microsoft.com/en-us/library/aa733962(v=vs.60).aspx

When you create a utility project, no files are added to the project. The utility project does not generate any predetermined output files, such as a .LIB, .DLL or .EXE. A utility project can be used as a container for files you can build without a link step:

  • You can use a utility project as a master project for your subprojects.

  • A utility project can export a MAKEFILE.

  • A utility project has nothing but custom build rules; you must create custom build rules and add files.

  • Utility projects respect the list of specified outputs and checks to see if outputs are out of date.