The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DeploymentItemAttribute Constructor (String^, String^)
Initializes a new instance of the DeploymentItemAttribute class. Use the path parameter to specify the path to a file or directory to deploy, and the outputDirectory parameter to specify the path to the output directory.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Parameters
- path
-
Type:
System::String^
The relative or absolute path to the deployment item or directory to deploy.
- outputDirectory
-
Type:
System::String^
The path to the output directory. This contains all items and directories identified by path. This directory will be relative to the directory that contains the deployed test assemblies.
The relative path setting is found in the RelativePathRoot setting found in the .testrunconfig file.
For test deployment, deployment items are copied from the directory specified by path to the directory specified by outputDirectory.
Show: