Skip to content

We need a testcase to ensure the IDE isn't discomfitted by change in format of TFM. #11197

@KevinRansom

Description

@KevinRansom

#10992

We added a new feature in previewed Dev 16.8 the feature enabled developers to switch between using the dotnet sdk version of FSI and the desktop version of FSI. When the feature was added I believe netcoreapp3.1 was the default netsdk tfm. In the vs editor, which still runs on the desktop CLR, we need to compute the path to the reference assemblies so that we can show the correct Apis in intellisense and show the correct errors e.t.c. For 16.9 we ensured that FSI now used net5.0 as it's default TFM, unfortunately in the IDE we compute the TFM from the version and a prefix and computed a TFM of netcoreapp5.0. When moving from 3.1 to 5.0 the format of this value changed, and so we couldn't find the reference assemblies. And produced an error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions