msbuild-batching

Transforming multiple config files for multiple projects via MsBuildProj file

帅比萌擦擦* 提交于 2019-12-06 10:27:49
问题 I am trying to run multiple commands on a list of files based on a pattern (all files of form *.config under sub directories of a given directory), like so: <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="BuildSolution" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll" /> <PropertyGroup> <Configuration Condition=" '$

Transforming multiple config files for multiple projects via MsBuildProj file

寵の児 提交于 2019-12-04 17:54:34
I am trying to run multiple commands on a list of files based on a pattern (all files of form *.config under sub directories of a given directory), like so: <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="BuildSolution" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>