Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

 

csc /t:winexe /linkres:SHDocVw.dll /linkres:AxSHDocVw.dll /out:Application.exe Application.cs 

..::[ kleptos ]::..
Posted

Using Command Line Compiler and Web Control *RESOLVED*

 

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

 

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

..::[ kleptos ]::..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...