-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
Functionality:PackPriority:1High priority issues that must be resolved in the current sprint.High priority issues that must be resolved in the current sprint.Type:Bug
Milestone
Description
Follow up to #3953
Repro
ProjectA has project reference to ProjectB.
ProjectB contains <VersionPrefix>3.0.0</VersionPrefix>
dotnet pack ProjectA.csproj --version-suffix build001
Expected
ProjectA.nupkg has dependency on ProjectB 3.0.0-build001
Actual
ProjectA.nupkg has dependency on ProjectB 3.0.0
Details
Using 4.0.0-rc3
Worked in project.json, doesn't work here.
Workaround: msbuild "/t:Restore;Pack" /p:VersionSuffix=build001"
. Set VersionSuffix property on all projects during restore, not pack.
Kukkimonsuta, henkmollema, qrli, petrsvihlik, jonstelly and 24 morejozefizso
Metadata
Metadata
Assignees
Labels
Functionality:PackPriority:1High priority issues that must be resolved in the current sprint.High priority issues that must be resolved in the current sprint.Type:Bug