How to invoke the same msbuild target twice?
问题 I have the following msbuild script: <?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> <PropertyGroup> ... </PropertyGroup> <UsingTask AssemblyFile="$(GallioTaskPath)" TaskName="Gallio.MSBuildTasks.Gallio" /> <Import Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.Targets" /> <ItemGroup> ... </ItemGroup> <Target Name="CheckServerHostsItemGroup" Condition="'$(NoServerHosts)' != True"> ... </Target>