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
4
votes
3 answers

is there a deploy tool (or set of tools) that supports rollback of a deployment?

I'm learning FluentMigrator. The thing that I like about FM is that it supports the idea of Forward and Back for migrations (aka Up/Down). I'm finding that it's not ideal about this; there are some holes. Still, it's good. This leads me to wonder…
jcollum
  • 43,623
  • 55
  • 191
  • 321
4
votes
1 answer

FxCop is not respecting my excludes

I am trying to incorporate FxCop directly into my build. I am using the MSBuild Community Tasks. I have a targets file like this:
justin.m.chase
  • 13,061
  • 8
  • 52
  • 100
4
votes
3 answers

Csproj file in unity changes everytime i reload the project

I want to change the 'csproj' file of my unity project in order to be able to access a specific library as this answer sugests. I am manually editing the file but every time i reload the project, the 'csproj' file returns to it's initial state. Is…
Mario
  • 767
  • 1
  • 14
  • 42
4
votes
2 answers

How to use Msbuild.Community.Tasks.Version in a csproj file

I want to use the VersionTask from the MSBuild Community Tasks to set the Revision calculation type. However, I am having difficulty understanding how to actually wire up the task within my csproj file. The project has an AssemblyInfo.cs which has…
Redeemed1
  • 3,953
  • 8
  • 38
  • 63
3
votes
5 answers

Zip using msbuild task

I try to create msbuild that will zip the build package i have those line in the msbuild file:
Alon Ashkenazi
  • 1,223
  • 4
  • 21
  • 29
3
votes
1 answer

msbuild community task and svn

I try use svn msbuild community tasks? but have next error in log: Microsoft (R) Build Engine Version 4.0.30319.1 [Microsoft .NET…
tbicr
  • 24,790
  • 12
  • 81
  • 106
3
votes
1 answer

Can't get MSBuild Community Task RegexReplace to work

I'm trying to copy a bunch of files whose names begin with the prefix DR__, but the copies must have that prefix removed. That is, DR__foo must be copied as foo. I'm trying this, which is based in the example provided in the documentation (the…
dario_ramos
  • 7,118
  • 9
  • 61
  • 108
3
votes
1 answer

How to email multiple address with MSbuild

I have a target in my build script that will send an email with an attachment detailing svn changes for a module. This works if I hard code a single email address however I now want to email multiple developers and the script is failing. Below is…
Dean
  • 5,896
  • 12
  • 58
  • 95
3
votes
2 answers

Does possibility to specify enabled protocols for web-application in IIS exist in MSBuild?

I create webdirectory in IIS, using MSBuild task: Now I look for possibility to specify…
viktor
  • 106
  • 9
3
votes
1 answer

Pass list item to Properties when calling reusable msbuild target

I'm trying to create a reusable Target in msbuild, following the basic model outlined in How to invoke the same msbuild target twice? I'm stuck trying to pass a property that I want interpreted as a list. I haven't found an example online that deals…
eddie.sholl
  • 740
  • 1
  • 6
  • 18
3
votes
3 answers

"File Not Found" in MSBuild Community Tasks -- Which File?

I'm trying to use the VssGet task of the MSBuild Community Tasks, and the error message "File or project not found" is beating me with a stick. I can't figure out what in particular the error message is referring to. Here's the…
Cyberherbalist
  • 12,061
  • 17
  • 83
  • 121
3
votes
1 answer

msbuild fileupdate setup project

I'm looking to use the fileUpdate task from msbuildtasks.tigris.org to modify image src's as part of our web setup project so that they will point to a static img sub domain (or later a CDN) I can run a task within a given project with:
steve
  • 778
  • 1
  • 8
  • 18
3
votes
2 answers

MSBuild: asterisks and strange ItemGroup Exclude behaviour

I have a script that attempts to construct an ItemGroup out of all files in a certain directory while excluding files with certain names (regardless of extension). The list of files to be excluded initially contains file extensions, and I am using…
Roman Starkov
  • 59,298
  • 38
  • 251
  • 324
3
votes
1 answer

How to create a web site with an application using MSBuild Extension Pack

What is the correct way to create a web site using the MSBuild Extension Pack? I'm trying to use the MSBuild Extension Pack to create a web site using the following target. Unfortunately I don't have the syntax correct. This target will throw an…
Jason
  • 3,736
  • 5
  • 33
  • 40
3
votes
1 answer

Assembly Version Captured Before "BeforeBuild" Target

I am using MSBuild.Community.Tasks to help with two things, namely adjusting the version and zipping up a file. I am not married to this, so an alternate approach is welcome provided it produces what I'm looking for. The goal is to increment the…
MisterJames
  • 3,306
  • 1
  • 30
  • 48
1 2
3
9 10