Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bundled implicit package versions #1012

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

nguerrera
Copy link
Contributor

Consume props that will be provided with .NET Core SDK (via VS and core msbuild import hooks) to determine the implicit package versions.

The changes to actually generate and distribute this file in CLI are still pending. This can go in without them as it simply lights up on these versions being set and otherwise behaves as before.

I also fixed casing of NetStandard -> NETStandard for consistency (this is not breaking since msbuild property names are case insensitive).

@livarcocc @dsplaisted

<NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion>
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">
<!-- If targeting the same release that is bundled with the .NET Core SDK, use the bundled package version provided by Microsoft.NETCoreSdk.BundledVersions.props -->
<NETStandardImplicitPackageVersion Condition="'$(NETStandardImplicitPackageVersion)' =='' And '$(_TargetFrameworkVersionWithoutV)' == '$(NETStandardBundledReleaseVersion)'">$(NETStandardBundledPackageVersion)</NETStandardImplicitPackageVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about the term "ReleaseVersion" in NETStandardBundledReleaseVersion. Should we call this NETStandardBundledTargetFrameworkVersion (and similar for the the .NET Core implicit reference)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. I moved Bundled to the front as well as I found it reads a little better.

@nguerrera nguerrera merged commit 9f7b7b8 into dotnet:master Mar 22, 2017
@nguerrera nguerrera deleted the version-props branch March 22, 2017 01:09
mmitche pushed a commit to mmitche/sdk that referenced this pull request Jun 5, 2020
…017.8 (dotnet#1012)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19517.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants