Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "Utility" Configuration type in Visual Studio

In Visual Studio, Project Properties -> Configuration Properties -> General -> Project Defaults -> Configuration Type has {Makefile, Application(.exe), Dynamic Library(.dll), Static Library(.lib) and Utility} choices. What are the intended uses of the Utility type projects; could you please point me to some documentation? Thanks

like image 661
Vectorizer Avatar asked Feb 10 '18 12:02

Vectorizer


People also ask

What is utility configuration?

When you use the System Configuration utility, you can start Windows while common services and startup programs are disabled. Then, you can enable them one at a time. If an issue does not occur when a service is disabled but does occur when the service is enabled, the service could be the cause of the issue.

How do I find the Properties page in Visual Studio?

To open the Property Pages, choose Project > Properties from the main menu, or right-click on the project node in Solution Explorer and choose Properties. Individual files also have property pages that enable you to set compile and build options for just that file.


1 Answers

Utility projects are empty projects and do not have any predefined outputs. We have to write our custom build rules.

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

like image 87
Sudeep Reddy Avatar answered Nov 03 '22 00:11

Sudeep Reddy