Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help compiling dll file using vbc.exe (web services)

Status
Not open for further replies.

meckeard

Programmer
Aug 17, 2001
619
US
Hi all,

I am trying to compile my .vb web service file into a dll as described here (see step 3):


Here is what I am using in the command prompt:

"C:\Windows\Microsoft.NET\Framework\v1.1.4322\vbc.exe" /t:library /out:C:\Inetpub\ C:\Inetpub\ /reference:System.dll,System.Data.dll,System.Web.dll,System.Web.Services.dll,System.XML.dll /optimize

It appears to work. The command window opens briefly and then closes. However, when I search for the compiled dll, I cannot find it.

Anyone know why?

Thanks,
Mark
 
I recall reading this somewhere, but that's not why I am doing it. Everything that I have read references the file being compiled into a DLL, so I am just trying to go along with the code samples.

Mark
 
ASP.NET should compile it automatically the first time it gets called. As a result, the first time you call it, it'll be somewhat slow, but afterwards it will run at full speed.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
it's not because your command windows disapears immidiatly that it has completed succesfully.

you should open a dos window an compile it in there. and then watch the errors he produces.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Christiaan,

It produces no errors. This is all I see:

Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

Thanks,
Mark
 
it seems ok perhaps it has saved it to a different directory (don't ask me why). did you try a search on the c to fin the dll?

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Christiaan,

Yes, I searched the entire C drive and I cannot find the DLL.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top