Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Project As Custom Tool
Project As Custom Tool

Project As Custom Tool

Henning Dieterichs

|
285 installs
| (0) | Free
Provides a custom tool "ProjectInSolution" and a property "GeneratorProject". The custom tool compiles the specified generator project on demand and asks it to generate the code via stdin/out.
Download

This visual studio extension provides a custom tool that builds and runs a selected project in the current solution and asks it to generate code.

To use this custom tool, just enter "ProjectInSolution" in the "Custom Tool" edit field and select the project in the "Generator Project" drop down field of the file used to generate code from as shown in the following screenshot:

Now, whenever the file is saved, the selected project will be built if neccessary and started. The content of the file then will be written to standard input. After that, the custom tools reads everything from standard output and writes it to the generated file.

If the main method of the generator project looks like this:

this will be the result:

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft