Comments have been closed on this page. Please use AppMon & UEM Plugins forum for questions about this plugin.
MSBuild Tasks Library
The Download Package includes an .NET Library that implements several tasks to be used by MSBuild scripts.
Following tasks can be executed:
This library makes use of the .NET Command Library.
You have to register the new Build Tasks with the UseTask configuration entry in your build scripts like this:
Each task can now be used in your targets. Following properties are available for the different tasks:
SetTestInformation (from dynaTrace 3.5 till dynaTrace 6.0)
StartTest (from dynaTrace 6.1)
StartTest task registers a new test run in dynaTrace and sets the DT_TESTRUN_ID environment variable picked up by the .NET agent. Tests should be executed after this is made so that the agent sees the environment variable and will use it when reporting data back to dynaTrace.
The Library uses the dynaTrace.Command.dll which is installed with the dynaTrace Client. dynaTrace.Command.dll uses the dynaTrace Web Service interfaces. For every dynaTrace.Command.dll call the library creates an EventLog Entry with detailed information about the command line arguments that were passed. This should help with troubleshooting.
The task ConfigureApplicationTask needs write access to the HKLM Registry on your local machine. In case your user does not have the appropriate access rights you will run into errors.
The download package includes a sample msbuild file. Check it out for a reference
An additional sample can be seen here: VSTS Sample Test Project
This page refers to a VSTS Sample Test Project, but no such attachment exists.
Have you gotten a reply to this?
I think the broken link should lead to this page: VSTS Sample Test Project (I just fixed it).Hope that helps.
Please note that a sample build script is also included in the library archives, the file is called sample_msbuild.xml.
Best regards,Wiktor Bachnik