Using The TestResultsRoot Property Correctly In SharePoint Builds
The TestResultsRoot property which is responsible for acting as the storage medium or test results is a powerful property when constructing SharePoint builds. A common mistake that is made is when copying a SharePoint assembly to the output folder of a Unit Test during a custom Build that property will appear invalid.
The solution for this is fairly straightforward, because 9 times out of 10 it comes down to the property being accessed out of the build scope. To correct it, simply adjust the Target element to be dependent on the BeforeTest target:
-
<Target Name="CopyFiles" DependsOnTargets="BeforeTest">
-
</Target>
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URL























Articles & Research
SharePoint Architecture
Personal/Off-Topic
Article Or Research Filed Under 
