Lightlines
By dotnet

including-generated-files

dotnet2.5k installs

Get generated files into your MSBuild output.

What it does

Guides MSBuild changes that include generated source in compilation and generated non-code files in build output.

When to use it

Use when build-generated files are missing from compilation or output, or when fixing target timing, evaluation-time glob misses, intermediate placement, or cleanup tracking; exclude Roslyn source-generator internals and non-MSBuild systems.

How to use it

It changes how the agent integrates generated files into MSBuild projects, specifying item registration and target timing.

What you provide

  • An existing project

Latest review

What you need · 1

Requires MSBuild for the project evaluation and target execution that this guidance addresses.


Access · 0

No additional actions listed.