From aadfc7fc42db324e4198711a2d6d250b5ac03fb0 Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Fri, 17 Jan 2014 22:59:56 -0700 Subject: [PATCH] DllExporter: Fixed issue with x64 builds. --- Build/DllExporter/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/DllExporter/Program.cs b/Build/DllExporter/Program.cs index d9ad841c..4b56fda4 100644 --- a/Build/DllExporter/Program.cs +++ b/Build/DllExporter/Program.cs @@ -195,10 +195,10 @@ namespace DllExporter /// private static string FindIldasmPath() { - var sdkPath = Environment.ExpandEnvironmentVariables(@"%ProgramFiles%\Microsoft SDKs\Windows\"); + var sdkPath = Environment.ExpandEnvironmentVariables(@"%ProgramFiles(x86)%\Microsoft SDKs\Windows\"); if (!Directory.Exists(sdkPath)) { - sdkPath = Environment.ExpandEnvironmentVariables(@"%ProgramFiles(x86)%\Microsoft SDKs\Windows\"); + sdkPath = Environment.ExpandEnvironmentVariables(@"%ProgramFiles%\Microsoft SDKs\Windows\"); } if (!Directory.Exists(sdkPath))