-
Notifications
You must be signed in to change notification settings - Fork 1.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
Implicit Package Reference to NetCoreApp 1.0.4, 1.1.1 #860
Comments
…ared runtime unless otherwise specified via RuntimeFrameworkVersion Fixes (half of) dotnet#860
In general, I'm not sure this is the correct approach to continue with. See http://stackoverflow.com/questions/42726198/dotnet-build-to-specific-framework-version/ The issue is someone upgrades their SDK on their developer machine, which brings in the latest patch version ( Instead, if we left the implicit package reference to |
The nice thing about the automatic upgrade is that self contained apps will use the latest framework that is available. However, this also means shipping a new SDK for each patch version.. It would be nice if there was a way to reference the 1.1.1 NuGet but generate a runtimeconfig for 1.1.0. This of course then interferes with manually adding package references to M.N.App and specifying floating or specific preview versions. Maybe something radically different could be done here - ship a msbuid props file in the Microsoft.NETCore.App package that sets the |
The implicit package reference is very problematic for hosting providers and the customers that use them. For example at AWS we have support for .NET Core as a deployment target but when new versions of .NET Core come out it takes time to test and verify it before we can make it available for customers. This new implicit behavior breaks any customer that updates to Visual Studio 2017 unless they know to edit the csproj file to set the For this cycle to happen for each new release of .NET Core gives a poor experience for .NET Core developers. To me it also breaks the idea that installing a new version of .NET Core should not break any existing applications which I believed was one of the goals of .NET Core - this potentially breaks build machines when a new version comes out. |
Discussions on closed pull requests are likely to fall off the radar, so I've filed #983 for further discussion. |
This isn't a PR - it is an issue asking for this behavior.... But we can continue the discussion on #983. |
…0190807.2 (dotnet#860) - Microsoft.AspNetCore.Mvc.Analyzers - 3.0.0-preview9.19407.2 - Microsoft.AspNetCore.Mvc.Api.Analyzers - 3.0.0-preview9.19407.2 - Microsoft.AspNetCore.Analyzers - 3.0.0-preview9.19407.2 - Microsoft.AspNetCore.Components.Analyzers - 3.0.0-preview9.19407.2
In PR dotnet/cli#5673 we will be moving the in-box frameworks in CLI to 1.0.4 and 1.1.1. We should update the implicit package reference in the SDK to reference the same. I wonder if we should make these versions externally configurable so that the invoking IDE can force the SDK to match what is available.
/cc @dsplaisted @srivatsn
The text was updated successfully, but these errors were encountered: