具有完整框架的ASP NET Core 2 [英] ASP NET Core 2 with Full Framework
问题描述
我找不到在完整框架下运行的ASP.NET MVC Core应用程序的任何文档或示例.它应该受到支持,但是正如我所说,我找不到有关如何为此配置项目的任何文档,而且我自己也无法解决.
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?
推荐答案
我能够使用Full .NET Framework 4.6.1创建/运行ASP.NET Core 2.0项目,我遵循以下步骤-
I am able to create/run ASP.NET Core 2.0 project with Full .NET framework 4.6.1, I followed below steps-
- 使用ASP.NET Core Web应用程序在Web类别下创建新项目-
- 第二步,选择Web应用程序(模型-视图-控制器)
- csproj看起来像这样-
<TargetFramework>net461</TargetFramework>
我的环境是-
-
Visual Studio 2017社区15.3.3版
Visual Studio 2017 Community 15.3.3 version
.NET Core 2.0 SDK
.NET Core 2.0 SDK
这篇关于具有完整框架的ASP NET Core 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!