Hi CS,
Thank you for posting.
From your description, you've developed an ASP.NET 2.0 web application
which references and uses some external assemblies. However, after you
precompiled the web application and try running it, you're getting "could
not load type..." exception on a certain type, correct?
As for the precompilation on the application, are you using the
WebDeployment Project? Also, based on the class/library info you mentioned,
it seems that the external library(also referenced by your web
application?) also reference a certain class in your web application? If
this is the case, I'm afraid this could cause error behavior. As for our
ASP.NET web application, all the types get compiled in this project should
not be referenced by other external library, at least a web project(or
winform project) is not good one for defining reusable types. If there is
such types in your web application, I would recommend you separate them
into external class library project and reference them in your web project.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)