dotnet-artifacts-output

Consolidate .NET SDK build outputs into a single artifacts directory.

71|10|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-artifacts-output-wshaddix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-artifacts-output
Source: https://github.com/wshaddix/dotnet-skills/tree/main/skills/dotnet-artifacts-output
Command: npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-artifacts-output-wshaddix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the scattered nature of traditional .NET build outputs (bin/, obj/) by centralizing them into a single artifacts/ directory, simplifying project management and CI/CD integration.

Core Features & Use Cases

  • Centralized Output: Consolidates all build outputs (bin/, obj/, publish/, package/) into a single artifacts/ directory.
  • Simplified .gitignore: Reduces .gitignore complexity with a single artifacts/ entry.
  • CI/CD Integration: Provides predictable paths for artifact uploads and Docker image builds.
  • Use Case: Enable the artifacts output layout in a new .NET 8+ project to keep your source tree clean and streamline your build pipeline.

Quick Start

Enable the artifacts output layout by adding UseArtifactsOutput to your Directory.Build.props file.

Frequently Asked Questions about dotnet-artifacts-output

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consolidate scattered .NET build outputs into a single directory?

You can consolidate .NET build outputs by enabling the artifacts output layout, which centralizes scattered bin and obj folders into a single artifacts directory for a cleaner source tree.

What is the best way to simplify .gitignore for .NET bin and obj folders?

The best way to simplify .gitignore for .NET bin and obj folders is to centralize build outputs into a single artifacts directory, reducing the file to a single entry.

Does the .NET artifacts output layout work with CI/CD pipelines and Docker?

Yes, the .NET artifacts output layout works with CI/CD pipelines and Docker by providing predictable paths for artifact uploads and Docker image builds within the centralized directory.

How do I configure the .NET SDK to use the artifacts output layout?

To configure the .NET SDK artifacts output layout, add UseArtifactsOutput to your Directory.Build.props file, or generate the configuration using dotnet new buildprops.

Do I need .NET 8 SDK to use the centralized artifacts output directory?

Yes, you need the .NET 8 SDK or newer to use the centralized artifacts output directory, as this feature is supported by the modern .NET SDK build system.

Why are my .NET build outputs scattered across multiple project folders?

.NET build outputs are scattered because the traditional build system places bin and obj folders within each project directory, but centralizing them into an artifacts directory solves this problem.