It can be annoying to open the IDE every time you need to build a .NET solution or project. Fortunately, .NET ships with a command-line utility called devenv.exe that you can use to build a solution or a project from a command line. To use it, open a command window and type the following command, using the appropriate path to your solution or project:
devenv /build Debug "<Path-of-the-Solution-or-Project-File>"
The preceding command builds the specified solution or project in Debug mode. If any build errors occur, devenv.exe displays them in the command window.
No comments:
Post a Comment