Last post Dec 03, 2015 08:36 PM by nbrglobalinc
Dec 03, 2015 08:18 PM|remojr76|LINK
I created an ASP.NET 5 Web Application project. I add an ASP.NET 5 library project to the solution. In the DNVM I have 1.0.0-rc1-update1 clr x64 as the active and the default. I have the same selected in the properties panel. When I add the project as
a dependency to my Library Project (Which will be my test project). I get an error regardless of where I add it. I get an error stating that the project I am referencing does not support the framework .NETPlatform, version=v5.4 or version=v4.51. What am I
Dec 03, 2015 08:29 PM|nbrglobalinc|LINK
In your project.json file, find the line frameworks and change the dnx to whatever framework you're targeting. For 4.5.1, it'll be dnx451.
Dec 03, 2015 08:34 PM|remojr76|LINK
I feel stupid through everything I read, no one pointed that out and I didn't notice that nuance. Thanks
Dec 03, 2015 08:36 PM|nbrglobalinc|LINK
Glad I could help. Ran into same problem myself with 4.6. Had to change mine to dnx46.