Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 974 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 974 Bytes

Microsoft.Build.Artifacts Issue

The purpose of this repository is to demonstrate a problem with using Microsoft.Build.Artifacts on Linux. The issue is captured at Microsoft.Build.Artifacts not working on Linux.

Reproducing the Problem

On a machine with the .NET 5 SDK installed, clone the repository and build the project:

dotnet build --configuration Release

On Windows 10, building will generate an artifacts folder in the repository root that contains ArtifactsIssue.1.0.0.nupkg. On Linux (tested on Ubuntu 20.04 LTS running on Windows 10 via WSL 2), executing the same command builds the project but does not create an artifacts folder and copy the NuGet package into it.

To clean up the folders between build attempts, run this:

git clean -fxd