microsoft / microsoft/MSBuildSdks

Microsoft.Build.Artifacts conflicts with .NET 8 SDK simplified output paths

Open
#477 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
508
Forks
94
Avg merge
6h 40m
Merged PRs (30d)
2

Description

The .NET 8 SDK has a new simplified output paths feature that is opt-in.

However, the property that has been chosen to configure it is ArtifactsPath.

That leads to any projects using Microsoft.Build.Artifacts that are built with the .NET 8 SDK to suddenly find bin and obj folders in the build artifacts folder.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting Microsoft.Build.Artifacts and its handling of the .NET 8 SDK's ArtifactsPath property. Reproduce a build with simplified output paths enabled and check where bin and obj are created. Done means Microsoft.Build.Artifacts builds no longer place those folders unexpectedly in the build artifacts folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.