471,318 Members | 3,268 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,318 software developers and data experts.

how can I use csc.exe to compile VS.NET project?

I was testing my blackjack game away from home and found a few bugs, so I
wanted to correct them, but on this computer I dont have VS.NET, only the
csc.exe that comes with the .NET Framework. I have all the files that are
made by VS.NET and, after editing the source code file, was wondering if I
could compile the project with csc just like VS.NET does.
Dec 5 '05 #1
3 3995
nevermind, I figured it out.
Dec 5 '05 #2
> nevermind, I figured it out.
do share with us :)

-Ab.

"Gabe" <Ga**@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
Dec 5 '05 #3
copy all the *.resources files and all the *.cs files to one directory, then
the commando will go something like this:
csc (/t:winexe) sourcecode1.cs sourcecode2.cs (...)
/res:resourcefile1.resources /res:file2.resources ...
of course, you can also specify an output file,, if you dont, the exe will
take the name of the firs *.cs file.

funny how the exe turned out 25% smaller than the exe and pbd created by
VS.NET.
Dec 5 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mario T. Lanza | last post: by
6 posts views Thread by Thomas Connolly | last post: by
1 post views Thread by Ravi Chaudhary | last post: by
6 posts views Thread by Kevin Atherton | last post: by
4 posts views Thread by Salad | last post: by
1 post views Thread by =?Utf-8?B?SG93YXJkIFBpbnNsZXk=?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.