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
1
vote
0 answers

Publish nUnit test results to TFS build server?

I'm using MSBuild Community Tasks to do automated unit testing on my TFS build server like this: When I queue a build in…
recursive
  • 83,943
  • 34
  • 151
  • 241
1
vote
1 answer

Dropbox folder name with parenthesis and Visual Studio 2013

I am getting errors building a project that is in my dropbox folder. This happened recently when I linked my work dropbox and the path has parenthesis that is placed there by dropbox. I tried renaming the dropbox directory. I am certain that this is…
Michael
  • 239
  • 3
  • 9
1
vote
1 answer

Is there a way to do an SVN switch command with MSBuild Community Tasks?

Does anyone know how to issue an svn "switch" command with the Msbuild.Community.Tasks.Subversion toolset? I want to switch my working copy from trunk to tags.
end-user
  • 2,845
  • 6
  • 30
  • 56
1
vote
1 answer

FTP Credentials for MSBuild.ExtensionPack.Communication.Ftp

In my AfterBuild script I use the following method to upload the files to the deployment…
1
vote
1 answer

The directory name is invalid using msbuild FtpUploadDirectoryContent

i am working on msbuild scripts and getting below error message The "FtpUploadDirectoryContent" task failed unexpectedly. error MSB4018: System.IO.IOException: The directory name is invalid. my scripts is
user2794660
1
vote
1 answer

Programmatic project build fails due to third-party build task

I've set up a web application project with an additional post-build step to zip some resulting files for release builds. To do this, I've added the MSBuild Community Tasks NuGet package. This works fine when I build within Visual Studio, and I've…
Sam
  • 40,644
  • 36
  • 176
  • 219
1
vote
1 answer

MSBuild.Community.Tasks.Unzip fails on content file with 0 KB size

I was trying to extract a compressed file (*.zip) using MSBuild.Community.Tasks.Unzip. But, since my compressed file contains some files with 0 KB size, by that reason it is failing with the following error: error MSB4018: The "Unzip" task failed…
RinoTom
  • 2,278
  • 2
  • 26
  • 40
1
vote
3 answers

Xslt task not working as expected

I have an XSLT transform that I developed in VS. It works great when I use VS to run it (via XML->Show Xslt Output). However, when I execute it via the MsBuildCommunityTasks Xslt task I get wildly different results. Specifically, the output is only…
Josh Buedel
  • 1,853
  • 16
  • 41
1
vote
1 answer

MSBuild: Unable to find the path

I am using following script within my build file. I have installed MSBuildExtensionPack on the build server.
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
1
vote
1 answer

Is it possible to access files stored in TFS’s source control from the TFSBuild.proj file before the “Get” build task?

I’m using a few custom MSBuild tasks that are checked into source control. I would like to import these tasks into my TFSBuild.proj file that TFS uses to build the project. Right now I have created a 2nd project file that includes all of the uses of…
Jason
  • 3,736
  • 5
  • 33
  • 40
1
vote
2 answers

Cruise Control.NET File Merge NUnit File - Getting XmlException

I am new to Cruise Control. I'm running a project where I use an MSBuild file to build my project. I'm using the NUNit task in the MSBuild Community Tasks project to run all of my unit tests and output an xml file with the test results with this…
1
vote
1 answer

XmlMassUpdate - how NOT to add xmlns?

I'm using Nightly build 1.3.0.477 of MSBuild Community Tasks and I'm having problem with XmlMassUpdate. Here's what I want to do: for each project, if it does not reference CommonAssemblyInfo.cs file, add that reference. I'm doing it like…
Krzysztof Kozmic
  • 27,267
  • 12
  • 73
  • 115
1
vote
1 answer

AppController error: Index out of bounds

I overrode the following target in my TFS build file to run various tasks that set up databases, import data, etc., etc. in Visual Studio 2008 - the aim was to stop only the website associated with an application pool on the server instead of…
Jooeun Lee
  • 331
  • 4
  • 18
1
vote
1 answer

msbuild Assembly number - Get wrong number

I have the following code in my CommonAssemblyInfo.cs using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("XXXX")] [assembly: AssemblyProduct("BuildVersionTest")] [assembly:…
1
vote
1 answer

MSBuild.Community.Tasks Unzip task makes console output bloat

I use the following code to unzip archive with MSBuild Community Task Unzip: text.zip contains one file text.txt, its size is 716…
sergtk
  • 10,714
  • 15
  • 75
  • 130