Permit self-contained test fixtures (#83)

This commit is contained in:
Patrick Stevens
2024-06-16 21:26:31 +01:00
committed by GitHub
parent 7f9464b826
commit 57c34e0c4c
2 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,14 @@ module DotnetRuntime =
|> Option.defaultValue RollForward.Minor
| s -> RollForward.Parse s
if
Option.isSome config.IncludedFramework
|| Option.isSome config.IncludedFrameworks
then
// No need for a framework that's anywhere other than the given DLL.
[]
else
let desiredVersions =
match config.Framework with
| Some f -> [ Version f.Version, f.Name ]