G
Guest
I use outside .jpg picture files in a Windows Form project. I try to compile
use csc.exe at command line.
I use resgen.exe to generate a resource file like:
resgen.exe Form1.resx MyNameSpace.MainForm.resources
then use csc to compile:
csc /nologo /t:winexe /out:app1.exe /res:MyNameSpace.MainForm.resources
/win32icon:App.ico *.cs
The output exe file has the same size as compiled in VS.NET IDE, however, at
runtime the program still complains that there is some resource error.
Anyone can help with this? Thanks!
use csc.exe at command line.
I use resgen.exe to generate a resource file like:
resgen.exe Form1.resx MyNameSpace.MainForm.resources
then use csc to compile:
csc /nologo /t:winexe /out:app1.exe /res:MyNameSpace.MainForm.resources
/win32icon:App.ico *.cs
The output exe file has the same size as compiled in VS.NET IDE, however, at
runtime the program still complains that there is some resource error.
Anyone can help with this? Thanks!