build-server

MSBuild 15 Tools Version not accepted

≡放荡痞女 提交于 2019-12-19 07:35:33
问题 I have installed the MSBuild (15.4.0) tools for Visual Studio 2017 on a build server. To do this I used the link entitled "Build Tools for Visual Studio 2017" from Visual Studio Downloads The path to the MSBuild.exe is: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin I have added this path to the Environment Variable 'path'. I have a powershell script with the following as the body for the build task: msbuild '..\MyApplication.sln' /t:Build /tv:15.0 /p

SVN: Release branch and externals?

夙愿已清 提交于 2019-12-18 12:15:54
问题 We have two websites for the same client (main www site and another for the ecommerce site which sits on a seperate server) that use shared portion of code (various features/styles/javascript etc.). We currently manage this by having the shared code as seperate projects (in the same repos) in SVN and using svn:externals to pull the branch of each of these into the two website projects. We have just created two release branches, one each for the two sites. Everything gets commited to trunk for

Where is MsDeployPublish located?

拟墨画扇 提交于 2019-12-18 04:44:04
问题 When trying to deploy my site using TeamCity and Web Deploy I get this error: error MSB4057: The target "MsDeployPublish" does not exist in the project. Is there something I have to install on a build server? It's a clean Windows Server 2012 with Web Deploy 3.5 installed. 回答1: I realise this question is quite old at this point, but: MsDeployPublish is installed with the Web Application targets as part of Visual Studio. If you have only installed Server + Web Deploy, you'll need to either copy

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

ぃ、小莉子 提交于 2019-12-17 07:01:43
问题 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 Visual Studio on the build agents (the installation needs then to be kept in-sync with what we have got on the developer computers etc.). So how would i go about getting FxCop 12.0 / 14.0 / 15.0 to work on a build agent, preferrably without

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

。_饼干妹妹 提交于 2019-12-17 02:34:15
问题 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 yet. I downloaded the VS2017 Professional installer, and went to the Individual Components tab. Right away, the summary is telling me that the Visual Studio core editor is there, taking up 753MB. I don't want the editor. Just msbuild. There is no

TFS Build missing .targets files intermittently

浪尽此生 提交于 2019-12-13 18:24:08
问题 Our builds are failing on the TFS build server with the same errors from time to time. I'm getting this message on one of our projects (the error refers to a WebApi project): The imported project "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.CompactFramework.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. And this one on another project (on smart device projects): The imported project "C:\Program Files (x86)\MSBuild

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

大憨熊 提交于 2019-12-12 04:05:11
问题 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 (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications

TFS Build vNext - copy all assemblies to one folder [duplicate]

白昼怎懂夜的黑 提交于 2019-12-11 14:06:56
问题 This question already has answers here : TFS 2015 Publish Build Artifacts in one directory (3 answers) Closed 2 years ago . my first impression of the vNext was very good. Everything seems simple and straightforward. Now I just want to get a simple thing done and it gets complicated? I have a simple build definition which contains the Visual Studio Build. After the build is done i would like to copy all files from bin folders to one folder on a network share. With a xaml build definition this

Microsoft.WebApplication.targets

别来无恙 提交于 2019-12-10 14:15:09
问题 I have a problem when I check in my server to my build server (using TFS), but for some reason, return me the next error: Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildProcessTerminateException) Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor

Configuring a TFS2015 build agent fails because agent pool not found. Why?

纵然是瞬间 提交于 2019-12-10 01:52:10
问题 When configuring a build agent with the use of a PowerShell script, provided by an on-site TFS2015, the script errors out because it cannot find the agent pool on the server. However, the agent pool 'default' definitely exists. On another server the same script works as expected, and builds run. See the script output below. I have tried to following: Create a new agent pool on the server, and reference that in the script. Same problem "Agent pool not found". Installed Visual Studio 2015 with