You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One problem is that now the path is dependent on the variant of the VS installed (Community vs Professional vs...), so there needs to be a path added for each variant in use.
Repro steps
Install Visual Studio 2017 version 15.8 on your machine, without having separate F# SDK installed
Try to compile the code using type providers (in my case it was Swagger Provider) using dotnet CLI
Expected behavior
Code compiles.
Actual behavior
Compilation ends with error.
Known workarounds
Put new path to SDK in local props file (e.g. Directory.build.props) for all variants of Visual Studio that are in use in your organization. For Community variant it would be:
Description
In Visual Studio version 15.8 F# SDK was moved inside the installation directory of the VS, so the paths provided in the
fsc.props
file don't point to SDK any more. Thus solving issue with type providers and .NET Core SDK decribed here requires adding new paths.One problem is that now the path is dependent on the variant of the VS installed (Community vs Professional vs...), so there needs to be a path added for each variant in use.
Repro steps
dotnet
CLIExpected behavior
Code compiles.
Actual behavior
Compilation ends with error.
Known workarounds
Put new path to SDK in local props file (e.g.
Directory.build.props
) for all variants of Visual Studio that are in use in your organization. For Community variant it would be:Related information
The text was updated successfully, but these errors were encountered: