问题
I'm a little confused when it comes to creating ASP.NET Core MVC applications. I know I can create an ASP.NET Core MVC application if I used the newly released .NET Core 1.0 framework.
I was wondering if I could create one using .NET 4.6 though. I created a new MVC application using .NET 4.6 but none of the new features, such as tag helpers, are available. Do I need to reference certain libraries? Is this even possible to do?
I should state that what I'm really after is being able to use the new Tag Helpers in a .NET 4.6 web application.
回答1:
You should be creating ASP.NET Core 1.0 app as MVC then target to .NET 4.6 framework. In this way you can create ASP.NET Core MVC application with .NET 4.6.
What your trying to do is build & compile core app for .NET 4.6 full framework
来源:https://stackoverflow.com/questions/38794738/can-i-create-an-asp-net-core-mvc-website-using-net-4-6