Does Visual Studio Mac support NetCore 2 Preview?

Hey All,

Does Visual Studio Mac support NetCore 2 Preview? I've installed both, but VS Mac only shows .NETCoreApp 1.0 and .NETCoreApp 1.1?

Brad

Best Answer

Answers

  • BradRobinsonBradRobinson AUMember ✭✭✭

    Great - thanks Matt!

  • BradRobinsonBradRobinson AUMember ✭✭✭

    Hey Matt,

    @mattward said:
    I put together some instructions

    Quick clarifying question... on the bottom of that page in the section ".NET Standard 2.0 Project" you have:

    <TargetFramework>netstandard2.0</TargetFramework> 
    

    When I add this the project fails to run even from the CLI tools. Should that say netcoreapp2.0? It's a bit confusing since the two examples seem to conflict with each other.

  • mattwardmattward GBMember Xamurai

    The two examples are for two different project types. A .NET Standard project is a library project and so you will not be able run that. If you want a project that you run you should target netcoreapp. The console project and ASP.NET Core projects target netcoreapp.

Sign In or Register to comment.