locked
how to compile the code in release mode in .net RRS feed

  • Question

  • User1308732545 posted

    how to compile the code in release mode in .net

    Monday, December 9, 2013 11:08 AM

Answers

  • User-484054684 posted

    You can just change the mode in Visual Studio to Release, on the top section of Visual Studio. And then you can execute build or rebuild.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 9, 2013 11:13 AM
  • User281315223 posted

    If you are using Visual Studio to build your application, all you need to do is simply set the Build Mode option within your application to "Release" which you should be able to access through a drop-down menu in Visual Studio : 

    After changing this option from "Debug" to "Release" the next time you build or run your application, it will be compiled in Release mode. You can read more on handling this below : 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 9, 2013 11:15 AM

All replies

  • User-484054684 posted

    You can just change the mode in Visual Studio to Release, on the top section of Visual Studio. And then you can execute build or rebuild.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 9, 2013 11:13 AM
  • User281315223 posted

    If you are using Visual Studio to build your application, all you need to do is simply set the Build Mode option within your application to "Release" which you should be able to access through a drop-down menu in Visual Studio : 

    After changing this option from "Debug" to "Release" the next time you build or run your application, it will be compiled in Release mode. You can read more on handling this below : 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 9, 2013 11:15 AM