Problems when compiling Windows Control when using references to class libraries

  • Thread starter Thread starter pataN
  • Start date Start date
P

pataN

I use csc /t:library scanControl.dll. Here I got some errors telling
me that the compiler can't find the class library dll:s that I have
referenced in my windows control project. I have added references to
the two classes and I use the using statements. Isn't that enough?
After compiling the control I will put it in the virtual directory of
IIS so that other web users can download it. My question here is how
do I do to distribute more than one dll?

I hope someone knows the answer... /Patrik
 
you need the /r switch, eg

csc /t:library /r:ReferencedLibrary.dll /out:scanControl.dll
scanControl.cs
 

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

Similar Threads

ASP.NET 64 bit compilation 1
Class Library 1
Control 1
Problem compiling a simple library 1
Class Libraries 3
Compilation error CS0103 6
N-Tier / Class Libraries 3
Enterprise Library - Class Library Greif. 7

Back
Top