-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
Functionality:PackPriority: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.Product:dotnet.exeType:Feature
Description
Details about Problem
It appears that NuGet creates a file name for .nupkg files such as:
$(PackageId).$(PackageVersion).nupkg
Where this gets weird, is with the .NET Workload Spec.
If we need to make a package with:
PackageId:Microsoft.NET.Sdk.Android.Manifest-6.0.200PackageVersion:11.0.200-preview.4.245
We end up with the file named: Microsoft.NET.Sdk.Android.Manifest-6.0.200.11.0.200-preview.4.245.nupkg
Is there a way to put a - in the file name instead of a .? Or just an MSBuild property to set any custom file name?
If not, consider this a "feature request". Thanks!
Repro steps and/or sample project
I think you could just pack a new .csproj with $(PackageId) and $(PackageVersion) as in the example above.
Metadata
Metadata
Assignees
Labels
Functionality:PackPriority: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.Product:dotnet.exeType:Feature