ASP NET Core 2 with Full Framework

冷暖自知 提交于 2019-12-03 17:33:18

问题


I am unable to find any documentation, or examples, of an ASP.NET MVC Core app running under the full framework. It is supposed to be supported, but as I said I cannot find any documentation of how to configure a project for this, and have not been able to work it out myself.

Has anyone got this working and can provide advice/sample on what needs to be done?


回答1:


I am able to create/run ASP.NET Core 2.0 project with Full .NET framework 4.6.1, I followed below steps-

  1. Created new project using ASP.NET Core web application under Web category-

  1. On 2nd step, selected Web Application (Model-View-Controller)

  1. csproj looks like this- <TargetFramework>net461</TargetFramework>

My Environment is-

  • Visual Studio 2017 Community 15.3.3 version

  • .NET Core 2.0 SDK



来源:https://stackoverflow.com/questions/46066679/asp-net-core-2-with-full-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!