How to restart a Programm in Release-Modus per Code
-
I've Visual Studio and programming in C# now I want my programm to restart on his own, but i need to restart in Release, because a class changed. con you may help me?
-
I've Visual Studio and programming in C# now I want my programm to restart on his own, but i need to restart in Release, because a class changed. con you may help me?
-
I've Visual Studio and programming in C# now I want my programm to restart on his own, but i need to restart in Release, because a class changed. con you may help me?
-
I've Visual Studio and programming in C# now I want my programm to restart on his own, but i need to restart in Release, because a class changed. con you may help me?
Member 11916735 wrote:
because a class changed
Do you mean you changed some code? Then you need to compile your program again. But it does not make sense: how should your program know that its source code was changed? If only some configurable run-time settings changed, just exit your program (e.g. Application.Exit()), but call Process.Start(path_to_your_executable) immediately before that.
-
I've Visual Studio and programming in C# now I want my programm to restart on his own, but i need to restart in Release, because a class changed. con you may help me?
i just want to restart my programm with code. but not in the debug modus, in the release modus
-
i just want to restart my programm with code. but not in the debug modus, in the release modus
-
I've Visual Studio and programming in C# now I want my programm to restart on his own, but i need to restart in Release, because a class changed. con you may help me?
-
Change your current Configuration to Release and then run the code. It will compile a release version.
There are only 10 types of people in the world, those who understand binary and those who don't.
I know how to start it in debug/release modus with a mouseklick, i just want to do this with a codesnipped
-
I know how to start it in debug/release modus with a mouseklick, i just want to do this with a codesnipped
Try and explain clearly what problem you are trying to solve. Your description leaves a lot of things out. 1. Is the class changing dynamically, so you need to restart it because it has changed at runtime? 2. How is this class being created? 3. Will the machine you are running your application on have Visual Studio installed on it or not?
This space for rent
-
I know how to start it in debug/release modus with a mouseklick, i just want to do this with a codesnipped