Skip to content

If global.json has a B.S. version string for SDK, the CLI doesn't care #2529

@TheRealPiotrP

Description

@TheRealPiotrP

Moving from https://github.com/dotnet/cli/issues/3662 on behalf of @shanselman.

I verified that this still repros on:

Version  : 1.0.1
  Build    : cee57bf6c981237d80aa1631cfe83cb9ba329f12

Steps to reproduce

global.json:

{
"projects": [ "src", "test" ],
"sdk": {
"version": "foofoo"
}
}

Expected behavior

A warning? A freak out? Something?

Actual behavior

It uses the latest SDK/CLI without a whimper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions