문제

I compiled my shared views as a separate dll(EmbeddedViews.dll) and was able to access in MVC 4 Project. Now i registered the shared view(EmbeddedViews.dll) Dll into GAC(Global Assembly Cache ) and trying to access the shared view in MVC4 project. It could not find the location of the view. I added the namespace of the dll in Web.config of the MVC4 project view. Is it possible to access the dll from GAC? or is there a better alternative.

도움이 되었습니까?

해결책

I found a solution in Razorgenerator MVC. It is allowing me to render shared content across different projects by making a DLL. But I m not sure if this is the best way of doing.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top