Paul Stanley
Paul Stanley

Reputation: 2161

ASP.NET Core Remove DNX Core 5.0

If I have a reference to this in ASP.NET 1 core it seems to me that if this is present I can not have code that relies on .NET 4.6 with the DNX Core 5.0 present. I removed the reference from project.json

"frameworks": {
"dnx451": { },
"dnxcore50": { }

},

When i did this Visual Studio locked up and I had to use Task Manager to shut it down.Is there a way to disable this reference without removing from project.json.

Upvotes: 2

Views: 1888

Answers (2)

Clint B
Clint B

Reputation: 4710

If your project is targeting dnx, it was created in version RC1 or before. You should go through all the steps outlined here to update it to Core 1.0.

There were a lot of changes when RC2 came out. The depreciation of dnx is just one of them. If you did not uninstall all ASP.NET 5 components before upgrading to ASP.NET Core, you're better off uninstalling Visual Studio 2015 and all ASP.NET 5/Core components and then install Visual Studio 2015 Update 3 and ASP.NET Core 1.0.

Upvotes: 2

Sanket
Sanket

Reputation: 20017

Do not use DNX, use latest identifiers.

Refer this-

Monikers

Reference: https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md#deprecated-monikers

Upvotes: 2

Related Questions