Hi ,
I tried to do make the exe of my Windows forms project in the way you had suggested , but to no avail. Here is the code of the bat file that i had made.:-
%windir%\Microsoft.NET\Framework\v2.0.50727\csc.exe
/target:winexe /out:FDC.exe /r:system.dll,system.drawing.dll,system.windows.forms.dll <filename>.cs
I used the csc.exe since i thought that perhaps since this is a project in C# i should be calling a C# compiler.
I saved the file in the directory in which my "<Project>.sln" file is located as well as saved in the dir where "<Project>.csproj" is located .Can you rectify the problem?