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.
Decision snapshot
Is this a fit?
Developers using testfx, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
2 months ago · MIT license
No specific cautions were detected. Review the source and requested permissions before installing.
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.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using testfx
Declared skill metadata
- Declared license: MIT
- Source file: .agents/skills/including-generated-files/SKILL.md
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use including-generated-files Skill
- Use it for developers using testfx.
Built with
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
Verified compatibility and discovery
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.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.