summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-12-29 21:01:16 +0100
committerJose <jose@zeroc.com>2016-12-29 21:01:16 +0100
commit54941beff80f3ebab2b15af4609c7ec8bc0d941e (patch)
treebdd4eb6573f5c4673c2129cc2eb616b1188fc543 /scripts/Util.py
parentJavaScript Ice.Long fixes and improvements (diff)
downloadice-54941beff80f3ebab2b15af4609c7ec8bc0d941e.tar.bz2
ice-54941beff80f3ebab2b15af4609c7ec8bc0d941e.tar.xz
ice-54941beff80f3ebab2b15af4609c7ec8bc0d941e.zip
CSharp cleanup and fixes:
- Add EditorBrowsable(EditorBrowsableState.Never) to hidde internal public methods from Intellisense, see ICE-7448. - Remove Base64 and replace it with .NET System.Convert see ICE-7477 - Remove SysLogger as that was only used by Mono - Simplify ThreadPriority setting - Remove using statements that are not required - Normalize string, char, object spell, preferred over String, Char, Object - Shorthen qualifier names avoiding redundant scopes.
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index 34c9a5e913c..f293f30506a 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -327,11 +327,14 @@ class Windows(Platform):
cpp = isinstance(mapping, CppMapping)
csharp = isinstance(mapping, CSharpMapping)
- if iceHome and ((cpp and v140 and platform == "x64" and config == "Release") or (not csharp and not cpp)):
- return iceHome
+ if current.driver.useIceBinDist(mapping):
+ if iceHome and ((cpp and v140 and platform == "x64" and config == "Release") or (not csharp and not cpp)):
+ return iceHome
+ else:
+ return os.path.join(toplevel, mapping.name, "msbuild", "packages",
+ "zeroc.ice.{0}.{1}".format(name, version))
else:
- return os.path.join(toplevel, mapping.name, "msbuild", "packages",
- "zeroc.ice.{0}.{1}".format(name, version))
+ return os.path.join(toplevel, mapping.name)
def canRun(self, mapping, current):
#