Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
titleTestProject.Tests.csproj
<?xml version="1.0" encoding="utf-8"?>
<Project ...  >
...
  <PropertyGroup>
    <ExternalDependencies>lib\Plugins\TestPlugin\DeltaShell.Plugins.TestPlugin</ExternalDependencies>
    <ExternalDependencies1>lib\Plugins\TestPlugin\DeltaShell.Plugins.TestPluginA</ExternalDependencies1>    
    <ExternalDependencies2>lib\Plugins\TestPlugin\DeltaShell.Plugins.TestPluginB</ExternalDependencies2>
    ...
  </PropertyGroup>
</Project>

Note: In general, the Platform Target in the project properties Build tab should be 'Any CPU'. However, if your test loads plugins that on their turn load native DLL's, you may get a System.BadImageFormatException when running the test. In that case, the Platform Target in your test project should be set to x86 (take care to do this for 'All Configurations').