R
Rahul
Hello,
I am trying to compile a Windows Forms project through command line. I
have added some images on the buttons. These images are added as a
resource and stored in the "Resource" directory inside the project
directory. My project is quite small, (only a single form).
I tried running csc in the same folder as my source files using
command:
csc /out:My.exe *.cs
It obviously fails since I am not telling the compiler where my
Resource files are.
Error: EncoderWindow.Designer.cs(224,61): error CS0234: The type or
namespace name 'Properties' does not exist in the namespace
'MPEGCompression' (are you missing an assembly reference?)
Can you help me with the right command? (I tried a lot of combinations
with /resource: option but without any luck).
Thanks
I am trying to compile a Windows Forms project through command line. I
have added some images on the buttons. These images are added as a
resource and stored in the "Resource" directory inside the project
directory. My project is quite small, (only a single form).
I tried running csc in the same folder as my source files using
command:
csc /out:My.exe *.cs
It obviously fails since I am not telling the compiler where my
Resource files are.
Error: EncoderWindow.Designer.cs(224,61): error CS0234: The type or
namespace name 'Properties' does not exist in the namespace
'MPEGCompression' (are you missing an assembly reference?)
Can you help me with the right command? (I tried a lot of combinations
with /resource: option but without any luck).
Thanks