I have developed some code in C# with VS2010 and now I want to compile it but unfortunately I can't do so in Windows 7 and I have to do it in Windows Server 2008 because the code is accessing libraries not existing in Windows 7.
Anyways, I tried all the possible parameters with CSC but seems like I am unable to compile my code in Windows Server 2008 with CSC. I am really not sure about the command I am using:
CSC /out:myfile.exe c:\myCode\*.cs
"c:\myCode" is actually where all my cs files are located. I installed the latest version of .Net framework on my Windows Server 2008 machine. So I don't think there is any issue with that.
Please kindly help. Thanks