1

I have created the library project with TragetFramework is .NetFramework 4.5

I released the library project as Nuget package. By using this Nuget package developer can able to Create Razor Html control in Asp.Net MVC project. This is working as we expected.

My problem is now I want to support Asp.Net core MVC project also. How can I create NUGET package to support Both Asp.Net MVC and Asp.Net core MVC.

1 Answer 1

1

Its not possible. MVC packages have to target net40/net45/net46. But ASP.Net Core packages have to target netcoreapp1.0.

Sign up to request clarification or add additional context in comments.

2 Comments

What i need to do to support both
You should maintain separate packages for each platform.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.