From 75783054dc3c38c5ca407382ca8fc8c588f60184 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sat, 25 Jul 2020 14:39:19 +0200 Subject: [PATCH] Move ILSpy distribution to subfolder inside VSIX. --- ILSpy.AddIn/Commands/OpenILSpyCommand.cs | 2 +- ILSpy.AddIn/ILSpy.AddIn.csproj | 40 ++++++++---------------- ILSpy.AddIn/ILSpyInstance.cs | 2 +- 3 files changed, 15 insertions(+), 29 deletions(-) diff --git a/ILSpy.AddIn/Commands/OpenILSpyCommand.cs b/ILSpy.AddIn/Commands/OpenILSpyCommand.cs index 1d569193a8..cf2d65768e 100644 --- a/ILSpy.AddIn/Commands/OpenILSpyCommand.cs +++ b/ILSpy.AddIn/Commands/OpenILSpyCommand.cs @@ -50,7 +50,7 @@ protected virtual void OnBeforeQueryStatus(object sender, EventArgs e) protected string GetILSpyPath() { var basePath = Path.GetDirectoryName(typeof(ILSpyAddInPackage).Assembly.Location); - return Path.Combine(basePath, "ILSpy.exe"); + return Path.Combine(basePath, "ILSpy", "ILSpy.exe"); } protected void OpenAssembliesInILSpy(ILSpyParameters parameters) diff --git a/ILSpy.AddIn/ILSpy.AddIn.csproj b/ILSpy.AddIn/ILSpy.AddIn.csproj index 1cf8c6a093..b4d2288bff 100644 --- a/ILSpy.AddIn/ILSpy.AddIn.csproj +++ b/ILSpy.AddIn/ILSpy.AddIn.csproj @@ -51,10 +51,15 @@ - + + + false + false + + @@ -101,38 +106,19 @@ - - - - - - - - - - - - - - - - - - - - - - - + + true + \ + + - + true - \ + \ILSpy - diff --git a/ILSpy.AddIn/ILSpyInstance.cs b/ILSpy.AddIn/ILSpyInstance.cs index adf922328f..b8c04bd140 100644 --- a/ILSpy.AddIn/ILSpyInstance.cs +++ b/ILSpy.AddIn/ILSpyInstance.cs @@ -32,7 +32,7 @@ public ILSpyInstance(ILSpyParameters parameters = null) static string GetILSpyPath() { var basePath = Path.GetDirectoryName(typeof(ILSpyAddInPackage).Assembly.Location); - return Path.Combine(basePath, "ILSpy.exe"); + return Path.Combine(basePath, "ILSpy", "ILSpy.exe"); } public void Start()