Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcoltheart committed Dec 16, 2024
1 parent eab4de6 commit 85edd13
Show file tree
Hide file tree
Showing 37 changed files with 1 addition and 1,958 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public AssemblyPath Compile(string code, params string[] references)
parameters.ReferencedAssemblies.AddRange(new []
{
"System.dll",
"Machine.Specifications.Core.dll",
"Machine.Specifications.dll",
"Machine.Specifications.Should.dll",
"netstandard.dll"
});
Expand Down
5 changes: 0 additions & 5 deletions src/Machine.Specifications.Runner.Utility/AppDomainRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,18 +154,13 @@ private ISpecificationRunner CreateRunnerInSeparateAppDomain(AppDomain appDomain
}

var mspecAssemblyFilename = Path.Combine(path, "Machine.Specifications.dll");
var coreAssemblyFilename = Path.Combine(path, "Machine.Specifications.Core.dll");

AssemblyName mspecAssemblyName = null;

if (File.Exists(mspecAssemblyFilename))
{
mspecAssemblyName = AssemblyName.GetAssemblyName(mspecAssemblyFilename);
}
else if (File.Exists(coreAssemblyFilename))
{
mspecAssemblyName = AssemblyName.GetAssemblyName(coreAssemblyFilename);
}

if (mspecAssemblyName == null)
{
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 85edd13

Please sign in to comment.