excutable project
-
I want to know how can I make a c# project excutable so the computer does not need the microst visual studio to open it. just a simple .exe file which can run everywhere.
-
I want to know how can I make a c# project excutable so the computer does not need the microst visual studio to open it. just a simple .exe file which can run everywhere.
If you need to run a .Net application(exe file), you do not need Visual Studio. All you need is the .Net Framework. To be sure that the application runs on the computer without .net framework, just ship the framework along with the set up of your application.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
-
I want to know how can I make a c# project excutable so the computer does not need the microst visual studio to open it. just a simple .exe file which can run everywhere.
Look under Build menu. You can chose Build solution. Or you can go even further. Chose batch build and you can build with and withoud debugging information. The exe is builded default in [Project Folder]->[Solution Name]->[Project Name]->[Bin] and there you have folders Debug and release. Not all files are for running. Ignore every file with: [ProjectExe].pdb [ProjectExe].exe.config [ProjectExe].vshost.exe [ProjectExe].vshost.exe.config [ProjectExe].vshost.exe.manifest
-
I want to know how can I make a c# project excutable so the computer does not need the microst visual studio to open it. just a simple .exe file which can run everywhere.
At first I want to say that you do not need Visual Studio installed on the target machine to execute any .exe created with MS .NET, you just need the .NET framework installed in the target machine. Secondly, I really don't think its possible to build such assembly (.exe or .dll) from .NET, cause it actually breaks the fundamental concept of Microsoft .NET platform.