-
Notifications
You must be signed in to change notification settings - Fork 1k
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 Microsoft.NETCore.App 1.1.1 when targeting netcoreapp1.1 #878
Use Microsoft.NETCore.App 1.1.1 when targeting netcoreapp1.1 #878
Conversation
…ared runtime unless otherwise specified via RuntimeFrameworkVersion Fixes (half of) dotnet#860
@@ -68,6 +68,9 @@ Copyright (c) .NET Foundation. All rights reserved. | |||
--> | |||
|
|||
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'"> | |||
<!-- If targeting netcoreapp1.1, and RuntimeFrameworkVersion is not specified, use version 1.1.1 --> | |||
<RuntimeFrameworkVersion Condition="'$(RuntimeFrameworkVersion)' == '' And '$(_TargetFrameworkVersionWithoutV)' == '1.1'">1.1.1</RuntimeFrameworkVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we were getting away from this. It sucks to have to patch this file whenever there's a patch. Also, given all of the issues with NETStandard.Libary 1.6 -> 1.6.1, I think it would be prudent to get to a place where simply upgrading the SDK never changes your package graph.
Why only half? |
@@ -68,6 +68,9 @@ Copyright (c) .NET Foundation. All rights reserved. | |||
--> | |||
|
|||
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'"> | |||
<!-- If targeting netcoreapp1.1, and RuntimeFrameworkVersion is not specified, use version 1.1.1 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a better comment here explaining why we are doing this.
@MattGertz for approval Scenario
BugWorkaroundsSet RiskLow Performance ImpactLow Regression AnalysisNot a regression |
Update tests and add comment about the RuntimeFrameworkVersion selection logic. Update version of the CLI we use so that it will have 1.0.4 and 1.1.1 for our tests to run with.
…0190814.8 (dotnet#878) - Microsoft.AspNetCore.Mvc.Analyzers - 3.0.0-preview9.19414.8 - Microsoft.AspNetCore.Mvc.Api.Analyzers - 3.0.0-preview9.19414.8 - Microsoft.AspNetCore.Analyzers - 3.0.0-preview9.19414.8 - Microsoft.AspNetCore.Components.Analyzers - 3.0.0-preview9.19414.8
When targeting netcoreapp1.1, use version 1.1.1 of the package and shared runtime unless otherwise specified via RuntimeFrameworkVersion
Fixes (half of) #860