Top "Msbuild-task" questions

MSBuild tasks give the MSBuild platform the ability to execute any number of actions during the build process.

MSBuild error MSB3021: Unable to copy file. Could not find file 'obj\Release\myWebProject1.dll'

When using TeamCity to compile my MSBuild XML task script, it fails with this: [10:43:03]: myWebProject1\ myWebProject 1 .csproj (3s) [10:43:07]: [ myWebProject1\ myWebProject1 .…

.net .net-4.0 msbuild teamcity msbuild-task
MSBuild Task syntax for deleting files

I'm trying to write a MSBuild Task that deletes the Obj directory and PDBs from my bin folder on my …

msbuild msbuild-task
How to change Assembly Version Number using AssemblyInfoTask?

I am trying to automate the process for setting the Version for all DLL's, after spending some time I came …

msbuild msbuild-task
Using MSBuild to Build Multiple Configurations

I'm trying to edit my project file to enable me to have a project that builds multiple build configs at …

msbuild msbuild-task buildconfiguration
MSBuild task configuration property

I have three Visual Studio solutions. The first is configured to build as Release, and the other two are set …

msbuild msbuild-task
How get exec task output with msbuild

I'm trying to get simple output by exec task with msbuild: <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&…

msbuild exec msbuild-task
How to resolve "Install-Package : The current environment doesn't have a solution open."

I have a solution having 1 project. Open Package Manager Console, run Install-Package MSBuildTasks But it gave me an error below: …

visual-studio visual-studio-2012 nuget-package msbuild-task
how to replace string in file using msbuild?

I want to replace a string such "how r u" in file test.xml with a string "i am fine" …

msbuild msbuild-task msbuild-propertygroup msbuild-buildengine
Is a separate Visual Studio license required for a build machine?

I know that some companies allow you to install their products on build machines as required without requiring a separate …

visual-studio msbuild msbuild-task vdproj
Is there any MSbuild task to check if a string contains another string (similar to string.contains)

I have this Msbuild code: <Import Project="A.proj" Condition="$(BuildDefinition) =='Dist Staging to Dev' Or $(BuildDefinition) =='Dist Staging …

msbuild msbuild-task