-
Notifications
You must be signed in to change notification settings - Fork 25
fsc doesn't work on platforms with only net core 1.1 installed #76
Comments
thx a lot @eerhardt Is ok to fix it like that?
@eerhardt how i can choose what runtime to run fsc? i found these msbuild props:
Is ok to use these? who can i ask about it? |
@enricosada - One thought: since the CLI itself runs on |
@eerhardt seems a good plan, i can default to runtime 1.1 (when i have fsc for it :D) for sdk 1.0, because sdk contains both anyway. "escape hatch" just for f# is not that bad too, but having it somewhere from sdk/msbuild is better is possible. less hacks |
I'm not sure knowing what the host is would be sufficient--what about a theoretical future Is there an easy way for running code to tell what runtime it's on? We could in the future add a property Full framework MSBuild does have |
We had a similar question on email recently, and the email discussion was pointed to https://github.com/dotnet/corefx/issues/12737 as tracking some of the information. So I'm thinking knowing whether you are running on |
Is there any reason for the F# compiler to run on .NET Core 1.0? Would it be OK to just run on .NET Core 1.1 everywhere? It looks like we will probably be recommending people target 1.1 over 1.0 in general: dotnet/sdk#893 |
@dsplaisted none at all. was just built and packaged as 1.0 in https://www.nuget.org/packages/Microsoft.FSharp.Compiler.netcore/ added dotnet/fsharp#2502 to add .net core 1.1 fsc so can be added later (need just an fsharp.net.sdk update, no templates changes) |
Closing in favor of sdk 2.0, ref #91 (comment) |
There are 3 platforms that came online between .net core 1.0 and .net core 1.1:
.NET Core 1.0 runtime doesn't support these platforms, however we need to get the .NET Core SDK working on these platforms.
The F# compiler
fsc
only supports .NET Core 1.0 currently. In it's NuGet package it has a runtimeconfig.json that explicitly says it needs to run on1.0.1
shared framework. But on these 3 platforms there can't exist a1.0.x
shared framework. Thus F# can't be used on these platforms.The text was updated successfully, but these errors were encountered: