Questions tagged [msbuildcommunitytasks]

The MSBuild Community Tasks Project is an open source project for MSBuild tasks.

The MSBuild Community Tasks Project is an open source project for MSBuild tasks.

https://github.com/loresoft/msbuildtasks

145 questions
7
votes
3 answers

TeamCity's AssemblyInfo patcher's number format

I once had TeamCity + WiX + MSBuild Community Tasks working. Now that I've upgraded to WiX 3.5, I can't remember how I had configured it. :) As I was poking through TeamCity, I came across the "AssemblyInfo Patcher". I thought, "Great! This…
Dave
  • 14,618
  • 13
  • 91
  • 145
7
votes
2 answers

MS Build copy a list of directories stored in Item

I have a text file which contains some locations of the files which I want to copy to a temp directory ---- List.txt ---- Build\Java Build\Classes Now, I am fetching this list into an Item
Arpit
  • 6,212
  • 8
  • 38
  • 69
6
votes
1 answer

Avoiding local dependencies for MSBuild Community Tasks within Visual Studio 2010

I'm trying to start taking advantage of the MSBuild Community Tasks so right after installing the .msi package I've imported MSBuild.Community.targets within the element this way:
Nano Taboada
  • 4,148
  • 11
  • 61
  • 89
6
votes
1 answer

The "MSBuild.Community.Tasks.FileUpdate" task could not be loaded

My msbuild definition looks like this:
Oblomov
  • 8,953
  • 22
  • 60
  • 106
6
votes
1 answer

Moving a file in MSBuild using relative path

I'm trying to move all files of a certain type to a directory relative to the file itself and I'm wondering if it's possible using MSBuild. Basically, I'm using the Microsoft AJAX Minifier to minify all Javascript and CSS files on my site. This…
hackerhasid
  • 11,699
  • 10
  • 42
  • 60
6
votes
1 answer

error MSB6006: "svnversion.exe" exited with code 1

I am trying to get revision number from svn to put on my AssemblyInfo.cs file. I already made that on my computer and works fine. But when I use hudson to build and deploy my application automatically on server then this error appears. Anyone knows…
Valter Júnior
  • 948
  • 7
  • 19
6
votes
3 answers

tf.exe on tfspreview

I need to get the ChangeSetId in tfspreview for our continuous integration. I just need this single number nothing else. I tried all possible MSBuild tasks that I could find, but there is always another smaller issue stopping me. For…
zebra
  • 1,330
  • 1
  • 13
  • 26
6
votes
4 answers

MSBuild: adding/copying empty folders via Zip/Copy task

I'm trying to create copy/zip a pre-compiled site which is contains empty folders(after pre-compilation). Looks like empty folders is not included to the list of items after CreateItem task. How I can care of empty folders? thanks
Sergey
  • 61
  • 1
  • 3
5
votes
1 answer

Editing Project Properties for Publish Version in team build

i have a nightly build in my TFS server that runs every night and is working completely fine. we plan to create a clickonce application as well which is currently working fine except the publish version (ApplicationVersion) which we want to…
Fabulist
  • 53
  • 3
5
votes
1 answer

How best to update an XML node in MSBuild

I have been using the Tigris community tasks to update various AppSettings keys using the XMLUpdate task. Now, however I want to add a node to the system.net section to set up the proxy. I declared a property
Dean
  • 5,896
  • 12
  • 58
  • 95
5
votes
2 answers

TeamCity + WiX + MSBuild workflow suggestions needed

I've been working on the next step of my continuous integration project, which is to get TeamCity to build my application, automatically change the version number of all assemblies, and then create an installer. A little background first: I've been…
Dave
  • 14,618
  • 13
  • 91
  • 145
5
votes
1 answer

Do the MSBuild Community Tasks or Extension Pack work with Mono's xbuild?

Has anyone got the MSBuild Community Tasks or MSBuild Extension Pack working with Mono's xbuild? They both seem to have MSI installer, so I guess it's a case of manually transferring the files to the Mac (in my case)? If anyone's done it, I'd…
dommer
  • 19,610
  • 14
  • 75
  • 137
5
votes
0 answers

MSBuild failing to find assembly following upgrade to VS2015

We have a build script which uses MSBuild to build our solution. It has worked fine for VS2013, but it has broken since we installed VS2015 and upgraded. Initially, it failed with this error: C:\Program Files…
5
votes
2 answers

MSBuildTasks and NuGet - How can I restore MSBuild.Community.Tasks.dll?

I have a project which has a NuGet package called MSBuildTasks installed. It installs two files: MSBuild.Community.Tasks.targets and MSBuild.Community.Tasks.dll to the .build directory within the solution directory. This package reference has been…
4
votes
2 answers

MSBuild community task GacUtil silently failing for me

I have an open source .NET project whose main artefact is a DLL that needs to be installed to the GAC for its primary use case. Therefore I want to install it during the AfterBuild task. I am using the GacUtil msbuild task from the MSBuild Community…
Justin Dearing
  • 14,270
  • 22
  • 88
  • 161
1
2
3
9 10