How to create F# .Net Core ConsoleApp in Visual Studio 2017 RC

566 views Asked by At

project.json is gone and I don't quite understand how to change compiler(language) for the project. Creating of Console Application (.Net Core) leads to actually new C# project with refreshed .csproj file with <TargetFramework>netcoreapp1.0</TargetFramework>.

How can I create F# Console Application with targeting to netcoreapp1.0 with Visual Studio 2017 RC?

1

There are 1 answers

0
Reed Copsey On BEST ANSWER

The tooling for .NET Core is still in "beta" level stages (and that's being generous, even for C#), and the for F#, it's not even quite to that level.

At this point (just post first RC "refresh"), using the command line (dotnet new) is pretty much the best option. Each 2017 RC update is improving this situation, but the F# situation within Visual Studio tooling is not to the level of working like normal .NET projects at this point. Supposedly, this will work as expected by RTM, but it's just not there today.