Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Ensure buildversion.props is evaluated before dotnet restore #2646

Merged
merged 1 commit into from
Jun 7, 2017

Conversation

chcosta
Copy link
Member

@chcosta chcosta commented Jun 7, 2017

VersionSuffix is getting set before $(BuildNumberMajor) and $(BuildNumberMinor) are being set. When creating the DependencyModel nupkg, it is getting a bad version on its p2p reference to PlatformAbstractions.

Restore projects in a separate msbuild evaluation after the buildversion.props file has been generated so that VersionSuffix is properly defined.

Workaround NuGet/Home#4337

/cc @Petermarcu @mikeharder

@chcosta chcosta added this to the 2.0.0 milestone Jun 7, 2017
@chcosta chcosta self-assigned this Jun 7, 2017
@chcosta chcosta requested a review from eerhardt June 7, 2017 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants