i have three assemblies (class libraries) in my solution: the first one contains classes only (1), the second one contains the interfaces (2) and the third one works as a plugin (3) for 1 (implementing the interfaces from 2). at design-time 1 only references 2; i then have a post-build command that copies the binary from 3 to the bin-folder of 1 (2 gets copied anyway because of the reference). that works fine using my app normally.
but when i run a unit-test for 1 the plugin 3 is not found. i checked the log and saw that the assemblies are shadow-copied to some temp folder in the users application data directory. that's a good thing, but unfortunately only the referenced assemblies are copied (in my case 1 and 2). i would expect that all assemblies in the bin-folder of the tested project are copied and therefore consider this to be a bug. or am i doing something wrong
btw: i tried to add the file (or directory) to the deployment path in the testrunconfig, but that didn't change anything - so what's that to be good for

Additional binaries don't get shadow-copied
Ewa
Leo Huang
Dev, VSTS
vikassony
Not all files under bin folder are deployed. But the files specified in deployment page of test run config should be deployed. Please verify that the right test run config is selected as the active one. If this still does not work for you, please open a bug on MSDN.
Another way to deploy a file is through the deployment item property of a test. Select your test in test view or test manager, open property window, enter your file path for Deployment Items, and then you will have the file deployed for you.
Thanks,
Leo Huang
Dev, VSTS
GeoffMF
the testrunconfig was not marked as "activ"; no idea how it got lost. had to select it and restart vs (!) before it worked...