asp.net mvc - Razor intellisense & external assemblies -
i have external assembly named t4mvcextensions using system.web.mvc namespace. classes within assembly in system.web.mvc namespace.
in project have view , trying use extension methods reside in assembly.
the system.web.mvc namespace has been added (by default) config file.
the view cannot provide intellisense these extension methods (with red underline), compiles without runtime extensions.
how can make sure intellisense works correctly?
the output folder set different folder (plugin architecture). razor expects references present in bin folder. adapted project output folder normal one. post-build events copy dll files towards other folder.
so make sure references in bin folder razor.
Comments
Post a Comment