Architecture validation during build (VSTS 2010)
-
Wednesday, December 03, 2008 1:38 PMI have created a layerdiagram in my solution. Now I need to validate it during the continuous build.
It doesn't validate automatically (btw, why doesn't it do that?)
Which build activity do I need to add, and how do I configure it?
Loek.
Answers
-
Sunday, December 07, 2008 5:37 PM
Hi loek,
I think this feature isn't fully implemented yet... you can get it working by adding a validation target to your Csproj file
<Import Project="$(ValidateTargetsPath)\Microsoft.VisualStudio.TeamArchitect.Validate.Targets" />
and change the None in validate with your layer diagram <Validate Include="xxxxxx.layer" />...
now you can create a msbuild action /t:ValidateArchitecture.
Hopeful they will make this mature ;-)
http://www.ClemensReijnen.nl- Marked As Answer by Mark_GrovesMicrosoft Employee, Moderator Friday, December 12, 2008 6:52 PM
-
Thursday, December 11, 2008 2:58 PM
Yes, Clemens is quite right. Please see my recent post on this: http://blogs.msdn.com/camerons/archive/2008/12/11/incorporate-layer-validation-in-your-builds.aspx
Hope that helps!
Cameron
Cameron Skinner- Proposed As Answer by CameronS - MSFTMicrosoft Employee Thursday, December 11, 2008 2:59 PM
- Marked As Answer by NL-Loek Thursday, December 11, 2008 7:39 PM
All Replies
-
Sunday, December 07, 2008 5:37 PM
Hi loek,
I think this feature isn't fully implemented yet... you can get it working by adding a validation target to your Csproj file
<Import Project="$(ValidateTargetsPath)\Microsoft.VisualStudio.TeamArchitect.Validate.Targets" />
and change the None in validate with your layer diagram <Validate Include="xxxxxx.layer" />...
now you can create a msbuild action /t:ValidateArchitecture.
Hopeful they will make this mature ;-)
http://www.ClemensReijnen.nl- Marked As Answer by Mark_GrovesMicrosoft Employee, Moderator Friday, December 12, 2008 6:52 PM
-
Thursday, December 11, 2008 2:58 PM
Yes, Clemens is quite right. Please see my recent post on this: http://blogs.msdn.com/camerons/archive/2008/12/11/incorporate-layer-validation-in-your-builds.aspx
Hope that helps!
Cameron
Cameron Skinner- Proposed As Answer by CameronS - MSFTMicrosoft Employee Thursday, December 11, 2008 2:59 PM
- Marked As Answer by NL-Loek Thursday, December 11, 2008 7:39 PM

