diff options
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index 0d600562b35..2c931ed1d37 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -3549,8 +3549,8 @@ class CSharpMapping(Mapping): else: path = os.path.join(current.testcase.getPath(current), current.getBuildDir(exe)) - useDotnetExe = current.config.dotnetcore and \ - (current.config.testTargetFramework in ["netcoreapp2.1"] or process.isFromBinDir()) + useDotnetExe = ((process.isFromBinDir() and current.config.testTargetFramework != "net45") + or current.config.testTargetFramework in ["netcoreapp2.1"]) command = "" if useDotnetExe: command += "dotnet " |