K
Kevin Buchan
I have a web page that I want to JIT compile using the 'src' attribute
in the Page directive.
I've done this many times and life has normally been great, as a
result.
However, I find myself in need of an assembly installed in the GAC of
the destination server. Everything works fine if I add a reference to
the DLL and precompile my page. However, when I change the page
directive from 'CodeBehind=' to 'src=', then the namespace 'Imports'
line in my codebehind page generates an error.
I was under the impression that the physical Assembly reference was
only necessary during development of the application and that, at run
time, the DLL would be found in the GAC and loaded, appropriately.
Clearly, I missed something....
So, my question is: How do I identify the assembly that my web page
needs to reference so that the 'Imports TroutmanSanders.Data' line
doesn't fail?
Thanks so much!
-Kevin Buchan
-Kevin Buchan
(e-mail address removed)
in the Page directive.
I've done this many times and life has normally been great, as a
result.
However, I find myself in need of an assembly installed in the GAC of
the destination server. Everything works fine if I add a reference to
the DLL and precompile my page. However, when I change the page
directive from 'CodeBehind=' to 'src=', then the namespace 'Imports'
line in my codebehind page generates an error.
I was under the impression that the physical Assembly reference was
only necessary during development of the application and that, at run
time, the DLL would be found in the GAC and loaded, appropriately.
Clearly, I missed something....
So, my question is: How do I identify the assembly that my web page
needs to reference so that the 'Imports TroutmanSanders.Data' line
doesn't fail?
Thanks so much!
-Kevin Buchan
-Kevin Buchan
(e-mail address removed)