I created a class library in .net core and and hosted class library on my local nuget server.Class library contains controllers and some other classes to be used by reflection.
I consumed this class library in my asp.net core MVC project.By installing it as nuget refrence. Now my MVC project builds well but at runtime I am not able to find my contoller or other classes defined in class library.
weird behavior when I copy dll of my class library to my MVC projects bin\Debug\netcoreapp1.1 directory, reflection starts working.
this is happening when i run my application in debug mode on IIS Express and I am using .net core 1.1 on Visual studio 2015
Question: Is there a way to extract nuget packages in to bin\Debug\netcoreapp1.1 on build. Question: Do I need to added some configuration so that Reflection look for dll in respective nuget package location.
Aucun commentaire:
Enregistrer un commentaire