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

Can't find xsd.exe in the path during MSBuild Community Tasks BeforeBuild step in Visual Studio

I am using MSBuild Community Tasks to run Xsd.exe as part of my build in Visual Studio as thus:
Neo
  • 4,145
  • 6
  • 53
  • 76
0
votes
0 answers

Is there any MsBuild property $(???) for Unit Test executions?

I am trying to assign a condition to a "Target", With the intention of evaluating whether the compilation is produced by the test run or not img Run All Tests img Singel Test But, I do not know what property to use $(?????)
0
votes
2 answers

Hiding image target?

How to hide image target while objects get detected in unity using VuforiaAPI There is only one answer I found but didn't know how to implement it. "Take a look at our Occlusion Management sample. The effect that you're looking for requires a shader…
0
votes
1 answer

Zip all folders in MSBuild

I can zip an explicit list of folders like this: Foo Bar
Peter
  • 3,322
  • 3
  • 27
  • 41
0
votes
1 answer

UseHostCompilerIfAvailable False causes an "One or more types required to compile a dynamic expression cannot be found" error

The C# dynamic type seems not to compile when UseHostCompilerIfAvailable is set to false. I have both the required references Microsoft.CSharp and System.Core in my project, but it refuses to recognize it. Using the integrated Visual Studio compiler…
user193476
0
votes
0 answers

MSBuild task to clone Git repository

I have recently moved my SVN repositories to Git. One of the project using MSBuild to checkout SVN repository during the build process. Now I need to clone Git repository instead of SVN during the build process. I came cross the library…
Chinthaka
  • 966
  • 1
  • 13
  • 42
0
votes
1 answer

Wrong XPath for Package.appxmanifest (XML)

I need change my app manifest in app building process and I try to use a MSBuildCommunityTasks for this. Target what I use looks like:
ukod
  • 149
  • 2
  • 9
0
votes
2 answers

Using MSBuild task for ftp a directory in TFS 2010

Is there any tutorial to show how can I use MSBuild tasks like FtpUploadDirectoryContent to copy file/directory to a remote host using FTP in Team Build 2010? I never used a MSBuild task in TFS 2010.
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
0
votes
1 answer

How to use MSBuild Community Tasks in Team Build 2010?

How to use MSBuild Community Tasks in Team Build 2010? As you know TFS 2010 uses Windows Work Flow instead of Tasks and Target like previous version. Many Thanks
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
0
votes
1 answer

Intermittent BadImageFormatException building "plugin" DLL on PC or via TFS build

I have an application where several of the assemblies are built separately from the main application. At run-time they live in a folder outside the main BIN folder and loaded by the main application using Assembly.LoadFrom. In the VS project for…
0
votes
1 answer

How to provide password to MSBUILD runtime and use that in Powershell script

I want MSBUILD show a POPup to enter password during/before execution of build definition.I want to pass this password to powershell script I will be running as part of MSBuild definition. I already implemented a scenario where password is encrypted…
0
votes
2 answers

MSBUILD script should zip all assemblies in solution after build, but only gets some DLLs (under local and TFS build)

I want to set up my VS solution so at the end of the build, the installable files are zipped up for easy distribution. This should work under either a local build, or a TFS build. This is set up as follows: There is one project (called…
Laurence
  • 980
  • 12
  • 31
0
votes
1 answer

How to propertly reference a namespace for Microsoft.Sdc.Tasks.XmlFile.GetValue

i want to use MSBuild to insert a custom xml element into web.config. After looking up online, i found such solution: 1) Store element in the .build file in projectextensions ... …
æther
  • 232
  • 3
  • 11
0
votes
1 answer

The "Copy" task could not be initialized with its input parameters

Team, I am trying to migrate a .NET framework 2.0 targetting solution to .NET 4.0 . I am facing a problem while i am doing a build. The error is as such C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2869,13): error…
0
votes
1 answer

How can I change multiple files with XMLUpdate?

I'm using XMLUpdate to update multiple config files in subdirectories. I thought I would be able to do something like this:
Piers Karsenbarg
  • 3,105
  • 5
  • 31
  • 67
1 2 3
9
10