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

Demonstration of issue with Microsoft.Build.Artifacts on Linux

License

Notifications You must be signed in to change notification settings

danjagnow/artifacts-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demonstration of issue with Microsoft.Build.Artifacts on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages