Click to See Complete Forum and Search --> : making .dll file from command line


Rajesh Ranjan
03-13-2006, 04:32 AM
Hello,

I am accessing a .asmx page from a remote server to my local computer. In my computer DotNet frame1.1 is there. Now I want to create a .dll file from that .asmx file on that server computer from command prompt. How could I do that? Please help me.

Rajesh

rajiv
03-14-2006, 02:10 AM
hii rajesh..
i saw ur que. and as i did this earlier.. i m sending you the ans...
In .net command promt.. type.. the command as below..

c:\>csc /t:library yourasmxfile.cs

where yourasmxfile.cs is your asmx file's codebehind.. (It should be in same drive, where you r in command promt.. )and it'll generate.. the dll that you can use..

Thanx...
Rajiv

takkie
03-14-2006, 03:29 PM
i think he is trying to create a dll file, from the .asmx which locates on the remote server....

like, you are requesting a .aspx file on codeprojects.com, and want to make a dll out of it...

I think thats what he means...

-tak

Rajesh Ranjan
03-17-2006, 05:02 AM
hi Rajiv

Thankx for the code. It's working. Thanking you very much.

Rajesh