Collin
Collin

Reputation: 137

Compiling c# code with icon using powershell or batch

I need to make a .exe file from c# code and also add an icon. But I have to do this using batch or powershell. I have looked all over the internet and have come to no conclusion. Would really like some help on how to do this. Thanks, CollinScripter

Upvotes: 0

Views: 63

Answers (1)

x2.
x2.

Reputation: 9668

Tried /win32icon option?

csc /win32icon:rf.ico in.cs

http://msdn.microsoft.com/en-us/library/2aaxe43f.aspx

Upvotes: 2

Related Questions