Questions tagged [build-server]

Build sever is interchangeably used for the machine that is used to compile the application code at a scheduled time and the CI Tools such as Cruise Control, Teamcity etc.

Build server is typically used for the machine used to compile the source code at a scheduled time. This is different from the developer's machine since this is a controlled environment and is only supposed to have the pre-requisites required for compilation.

With the evolution of Continuous Integration, Build Server is also interchangeably used for the CI Applications such as Teamcity, Cruise Control, Jenkins or Bamboo. These applications take care of executing the builds and also a number of other activities such as unit test execution, deployment, various other quality checks on the code and report them in a nice presentable manner.

234 questions
465
votes
24 answers

Microsoft.WebApplication.targets was not found, on the build server. What's your solution?

Trying to build my project on the build server gives me the following error: Microsoft (R) Build Engine Version 4.0.30319.1 error MSB4019: The imported project "C:\Program Files…
stacker
  • 14,641
  • 17
  • 46
  • 74
219
votes
2 answers

How can I install the VS2017 version of msbuild on a build server without installing the IDE?

Historically, this has been done with the Microsoft Build Tools. But it seems that the Build Tools may not be available for versions after 2015. The replacement appears to be the Visual Studio build tools, which doesn't seem to have a real homepage…
180
votes
24 answers

Team Build Error: The Path ... is already mapped to workspace

When creating a new build in Team Foundation Server, I get the following error when attempting to run the new build: The path C:\Build\ProductReleases\FullBuildv5.4.2x\Sources is already mapped to workspace BuildServer_23. I am unable to see…
NotMyself
  • 29,209
  • 17
  • 56
  • 74
114
votes
8 answers

Can I use mstest.exe without installing Visual Studio?

I want to use mstest.exe to run my unit test on build server, but I don't want to install Visual Studio on the build server. Can I just install MSTest without Visual Studio?
yang-qu
  • 2,144
  • 4
  • 20
  • 26
106
votes
18 answers

What is the purpose of a dedicated "Build Server"?

I haven't worked for very large organizations and I've never worked for a company that had a "Build Server". What is their purpose? Why aren't the developers building the project on their local machines, or are they? Are some projects so large that…
KingNestor
  • 65,976
  • 51
  • 121
  • 152
81
votes
6 answers

Build ASP.NET 4.5 without Visual Studio on Build Server

Its been a while since I setup a Build Server so maybe I've forgotten something or maybe .NET 4.5 is different from whatever version I did this with last time, but here is my problem. I'm trying to setup a build server to monitor a source control…
Zack
  • 2,291
  • 2
  • 23
  • 38
58
votes
18 answers

Web Application Build Error: The CodeDom provider type Microsoft.VisualC.CppCodeProvider could not be located

I'm building/packing a web application in a build server, and it fails with the following message: ASPNETCOMPILER error ASPCONFIG: The CodeDom provider type "Microsoft.VisualC.CppCodeProvider, CppCodeProvider, Version=10.0.0.0, Culture=neutral,…
Arthur Nunes
  • 6,718
  • 7
  • 33
  • 46
57
votes
5 answers

Running Code Analysis (FxCop > 10) on build agent without installing Visual Studio

After FxCop 10 Microsoft stopped shipping a separate installer for FxCop. Officially one can currently only run code analysis (FxCop 12.0 / 14.0 / 15.0) after installing Visual Studio 2013 / 2015 / 2017. However, we are adamant about not installing…
BatteryBackupUnit
  • 12,934
  • 1
  • 42
  • 68
46
votes
2 answers

VisualStudio Build Tools 2017 offline installer

I generate an an offline installer for the build tools like this: vs_BuildTools.exe --layout c:\VS_BuildTools2017_offline --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --lang en-US I move this…
n80fr1n60
  • 701
  • 1
  • 6
  • 12
45
votes
5 answers

How to build .sqlproj projects on a build server?

I have many .sqlproj projects that need to be built on our build server. I don't want to install all of Visual Studio on the build server just so I can install SSDT to build these. How can I build .sqlproj projects without a full VS install? Here's…
Daryl
  • 3,253
  • 4
  • 29
  • 39
30
votes
2 answers

How to find the path to tf.exe from MsBuild

I have an MsBuild file which shells out to TFS using tf.exe for a few things. Unfortunately the tf.exe file has been installed to different locations on the developer PCs and the build server. I could really do with a way of detecting where the…
Chris Surfleet
  • 2,462
  • 4
  • 28
  • 40
23
votes
5 answers

Template plugin for Jenkins

Is there any plugin available in Jenkins which allows you to reuse shared configuration across the jobs.. e.g I can define a template for Continuous Integration and other template for Running Tests and create multiple jobs from these template for…
21
votes
3 answers

Continuous Integration server for C++ - What about library dependencies?

I am currently researching a good setup for a continuous integration server which would build various C++ applications for several Linux distributions. My primary question is how other users here have handled the differences in system libraries…
Joe
  • 619
  • 1
  • 5
  • 5
20
votes
2 answers

AzurePipeline failing due to: The reference assemblies for .NETFramework,Version=v4.6.1 were not found

I have an Azure pipeline setup for my builds. I have been running into this issue recently and cannot figure out a way to fix this: ##[error]C:\Program Files\Microsoft Visual…
16
votes
7 answers

Free build servers for .NET

I've got the question... Are there any free build servers for .NET applications? We are starting project as remotely working team and right now we are searching for such solution. As far as it's an academic project we do not have funds to buy server…
Łukasz W.
  • 9,538
  • 5
  • 38
  • 63
1
2 3
15 16