From 4b1d3f776fd6886a28312c2034d3a8ede7fafc7b Mon Sep 17 00:00:00 2001 From: spx Date: Mon, 25 Mar 2013 21:39:11 +0900 Subject: [PATCH] DllExporter: Tweaks --- Plugins/API/DllExporter/Program.cs | 8 ++++++-- Plugins/PluginInputText/PluginInputText.csproj | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Plugins/API/DllExporter/Program.cs b/Plugins/API/DllExporter/Program.cs index 3920866a..9b2eef52 100644 --- a/Plugins/API/DllExporter/Program.cs +++ b/Plugins/API/DllExporter/Program.cs @@ -48,8 +48,12 @@ namespace DllExporter ildasmPath = Environment.ExpandEnvironmentVariables(@"%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.0A\Bin\ildasm.exe"); if (!System.IO.File.Exists(ildasmPath)) { - Console.WriteLine("DllExporter error: ildasm.exe not found"); - return 1; + ildasmPath = Environment.ExpandEnvironmentVariables(@"%ProgramFiles(x86)%\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\ildasm.exe"); + if (!System.IO.File.Exists(ildasmPath)) + { + Console.WriteLine("DllExporter error: ildasm.exe not found"); + return 1; + } } } diff --git a/Plugins/PluginInputText/PluginInputText.csproj b/Plugins/PluginInputText/PluginInputText.csproj index a7efe612..903d8a51 100644 --- a/Plugins/PluginInputText/PluginInputText.csproj +++ b/Plugins/PluginInputText/PluginInputText.csproj @@ -110,6 +110,6 @@ --> - "$(SolutionDir)Plugins\API\DllExporter.exe" "$(ConfigurationName)" "$(PlatformName)" "$(TargetDir)\" "$(TargetFileName)" "$(TargetedFrameworkDir)\ilasm.exe" "$(FrameworkSDKDir)bin\ildasm.exe" + "$(SolutionDir)Plugins\API\DllExporter.exe" "$(ConfigurationName)" "$(PlatformName)" "$(TargetDir)\" "$(TargetFileName)" \ No newline at end of file