This project is read-only.
<!--
  Sample project file demonstrating the use of the SplitText task.
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" 
		 DefaultTargets="Demo">

	<UsingTask AssemblyFile="$(MSBuildExtensionsPath)\Sedodream\Sedodream.MSBuild.Tasks.dll" 
			TaskName="SplitText"/>

	<PropertyGroup>
		<SampleText>One;Two;Three;Four;Five</SampleText>
	</PropertyGroup>

	<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
	<Target Name="Demo">

		<SplitText Text="$(SampleText)" Seperator=";">
			<Output ItemName="ResultText" TaskParameter="Result"/>
		</SplitText>

		<Message Text="Original text: $(SampleText)"/>
		<Message Text="Replaced text:%0a%0d@(ResultText,'%0a%0d')"/>
	</Target>

</Project>

Last edited Jun 26, 2007 at 5:17 AM by sayed_hashimi, version 1

Comments

No comments yet.