S
Stephen Woolhead
I have a web application that has several ConfigSection handlers defined,
one in the web application it's self and several in external assemblies. I
am using VS's built in web server
My problem is that I can not get the section in the webapps assembly to
load, i get the error:
Parser Error Message: Exception creating section handler : File or assembly
name 'MyWebApp', or one of its dependencies, was not found.
<section name="FileLocationConfiguration"
type="MyWebApp.ConfigHandlers.FileLocationConfiguration, MyWebApp"/>
Now best I can tell is that this is to do with a change in the way ASP.Net
compiles the assembly, in the 1.1 days you would actually get a MyWebApp.dll
assembly from which I could load the config handler, but in 2.0 this file no
longer seems to exist.
If I drop the assebly name from the section element it complains that it can
not be found in the system assembly.
What I would appear to need to knowis what is the name of the generated
assembly for the web project unless there is a better way to do this.
Thanks for any help
Stephen.
one in the web application it's self and several in external assemblies. I
am using VS's built in web server
My problem is that I can not get the section in the webapps assembly to
load, i get the error:
Parser Error Message: Exception creating section handler : File or assembly
name 'MyWebApp', or one of its dependencies, was not found.
<section name="FileLocationConfiguration"
type="MyWebApp.ConfigHandlers.FileLocationConfiguration, MyWebApp"/>
Now best I can tell is that this is to do with a change in the way ASP.Net
compiles the assembly, in the 1.1 days you would actually get a MyWebApp.dll
assembly from which I could load the config handler, but in 2.0 this file no
longer seems to exist.
If I drop the assebly name from the section element it complains that it can
not be found in the system assembly.
What I would appear to need to knowis what is the name of the generated
assembly for the web project unless there is a better way to do this.
Thanks for any help
Stephen.