0 out of 1 rated this helpful - Rate this topic

DeploymentItemAttribute Constructor (String)

Specifies an item to be deployed before a test run starts.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
public DeploymentItemAttribute(
	string path
)

Parameters

path
Type: String

The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies.

To avoid dependency on your project structure, set the Copy to Output property of project files, and deploy them from the build output directory.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.