How can I specify output directory when I create DeploymentItem in testsettings? It is easy when you apply DeploymentItem attribute to method or class (there is a special constructor parameter) but I don't see a way to apply it in testsettings (and even UI doesn't contain anything like this).
相关问题
- Generic Generics in Managed C++
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- How to Debug/Register a Permanent WMI Event Which
- Visual Studio 2019 - error MSB8020: The build tool
Try editing the testrunconfig file either from VS or using an XML editor - right-click and choose open with and add a line like this one:
In visual studio 2010:
Close Visual Studio 2010
Go to your project root directory in windows explorer Open the .testsettings file Locate this line:
change it to the output directory that you want:
Start Visual Studio 2010 again :-)
For Visual Studio 2012:
http://msdn.microsoft.com/en-us/library/ee256991.aspx
Upgrading from 2010 to 2012: http://msdn.microsoft.com/en-us/library/hh507838.aspx