Are you still building exe in your local PC ?
Or maintain a dedicated PC that goes power-cycle at a stormy day or goes dead when HDD break down ? Aren't you tired of maintaining those build PCs ? Here is a story that can put those worries to history - only for .NET application using Azure DevOps now.Cloud will build like local
Here,I want to make the build process runnable in the local PC as well as in the cloud - Azure DevOps - so that you can verify your change locally and you push the changes and know that the cloud will build your code in same manner. Then, once you fixed something on your local PC, you are just one push away to finish. Now if you sold, be patient and try to follow below.Create Azure DevOps project
First, go to Azure DevOps and create a new project Then clone the repository to your local PC. Or just clone template projectDirectroy structure
Now you will populate the workspace with below directories. Or just copy and paste template project.
/build : contains build batch, project
/src
/bin : generated dll, exe, pdb goes here
/packages : dependent component such as NUnit goes here
/Foo : various VS solutions
/Bar
...
Local build
In local, you can open *.sln file at IDE and code and debug and build. Then you will open a command prompt and run build processs that will goes through all the solutions and make sure nothing break down by your change.To make the process as easy as double-click an icon, there is Build command-line icon ath the build folder. When double click the icon, msbuild will be executed to build the whole process. Try to follow those arrows at below.
Your aim is to see below 'Build succeded.' like below.
No comments:
Post a Comment