Reputation: 137
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
Reputation: 9668
Tried /win32icon
option?
csc /win32icon:rf.ico in.cs
http://msdn.microsoft.com/en-us/library/2aaxe43f.aspx
Upvotes: 2