Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have a code and i can compile it how ever the debug file it creates it requires .Net framework to be installed and run. I want to create an exe file that can be run on any machine or server regardless it has visual studio or not. I have tried releasing but still it does not work.I have googled but i guess i could not find right keywords. Thanks anyways

Thanks
Posted

1 solution

C/C++ and C# are very different in that manner!
However it has nothing to do with Visual Studio!
For C/C++ to tun on (almost )any machine you have to restrict you usage of non-standard C/C++ features and libraries...(and maybe you can get away better with GNU compiler)
For C# you need the .NET framework to e installed or Mono for non Windows platforms. In this case too you have to check that all you methods of framework are supported by the installed .NET layer...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900