Code, Build, and Run on separate machines. Posssible?

I know that I can write on one machine and build it on another computer (that is, the build server). Now I also heard that you can have a visual studio that runs assembly on a virtual machine (I think it requires a Virtual PC). Now my question is, was anyone able to encode on machine A , compile it on machine B and run the debug series on machine C

+4
source share
2 answers

This is quite common in the development of an enterprise and in a practically de facto standard way of doing something.

As a rule, the developer works locally. Once he / she is happy with his changes, they will push him to the version control system.

From this point on, there are several options, ranging from an automated building to ending with someone clicking a button to trigger a remote assembly.

Once the build is complete, there are many options for deploying the application to one or more other servers. And yet other options for running automatic test suites.

As far as remote debugging is concerned, you can do this regardless of whether you use the build / deploy / auto test process. This is just a question of how to properly install and configure the necessary parameters (see Ho1 answer for a link).

All that has been said, I highly recommend that you never enable remote debugging on the production server. Some people may disagree with me, but I personally consider it dangerous for security reasons and, of course, can lead to the site being disabled.

Finally, the only reasons you need a virtual machine are: servers are unavailable or if you just want to isolate everything.

+2
source

You can do remote debugging, so if you have an automated process for copying compiled code from B to C, I suppose you could do what you ask.

See the MSDN article: How to Configure Remote Debugging for more information.

+1
source

All Articles