Using Command Line Compiler and Web Control

kleptos

Freshman
Joined
Jul 16, 2003
Messages
47
Location
Boca Raton, FL
I like to work with the command line tools rather then the IDE's for a few things and i never had any problems. Until i tried to use the web control in my application. I used the aximp to export the web control for use in C#. I have them in my application diectory, but when i compile my application, it says its missing the namespace AxSHDocVw, which is in the directory. Below is my command line compile string, i dont know what the problem is.

Code:
csc /t:winexe /linkres:SHDocVw.dll /linkres:AxSHDocVw.dll /out:Application.exe Application.cs
 
Using Command Line Compiler and Web Control *RESOLVED*

Ok, i fixed it. Insteadof using /linkres, i use /r and it worked fine.

Code:
csc /t:winexe /r:SHDocVw.dll /r:AxSHDocVw.dll /out:Application.exe Application.cs
 
Back
Top