MSBuild passing parameters to CallTarget
MSBuild targets aren’t designed to receive parameters. Instead, they use the properties you define for them. <PropertyGroup> <Environment>myValue</Environment> </PropertyGroup> <Target Name=”Deploy”> <!– Use the Environment property –> </Target> However, a common scenario is to invoke a Target several times with different parameters (i.e. Deploy several websites). In that case, I use the MSBuild MSBuild task … Read more