We spent a lot of time trying to get our Build Servers to work without Visual Studio. We do not use TFS for assembly, and therefore I am not sure that the license exemption above applies to us. In addition, without having Visual Studio installed, you really understand how your software is created and whether links are referenced correctly.
We saw many examples of solutions with projects containing links for the same software with some nuget packages supplied with the solution and others that indicate locations in the path of "program files" that are missing on machines without installing Visual Studio. After you try to create software without installing VS, you can really see how your applications are “stand-alone”.
Before I start listing what you usually need to install, let me point out that MS Build is no longer considered part of the .NET platform, but comes with Visual Studio, but can also be installed separately. See this blog post for more: http://blogs.msdn.com/b/visualstudio/archive/2013/07/24/msbuild-is-now-part-of-visual-studio.aspx
For most assemblies, you must install the following software, for example, if you are creating portable class libraries.
The following directories must be copied:
- Reference assemblies (must be copied from the computer on which Visual Studio is installed from / to the C: \ Program Files (x86) \ Reference Assemblies directory)
- Public Assemblies (must be copied from the computer on which Visual Studio is installed, from the / C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ PublicAssemblies directory
We also use Wix and therefore install the following:
I have a similar kit for testing, however this was not part of the question, so I will leave it!
Hope this helps someone.
Update: March 3, 2017
Microsoft recently responded to a long-term user voice request. Support for .NET Builds without having to use Visual Studio on the server for the Visual Studio requirement to be installed on the build server will be removed.
From the description on the download page, "These build tools allow you to create your own and managed MSBuild-based applications without requiring a Visual Studio IDE." Not yet verified, but after RTM I will review this and provide you with the next update.
There is a blog post that promises these build tools set all the prerequisites and can be used to create applications based on MS Build.
CarlR Sep 29 '14 at 13:26 2014-09-29 13:26
source share