Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Referencing ASP.NET 5 Class Library (Packaged) Projects from an ASP.NET 5 MVC

$
0
0

I created a new ASP.NET 5 MVC project -- named TestIt. I then added to my solution a new ASP.NET 5 Class Library project -- named Test.ClassLibrary.

I then reference the class library project from the MVC project. Although everything works fine and I can call methods that are in the ClassLibrary proejct, IntelliSense keeps showing me errors because it doesn't resolve the ClassLibrary project.

I see the reference under "References" as well as the project.json file. I can also compile without any errors. I can even step through the code BUT IntelliSense does not see the ClassLibrary project at all!

I'm using the latest RC1 update on both the MVC and the class library projects. I also updated the project.json on both projects to use only DNX46.

Any idea how to fix this issue?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>