Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Using CSC.exe

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gbagshaw@gmail.com - 09 Mar 2006 19:36 GMT
Hi All,

I have a project created in VS 2003 that I want to be able to compile
using CSC and not the IDE. This project includes references to other
assemblies as well as web references.

I have been looking through the Framework SDK and cannot work out how
to add a web reference when I run CSC. Could someone point me in the
right direction? Are there any good references to using the CSC
anywhere?

TIA
Baggy
Mattias Sjögren - 09 Mar 2006 20:14 GMT
>I have been looking through the Framework SDK and cannot work out how
>to add a web reference when I run CSC. Could someone point me in the
>right direction?

All that happens when you add a web reference in VS is that it
generates a source file with proxy code. As long as you compile with
that file it should work. If you don't have it, you can generate it
with Wsdl.exe.

Mattias

Signature

Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

gbagshaw@gmail.com - 10 Mar 2006 14:17 GMT
Thanks Mattias,
I understand now and got it to compile using:-

csc /target:library /out:Demo.dll /debug
/recurse:C:\Inetpub\wwwroot\Demo\*.cs

Thanks again
Baggy

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.