Skip to content

Reconsider implicitly using the latest patch version of the targeted version of .NET Core in the SDK #983

@dsplaisted

Description

@dsplaisted

From @eerhardt:

The issue is someone upgrades their SDK on their developer machine, which brings in the latest patch version (1.1.1 in this case) and then publishes their app to their host machine. The host machines aren't updated to 1.1.1, because it just got released and these things take time. Now the app breaks on a host machine because 1.1.1 isn't installed.

See more comments/discussion on #860.

UPDATE: The current plan of record is now:

  • The implicit framework version is not updated with each new SDK (even if it includes newer runtimes (patch version)). This makes apps with newer SDKs compatible to a larger set of environments. The implicit framework version always stays as at the “.0” patch
  • Self-contained apps are published with the latest patch version (same as “run” case) unless specifically configured.

More details and discussion can be found here: https://github.com/dotnet/designs/issues/3

When targeting .NET Core 1.x, the 2.0 SDK should continue to roll forward to at least the latest patch that the 1.x SDK rolls forward to, in order to have consistent behavior between the two SDKs.

This means that there's not any concrete work needed to support the new policy until a patch version of 2.0 ships.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions