A
abhra.haldar
Hi:
I've been recently trying to use the command line C# compiler to
compile a library for my ASP.NET application:
***
csc /out:bin/ServiceBroker.dll
/reference:bin/ilabsArchitecture.dll;/bin/Microsoft.Web.UI.WebControls.dll
/target:library /recurse:*.cs /warn:3
***
However, when I try to access the Web application, it gives me the
following "Server Error":
*****
Parser Error Message: Could not load type 'iLabs.ServiceBroker.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="iLabs.ServiceBroker.Global" %>
*****
I checked the global.asax.cs source, and it seems the class declaration
(namespace, class) is perfectly fine.
Can anyone tell me whether I'm missing a command-line switch or
something?
I've been recently trying to use the command line C# compiler to
compile a library for my ASP.NET application:
***
csc /out:bin/ServiceBroker.dll
/reference:bin/ilabsArchitecture.dll;/bin/Microsoft.Web.UI.WebControls.dll
/target:library /recurse:*.cs /warn:3
***
However, when I try to access the Web application, it gives me the
following "Server Error":
*****
Parser Error Message: Could not load type 'iLabs.ServiceBroker.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="iLabs.ServiceBroker.Global" %>
*****
I checked the global.asax.cs source, and it seems the class declaration
(namespace, class) is perfectly fine.
Can anyone tell me whether I'm missing a command-line switch or
something?