visual studio mac for mac missing of identity class

后端 未结 3 797
借酒劲吻你
借酒劲吻你 2020-12-30 14:52

Hi i downloaded visual studio for mac 2017 community version. I created a default MVC Core 2.0 project and i noticed that there is missing class of Account controllers where

3条回答
  •  無奈伤痛
    2020-12-30 15:41

    With Visual Studio on Windows there are extra options you can configure when creating a new ASP.NET Core project. These extra configuration options are not currently available with Visual Studio for Mac so a simpler ASP.NET Core project is created.

    So you are left with copying the project from Windows, as you already did, or you can open a command prompt and use dotnet new to create a project. If you run the following you can see what configuration options you can specify for the ASP.NET Core MVC project template:

     dotnet new mvc --help
    

提交回复
热议问题