problem with assemblies/command line

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?
 

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top