Top "Msbuild-task" questions

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

MSBuild ItemGroup with condition

I don't know if ItemGroup is the right type to use. I will get 4 different booleans that will be true …

msbuild msbuild-task msbuild-4.0 msbuildcommunitytasks msbuildextensionpack
MSBuild UsingTask Resolve References

I feel like I've fixed this before, but I can't remember how. I have a tasks file that looks like …

msbuild msbuild-task
Confirm that the <UsingTask> declaration is correct

We have downloaded a project from TFS and after restoring Nuget packages we are getting below error: Error 5 The "ValidatePackageReferences" …

build msbuild msbuild-task nuget-package-restore
How to pass TFS variable to a MSBuild task of the project

I have a solution which is built on TFS server. This solution includes several projects which have custom MSBuild tasks. …

tfs msbuild msbuild-task
How can I use MSBuild Copy Task to Copy To Multiple Destination Folders?

I'm trying to copy a folder recursively to multiple destination folders using MSBuild's Copy task. I've seen the following question …

msbuild msbuild-task
MSBuild: Run target after solution builds from within Visual Studio

We have a solution with several projects in it, and need to run a tool on our compiled code after …

visual-studio msbuild msbuild-task
Honoring exit codes from batch files invoked by msbuild

I have a batch file that is using the exit command to return an exit code. This batch file may, …

msbuild batch-file msbuild-task
Running MSTest UnitTests using a MSBuild Script

Could you please guide me how to run MSTest unit tests using an MSBuild script.

.net msbuild mstest msbuild-task vs-unit-testing-framework
"File has a different computed hash than specified in manifest" error when signing the EXE

My ClickOnce installation fails with an error: File, WindowsFormsProject.exe, has a different computed hash than specified in manifest. I …

c# msbuild clickonce msbuild-task
Passing array to custom MSBuild task

I thought this would be quite simple but then realised that I couldnt find any information on it anywhere. I …

c# msbuild msbuild-task