diff options
author | Benoit Foucher <benoit@zeroc.com> | 2018-07-20 15:25:35 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2018-07-20 15:25:35 +0200 |
commit | 3429f150867c36d85fe87ada08cd62979ebe28be (patch) | |
tree | 94ec7ffd16d15c6f28721280a7f224ce8037d287 /scripts/IceBoxUtil.py | |
parent | Removed unused IceTestsTargetFrameworks property from C# ice.proj (diff) | |
download | ice-3429f150867c36d85fe87ada08cd62979ebe28be.tar.bz2 ice-3429f150867c36d85fe87ada08cd62979ebe28be.tar.xz ice-3429f150867c36d85fe87ada08cd62979ebe28be.zip |
Fixed C# IceBox/admin test to build service against netstandard2.0 framework
Diffstat (limited to 'scripts/IceBoxUtil.py')
-rw-r--r-- | scripts/IceBoxUtil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/IceBoxUtil.py b/scripts/IceBoxUtil.py index af43b853727..021aa1aec07 100644 --- a/scripts/IceBoxUtil.py +++ b/scripts/IceBoxUtil.py @@ -28,11 +28,11 @@ class IceBox(ProcessFromBinDir, Server): if isinstance(mapping, CSharpMapping) and current.config.dotnetcore: configFile = self.configFile.format(testdir=current.testsuite.getPath()) with open(configFile, 'r') as source: - netcoreapp = mapping.getTargetFramework(current) + framework = mapping.getLibTargetFramework(current) newConfigFile = configFile + ".netcoreapp" with open(newConfigFile, 'w') as target: for line in source.readlines(): - target.write(line.replace("\\net45\\", "\\netstandard2.0\\{0}\\".format(netcoreapp))) + target.write(line.replace("\\net45\\", "\\netstandard2.0\\{0}\\".format(framework))) current.files.append(newConfigFile) def getExe(self, current): |