How to target Mono framework from VS2015?

后端 未结 2 2092
挽巷
挽巷 2021-02-14 04:24

I want to deploy ASP.NET web app on Linux with mono installed.

From what I know Mono is a targeting platform similar to .DNX 4.5.1 or .DNX Core 5.0. So I need somehow ad

2条回答
  •  别那么骄傲
    2021-02-14 05:16

    There was some Mono product/Mono for VS that integrates Mono into VS, but now there is none.

    You should target .NET Core 5 in this case, as it is going to be the ultimate solution.

    Mono does still provide some support for ASP.NET 4.* projects, but it would be difficult to assert compatibility as you need to deploy to Mono on Linux to verify. Even in those cases your project should target full .NET Framework just like what you do in the past. There is no Mono specific profile to target.

提交回复
热议问题