-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Labels
Functionality:PackIcebox cleanup candidatePriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Status:InactiveIcebox issues not updated for a specific long timeIcebox issues not updated for a specific long timeTriage:Investigate
Description
When PackagePath has a trailing backslash, the nupkg produced contains an incorrect zip with // in the entry name.
Details about Problem
dotnet.exe --version: 2.1.300
OS: macOS
Worked before?: not sure
Repro
- Clone this repo: https://github.com/aspnet/Mvc/tree/379345b530697ef11d86cc778c28e660696d8b77
./build.sh /p:SkipTests=true
Sample Project
<None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers\dotnet\cs\" />When packing on macOS/Linux, this leads to a zip like this:
$ unzip -l ./artifacts/build/Microsoft.AspNetCore.Mvc.Analyzers.Experimental.0.2.0-preview1-t000.nupkg
Archive: ./artifacts/build/Microsoft.AspNetCore.Mvc.Analyzers.Experimental.0.2.0-preview1-t000.nupkg
Length Date Time Name
--------- ---------- ----- ----
537 06-07-2018 12:12 _rels/.rels
1318 06-07-2018 12:12 Microsoft.AspNetCore.Mvc.Analyzers.Experimental.nuspec
34816 06-07-2018 19:10 analyzers/dotnet/cs//Microsoft.AspNetCore.Mvc.Analyzers.Experimental.dll
459 06-07-2018 12:12 [Content_Types].xml
819 06-07-2018 12:12 package/services/metadata/core-properties/0016e2a84d834decb9a38be2bc6cb6cd.psmdcp
--------- -------
37949 5 files
Notice the double slash in analyzers/dotnet/cs//Microsoft.AspNetCore.Mvc.Analyzers.Experimental.dll
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Functionality:PackIcebox cleanup candidatePriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Status:InactiveIcebox issues not updated for a specific long timeIcebox issues not updated for a specific long timeTriage:Investigate