compilationconfiguration

G

Guest

Hi,

I am trying to find out why I am getting a "File or assembly name <Name>, or
one of its dependencies, was not found

I indeed once made a reference to an assembly "ProgressBar" but this was
removed from the project. Nevertheless, while I start a debug session I get a
first-change-exception and it seems that the compiler still wants to load the
assembly. But I cannot find ANY refrence in my solution to this assembly, so
why do I see this in the stacktrace:

system.web.dll!System.Web.UI.CompilationConfiguration.LoadAssembly(string
assemblyName = "ProgressBar", bool throwOnFail = true) + 0x5f bytes

THe full stack-trace is hereafter:


mscorlib.dll!System.Reflection.Assembly.InternalLoad(System.Reflection.AssemblyName
assemblyRef, bool stringized, System.Security.Policy.Evidence
assemblySecurity, System.Threading.StackCrawlMark stackMark) + 0x134 bytes
mscorlib.dll!System.Reflection.Assembly.InternalLoad(string
assemblyString, System.Security.Policy.Evidence assemblySecurity,
System.Threading.StackCrawlMark stackMark) + 0x45 bytes
mscorlib.dll!System.Reflection.Assembly.Load(string assemblyString) + 0x14
bytes
system.web.dll!System.Web.UI.CompilationConfiguration.LoadAssembly(string
assemblyName = "ProgressBar", bool throwOnFail = true) + 0x5f bytes
system.web.dll!System.Web.UI.TemplateParser.LoadAssembly(string assemblyName = "ProgressBar", bool throwOnFail = true) + 0x79 bytes
system.web.dll!System.Web.UI.TemplateParser.AddAssemblyDependency(string
assemblyName = "ProgressBar", bool addDependentAssemblies = false) + 0x3a
bytes
system.web.dll!System.Web.UI.TemplateParser.AddAssemblyDependency(string
assemblyName = "ProgressBar") + 0x19 bytes
system.web.dll!System.Web.UI.TemplateControlParser.ProcessDirective(string
directiveName = "Register", System.Collections.IDictionary directive =
{Count=2}) + 0x152 bytes
system.web.dll!System.Web.UI.TemplateParser.ParseStringInternal(string
text) + 0x134 bytes
system.web.dll!System.Web.UI.TemplateParser.ParseString(string text,
string virtualPath, string basePhysicalDir) + 0x67 bytes
system.web.dll!System.Web.UI.TemplateParser.ParseFile(string filename,
string virtualPath) + 0xe7 bytes
system.web.dll!System.Web.UI.TemplateParser.Parse() + 0x7c bytes
system.web.dll!System.Web.Compilation.BatchCompilationEntry.Precompile() +
0x17 bytes

system.web.dll!System.Web.Compilation.CodeDomBatchManager.BatchCompile(System.Collections.ArrayList
inputList = {Count=20}, System.Web.HttpContext context =
{System.Web.HttpContext}, string virtualDir = "/pmibio") + 0x153 bytes

system.web.dll!System.Web.Compilation.CodeDomBatchManager.BatchCompileInternal(string
virtualDir = "/pmibio", System.Web.HttpContext context =
{System.Web.HttpContext}) + 0x1eb bytes

system.web.dll!System.Web.Compilation.CodeDomBatchManager.BatchCompile(string
virtualDir = "/pmibio", System.Web.HttpContext context =
{System.Web.HttpContext}) + 0x56 bytes
system.web.dll!BackgroundBatchCompiler.BatchCompileDirectory(System.Object
unused = <undefined value>) + 0xc1 bytes
 
G

Guest

I still haven't figured this out.

Can anyone xplain how CompilationConfiguration.LoadAssembly get's a list of
asemblies to load, as it is trying to load something which I removed from the
project.

Please help ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top