Skip to content

Can't open VisualFSharp.sln, .NET SDK requirement? #10073

@dsyme

Description

@dsyme

Opening VisualFSharp.sln with latest Visual Studio produces load warnings

Here are my installed .NET SDKs. I will try also installing .NET SDK 3.1.302 though I can't recall previously needing to do that


C:\GitHub\dsyme\fsharp>dotnet --list
A compatible installed .NET Core SDK for global.json version [3.1.302] from [C:\GitHub\dsyme\fsharp\global.json] was not found
Install the [3.1.302] .NET Core SDK or update [C:\GitHub\dsyme\fsharp\global.json] with an installed .NET Core SDK:
  2.0.0-preview2-006470 [C:\Program Files\dotnet\sdk]
  2.0.0 [C:\Program Files\dotnet\sdk]
  2.0.2 [C:\Program Files\dotnet\sdk]
  2.1.104 [C:\Program Files\dotnet\sdk]
  2.1.201 [C:\Program Files\dotnet\sdk]
  2.1.401 [C:\Program Files\dotnet\sdk]
  2.1.515 [C:\Program Files\dotnet\sdk]
  3.1.401 [C:\Program Files\dotnet\sdk]
C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.VS.FSI\FSharp.VS.FSI.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\Vsix\VisualFSharpFull\VisualFSharpFull.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Compiler.Server.Shared\FSharp.Compiler.Server.Shared.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Core\FSharp.Core.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.LanguageService\FSharp.LanguageService.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.LanguageService.Base\FSharp.LanguageService.Base.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.Editor\FSharp.Editor.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.ProjectSystem.Base\Project\ProjectSystem.Base.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.ProjectSystem.PropertyPages\FSharp.PropertiesPages.vbproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.ProjectSystem.FSharp\ProjectSystem.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\Salsa\VisualFSharp.Salsa.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\UnitTests\VisualFSharp.UnitTests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\DefinitionLocationAttribute\DefinitionLocationAttribute.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\DefinitionLocationAttributeFileDoesnotExist\DefinitionLocationAttributeFileDoesnotExist.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\DefinitionLocationAttributeLineDoesnotExist\DefinitionLocationAttributeLineDoesnotExist.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\DefinitionLocationAttributeWithSpaceInTheType\DefinitionLocationAttributeWithSpaceInTheType.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\DummyProviderForLanguageServiceTesting\DummyProviderForLanguageServiceTesting.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\EditorHideMethodsAttribute\EditorHideMethodsAttribute.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\EmptyAssembly\EmptyAssembly.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\XmlDocAttributeWithAdequateComment\XmlDocAttributeWithAdequateComment.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\XmlDocAttributeWithEmptyComment\XmlDocAttributeWithEmptyComment.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\XmlDocAttributeWithLocalizedComment\XmlDocAttributeWithLocalizedComment.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\XmlDocAttributeWithLongComment\XmlDocAttributeWithLongComment.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\MockTypeProviders\XmlDocAttributeWithNullComment\XmlDocAttributeWithNullComment.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Build\FSharp.Build.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\fsc\fsc.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Compiler.Interactive.Settings\FSharp.Compiler.Interactive.Settings.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\fsiAnyCpu\fsiAnyCpu.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\fsi\fsi.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\FSharp.Test.Utilities\FSharp.Test.Utilities.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\fsharp\FSharpSuite.Tests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\FSharp.Compiler.UnitTests\FSharp.Compiler.UnitTests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\FSharp.Core.UnitTests\FSharp.Core.UnitTests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ItemTemplates\AppConfig\AppConfig.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ItemTemplates\CodeFile\CodeFile.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ItemTemplates\ScriptFile\ScriptFile.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ItemTemplates\SignatureFile\SignatureFile.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ItemTemplates\TextFile\TextFile.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ItemTemplates\XMLFile\XMLFile.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\fsharpqa\testenv\src\HostedCompilerServer\HostedCompilerServer.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\fsharpqa\testenv\src\ILComparer\ILComparer.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.UIResources\FSharp.UIResources.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\service\data\CSharp_Analysis\CSharp_Analysis.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\service\data\TestTP\TestTP.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ItemTemplates\ResourceFile\ResourceFile.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\FSharp.Build.UnitTests\FSharp.Build.UnitTests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\fsharpqa\testenv\src\PEVerify\PEVerify.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\src\FSharp.PatternMatcher\FSharp.PatternMatcher.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\tests\GetTypesVS.UnitTests\GetTypesVS.UnitTests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\setup\Swix\Microsoft.FSharp.Compiler.MSBuild\Microsoft.FSharp.Compiler.MSBuild.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\setup\Swix\Microsoft.FSharp.Dependencies\Microsoft.FSharp.Dependencies.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\setup\Swix\Microsoft.FSharp.IDE\Microsoft.FSharp.IDE.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\setup\Swix\Microsoft.FSharp.SDK\Microsoft.FSharp.SDK.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Compiler.nuget\Microsoft.FSharp.Compiler.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Compiler.Private.Scripting\FSharp.Compiler.Private.Scripting.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\FSharp.Compiler.Private.Scripting.UnitTests\FSharp.Compiler.Private.Scripting.UnitTests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.DependencyManager.Nuget\FSharp.DependencyManager.Nuget.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\Vsix\VisualFSharpTemplates\VisualFSharpTemplates.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ProjectTemplates\ConsoleProject\ConsoleProject.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ProjectTemplates\LibraryProject\LibraryProject.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\vsintegration\ProjectTemplates\TutorialProject\TutorialProject.csproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\Microsoft.DotNet.DependencyManager\Microsoft.DotNet.DependencyManager.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\src\fsharp\FSharp.Compiler.Service\FSharp.Compiler.Service.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

C:\GitHub\dsyme\fsharp\tests\FSharp.Compiler.Service.Tests\FSharp.Compiler.Service.Tests.fsproj : error  : The project file cannot be opened. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions