Invalid Nuget.Build.Tasks.Console package when building from source #9705
Labels
Priority:2
Issues for the current backlog.
Type:Bug
Type:Engineering
product/infrastructure work/not a customer bug/feature/DCR
Milestone
Details about Problem
Building Nuget.Build.Tasks.Console in source-build results in invalid contentFiles in the generated package. Trailing backslashes in the PackagePath on the two lines linked below cause a double slash in the output package. Related to #7004
https://github.com/NuGet/NuGet.Client/blob/784274cc9b2002ca73055e8134064261118d8a01/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj#L67-L68
dotnet.exe --version (if appropriate): 5.0.100-preview.4.20258.7
OS version (i.e. win10 v1607 (14393.321)): CentOS Linux 8 (Core)
Worked before? Not sure
Detailed repro steps so we can see the same problem
Build Nuget.Build.Tasks.Console on a non-windows OS
Inspect the resulting nuspec in Nuget.Build.Tasks.Console.*.nupkg (Note the double slash in contentFiles entries)
The text was updated successfully, but these errors were encountered: