Browse Source

Fix missing dll.config file

The file only exists if there are binding redirects.
js/color-alpha-handling
James Jackson-South 6 years ago
parent
commit
e356bdecac
  1. 5
      tests/ImageSharp.Tests/TestUtilities/TestEnvironment.cs

5
tests/ImageSharp.Tests/TestUtilities/TestEnvironment.cs

@ -170,7 +170,10 @@ namespace SixLabors.ImageSharp.Tests
} }
string testProjectConfigPath = TestAssemblyFile.FullName + ".config"; string testProjectConfigPath = TestAssemblyFile.FullName + ".config";
File.Copy(testProjectConfigPath, remoteExecutorConfigPath); if (File.Exists(testProjectConfigPath))
{
File.Copy(testProjectConfigPath, remoteExecutorConfigPath);
}
if (Is64BitProcess) if (Is64BitProcess)
{ {

Loading…
Cancel
Save