Questions tagged [msbuildextensionpack]

The MSBuild Extension Pack is an open source collection of tasks that can be plugged into the Microsoft build automation system.

The MSBuild Extension Pack (available from http://msbuildextensionpack.codeplex.com/) is a collection of over four hundred tasks that can be added to MSBuild files to add extra functionality to TFS automated builds.

78 questions
0
votes
1 answer

MSBuild Extensions Pack, gacutil, Win32_Process, Life, the Universe and Everything

I've been trying to get the MSBuild Extensions Pack GAC utility working but keep coming up against the Remote AddAssembly returned non-zero returnValue: 9 error that usually points to gacutil.exe not being in the path. I've added the location of…
Damien Ryan
  • 1,591
  • 1
  • 15
  • 34
0
votes
3 answers

MSBuild ExtensionPack Sql2008.Database task

I am trying to do some SQL stuff (back a database, restore a database, run some script files) as part of an MSBuild script. The Sql2008.Database task from the MSBuild Extension pack seemed to be a nice easy way of doing this, however i cannot find…
Ben Robinson
  • 21,601
  • 5
  • 62
  • 79
0
votes
1 answer

Best Way to replicate ClCompile/Link targets to elimiate to eliminate 2 pass Msbuild VS2019 plugin

I am trying to eliminate a Visual Studio 2019 plug in which triggers a second MSBuild pass. Given: A build flow where a custom build task creates *.cpp modules from *.bla files. These are then linked with other *.cpp modules to create an EXE. The…
Ross Youngblood
  • 502
  • 1
  • 3
  • 16
0
votes
1 answer

MSBuild.ExtensionPack.tasks inheritance of variables from MSBuild main project file

Case: When I build from MSBuild (with VS Build Tools 2017) I don't get any value for $(ExtensionTasksPath) variable from main msbuild file, when I build with integrated VS MSBuild value is passed from main file to MSBuild.ExtensionPack.tasks,…
0
votes
1 answer

Unified primary reference

I am facing issue getting my project to build on server. The same project build fine locally on my machine (VS 2017 15.8). Teamcity sever also has the same msbuild tool version installed. It doesn't have VS 2017. Project build on server results in…
0
votes
1 answer

MSBuild extensionpack Copy all the contents of a Directory to another

I am using MSBuild extensionpack. I'd like to copy the entire contents of the build directory to another directory on the file system. I do not want to rename the destination directory, just replace the contents. It could be my unfamiliarity with…
aceinthehole
  • 5,122
  • 11
  • 38
  • 54
0
votes
2 answers

MSBuild - Run an alternative task if a task fails

I have an AfterBuild task which signs the dll using signtool.exe via the NuGet package MSBuild.ExtensionPack
Shevek
  • 3,869
  • 5
  • 43
  • 63
0
votes
2 answers

NUnit Extension Pack task stop after failed tests

I am running msbuild nunit task from extension pack that has 1 test which fails:
nerlijma
  • 935
  • 1
  • 9
  • 24
0
votes
1 answer

T-SQL and MSBUILD - xml indents and line breaks

i'm using msbuild for some automation. One of the task is sql query to get xml representation of table and write it to file. So i'm using
lavrik
  • 1,456
  • 14
  • 25
0
votes
1 answer

Apply an MSBuild effect across multiple projects in a solution

I've got the AssemblyInfo feature of the MSBuild Extension Pack working, so that my assemblies description and file version have the details I want in the code below ... But I want to apply this effect across every project in a 50+ project…
SteveC
  • 15,808
  • 23
  • 102
  • 173
0
votes
0 answers

MSBuild ExtensionPack not found

I have installed the MSBuild.ExtensionPack (From CodePlex) on our BuildServer, but when a build triggered by a Build definition I get the message: "error MSB4019: The imported project "C:\Program…
Mr E
  • 45
  • 1
  • 5
0
votes
2 answers

Deploy build via ftp MsBuild task

I am trying to automate the ftp upload of a build after local publihsing and file transformation. I've had a look at the http://www.msbuildextensionpack.com/help/4.0.7.0/Index.html ftp msbuild task but it only appears to upload files if they are 1…
johnstaveley
  • 1,400
  • 1
  • 22
  • 46
0
votes
1 answer

MSBuild - MsBuildExtensionPack starting windows service with delay

I am using MSBuild task to start a windows service. I am using following code: MSBuild.ExtensionPack.Computer.WindowsService TaskAction="Start" ServiceName="AppServices" ContinueOnError='false'/> If I start the service I am getting following…
0
votes
1 answer

Set property in a separate file

I have an XML file that is storing a GUID as a property and I would like to set this property value from another XML file. I noticed Msbuild might be able to do it. I figured out how to read this property, but I'm having trouble actually setting a…
Brundle
  • 171
  • 1
  • 4
  • 15
0
votes
1 answer

Executing MSBuild ExtensionPack tasks inside visual studio

I have created a .target file to be imported into .csproj files. This target file imports MSBuild.ExtensionPack.tasks. When run from the commandline the ExtensionPack task gets executed fine, but if I run the build from inside visual studio the…