Favicon of including-generated-files

including-generated-files Skill

AI Agent SkillC#Open source

Fix MSBuild targets that generate files during the build but those files are missing from compilation or output. USE FOR: generated source files not compiling (CS0246 for a type that should exist), custom build tasks that create files but they are invisible to subsequent targets, globs not capturing build-generated fil Published by microsoft in testfx.

What is including-generated-files Skill?

Fix MSBuild targets that generate files during the build but those files are missing from compilation or output. USE FOR: generated source files not compiling (CS0246 for a type that should exist), custom build tasks that create files but they are invisible to subsequent targets, globs not capturing build-generated fil Published by microsoft in testfx. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
75/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using testfx

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use including-generated-files Skill

  • Use it for developers using testfx.

Built with

C#Copy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/testfx
  • Skill file: .agents/skills/including-generated-files/SKILL.md

What it does

Fix MSBuild targets that generate files during the build but those files are missing from compilation or output. USE FOR: generated source files not compiling (CS0246 for a type that should exist), custom build tasks that create files but they are invisible to subsequent targets, globs not capturing build-generated fil

Skill instructions

Including Generated Files Into Your Build Overview Files generated during the build are generally ignored by the build process. This leads to confusing results such as: - Generated files not being included in the output directory - Generated source files not being compiled - Globs not capturing files created during the build This happens because of how MSBuild's build phases work. Quick Takeaway For code files generated during the build - we need to add those to Compile and FileWrites item groups within the target generating the file(s): xml <ItemGroup <Compile Include="$(GeneratedFilePath)" / <FileWrites Include="$(GeneratedFilePath)" / </ItemGroup The target generating the file(s) should be hooked before CoreCompile and BeforeCompile targets - BeforeTargets="CoreCompile;BeforeCompile" Why Generated Files Are Ignored For detailed explanation, see How MSBuild Builds Projects. Evaluation Phase MSBuild reads your project, imports everything, creates Properties, expands globs for Items ou

Explore related resources

Frequently asked questions

What is including-generated-files?

including-generated-files is a open-source AI agent skill with Copy skill directory. Fix MSBuild targets that generate files during the build but those files are missing from compilation or output.

Who is including-generated-files best for?

including-generated-files is best for reusing agent instructions, scripts, and references.

How do I install including-generated-files?

Install or run including-generated-files using Copy skill directory. Check including-generated-files for the latest setup command.

Is including-generated-files actively maintained?

including-generated-files may need a closer maintenance check before production use.

Share:

Stars
1,031
Forks
305
Last commit
9 days ago
Repository age
10 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to including-generated-files

including-generated-files: Install, Config & GitHub Signals – SkillIndex