MSBuild Integration SortSite Developer Manual
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
To test build outputs using SortSite Developer with MSBuild:
- Make sure the built app or site is available via an HTTP server (e.g.
http://localhost/build-output
orhttp://your-staging-server/
) - Create a SortSiteCmd configuration file setting
ProcessURL
to the build output URL setup in the previous step - To flag a build failure when any issues are detected, set the
ExpectedResults
element in the XML configuration file - Add an MSBuild task similar to this:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<TestConfig Include="*.ssconfig"/>
</ItemGroup>
<Target Name="TestSite">
<Exec Command='"c:\Program Files (x86)\PowerMapper Software\SortSite 6\SortSiteCmd.exe" %(TestConfig.Identity)'/>
</Target>
</Project>