diff --git a/ILSpy.AddIn/GlobalSuppressions.cs b/ILSpy.AddIn/GlobalSuppressions.cs
new file mode 100644
index 000000000..a893f9d25
--- /dev/null
+++ b/ILSpy.AddIn/GlobalSuppressions.cs
@@ -0,0 +1,11 @@
+// This file is used by Code Analysis to maintain SuppressMessage
+// attributes that are applied to this project. Project-level
+// suppressions either have no target or are given a specific target
+// and scoped to a namespace, type, member, etc.
+//
+// To add a suppression to this file, right-click the message in the
+// Error List, point to "Suppress Message(s)", and click "In Project
+// Suppression File". You do not need to add suppressions to this
+// file manually.
+
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1017:MarkAssembliesWithComVisible")]
diff --git a/ILSpy.AddIn/Guids.cs b/ILSpy.AddIn/Guids.cs
new file mode 100644
index 000000000..81a82ad11
--- /dev/null
+++ b/ILSpy.AddIn/Guids.cs
@@ -0,0 +1,14 @@
+// Guids.cs
+// MUST match guids.h
+using System;
+
+namespace ICSharpCode.ILSpy.AddIn
+{
+ static class GuidList
+ {
+ public const string guidILSpyAddInPkgString = "a9120dbe-164a-4891-842f-fb7829273838";
+ public const string guidILSpyAddInCmdSetString = "85ddb8ca-a842-4b1c-ba1a-94141fdf19d0";
+
+ public static readonly Guid guidILSpyAddInCmdSet = new Guid(guidILSpyAddInCmdSetString);
+ };
+}
\ No newline at end of file
diff --git a/ILSpy.AddIn/ILSpy-Large.ico b/ILSpy.AddIn/ILSpy-Large.ico
new file mode 100644
index 000000000..14a26f95a
Binary files /dev/null and b/ILSpy.AddIn/ILSpy-Large.ico differ
diff --git a/ILSpy.AddIn/ILSpy.AddIn.csproj b/ILSpy.AddIn/ILSpy.AddIn.csproj
new file mode 100644
index 000000000..03fba192d
--- /dev/null
+++ b/ILSpy.AddIn/ILSpy.AddIn.csproj
@@ -0,0 +1,198 @@
+
+
+
+ 12.0
+ 12.0
+ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
+
+
+
+ Debug
+ AnyCPU
+ 2.0
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}
+ {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ Library
+ Properties
+ ICSharpCode.ILSpy.AddIn
+ ILSpy.AddIn
+ True
+ Key.snk
+ v4.5
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ true
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+ true
+ true
+
+
+
+
+ True
+
+
+
+
+
+
+
+ true
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}
+ 8
+ 0
+ 0
+ primary
+ False
+ False
+
+
+ {26AD1324-4B7C-44BC-84F8-B86AED45729F}
+ 10
+ 0
+ 0
+ primary
+ False
+ False
+
+
+ {1A31287A-4D7D-413E-8E32-3B374931BD89}
+ 8
+ 0
+ 0
+ primary
+ False
+ False
+
+
+ {2CE2370E-D744-4936-A090-3FFFE667B0E1}
+ 9
+ 0
+ 0
+ primary
+ False
+ False
+
+
+ {1CBA492E-7263-47BB-87FE-639000619B15}
+ 8
+ 0
+ 0
+ primary
+ False
+ False
+
+
+ {00020430-0000-0000-C000-000000000046}
+ 2
+ 0
+ 0
+ primary
+ False
+ False
+
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ true
+ VSPackage
+
+
+
+
+ Designer
+
+
+
+
+
+
+
+ Menus.ctmenu
+ Designer
+
+
+
+
+
+
+
+ Always
+ true
+
+
+ Always
+ true
+
+
+
+
+
+ {1e85eff9-e370-4683-83e4-8a3d063ff791}
+ ILSpy
+
+
+
+ true
+
+
+
+
+
\ No newline at end of file
diff --git a/ILSpy.AddIn/ILSpyAddIn.vsct b/ILSpy.AddIn/ILSpyAddIn.vsct
new file mode 100644
index 000000000..0ad7cad4b
--- /dev/null
+++ b/ILSpy.AddIn/ILSpyAddIn.vsct
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ILSpy.AddIn/ILSpyAddInPackage.cs b/ILSpy.AddIn/ILSpyAddInPackage.cs
new file mode 100644
index 000000000..7154d6eed
--- /dev/null
+++ b/ILSpy.AddIn/ILSpyAddInPackage.cs
@@ -0,0 +1,143 @@
+using System;
+using System.Diagnostics;
+using System.Globalization;
+using System.Runtime.InteropServices;
+using System.ComponentModel.Design;
+using Microsoft.Win32;
+using Microsoft.VisualStudio;
+using Microsoft.VisualStudio.Shell.Interop;
+using Microsoft.VisualStudio.OLE.Interop;
+using Microsoft.VisualStudio.Shell;
+using System.Reflection;
+using System.IO;
+
+namespace ICSharpCode.ILSpy.AddIn
+{
+ ///
+ /// This is the class that implements the package exposed by this assembly.
+ ///
+ /// The minimum requirement for a class to be considered a valid package for Visual Studio
+ /// is to implement the IVsPackage interface and register itself with the shell.
+ /// This package uses the helper classes defined inside the Managed Package Framework (MPF)
+ /// to do it: it derives from the Package class that provides the implementation of the
+ /// IVsPackage interface and uses the registration attributes defined in the framework to
+ /// register itself and its components with the shell.
+ ///
+ // This attribute tells the PkgDef creation utility (CreatePkgDef.exe) that this class is
+ // a package.
+ [PackageRegistration(UseManagedResourcesOnly = true)]
+ // This attribute is used to register the information needed to show this package
+ // in the Help/About dialog of Visual Studio.
+ [InstalledProductRegistration("#110", "#112", "1.0", IconResourceID = 400)]
+ // This attribute is needed to let the shell know that this package exposes some menus.
+ [ProvideMenuResource("Menus.ctmenu", 1)]
+ [Guid(GuidList.guidILSpyAddInPkgString)]
+ [ProvideAutoLoad(VSConstants.UICONTEXT.SolutionExistsAndFullyLoaded_string)]
+ public sealed class ILSpyAddInPackage : Package
+ {
+ ///
+ /// Default constructor of the package.
+ /// Inside this method you can place any initialization code that does not require
+ /// any Visual Studio service because at this point the package object is created but
+ /// not sited yet inside Visual Studio environment. The place to do all the other
+ /// initialization is the Initialize method.
+ ///
+ public ILSpyAddInPackage()
+ {
+ Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering constructor for: {0}", this.ToString()));
+ }
+
+
+
+ /////////////////////////////////////////////////////////////////////////////
+ // Overridden Package Implementation
+ #region Package Members
+
+ ///
+ /// Initialization of the package; this method is called right after the package is sited, so this is the place
+ /// where you can put all the initialization code that rely on services provided by VisualStudio.
+ ///
+ protected override void Initialize()
+ {
+ Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering Initialize() of: {0}", this.ToString()));
+ base.Initialize();
+
+ // Add our command handlers for menu (commands must exist in the .vsct file)
+ OleMenuCommandService mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;
+ if (null != mcs)
+ {
+ // Create the command for the menu item.
+ CommandID menuCommandID = new CommandID(GuidList.guidILSpyAddInCmdSet, (int)PkgCmdIDList.cmdidOpenInILSpy);
+ MenuCommand menuItem = new MenuCommand(OpenInILSpyCallback, menuCommandID);
+ mcs.AddCommand(menuItem);
+
+ // Create the command for the menu item.
+ CommandID menuCommandID2 = new CommandID(GuidList.guidILSpyAddInCmdSet, (int)PkgCmdIDList.cmdidOpenILSpy);
+ MenuCommand menuItem2 = new MenuCommand(OpenILSpyCallback, menuCommandID2);
+ mcs.AddCommand(menuItem2);
+ }
+ }
+ #endregion
+
+ ///
+ /// This function is the callback used to execute a command when the a menu item is clicked.
+ /// See the Initialize method to see how the menu item is associated to this function using
+ /// the OleMenuCommandService service and the MenuCommand class.
+ ///
+ private void OpenInILSpyCallback(object sender, EventArgs e)
+ {
+ var explorer = ((EnvDTE80.DTE2)GetGlobalService(typeof(EnvDTE.DTE))).ToolWindows.SolutionExplorer;
+ var items = explorer.SelectedItems as EnvDTE.UIHierarchyItem[];
+
+ foreach (var item in items)
+ {
+ dynamic obj = item.Object;
+ OpenAssemblyInILSpy(obj.Path);
+ }
+
+ }
+
+ private void OpenILSpyCallback(object sender, EventArgs e)
+ {
+ Process.Start(GetILSpyPath());
+ }
+
+ private string GetILSpyPath()
+ {
+ var basePath = Path.GetDirectoryName(typeof(ILSpyAddInPackage).Assembly.Location);
+ return Path.Combine(basePath, "ILSpy.exe");
+ }
+
+ private void OpenAssemblyInILSpy(string assemblyFileName)
+ {
+ if (!File.Exists(assemblyFileName))
+ {
+ ShowMessage("Could not find assembly '{0}', please ensure the project and all references were built correctly!", assemblyFileName);
+ return;
+ }
+ Process.Start(GetILSpyPath(), Utils.ArgumentArrayToCommandLine(assemblyFileName));
+ }
+
+ private void ShowMessage(string format, params object[] items)
+ {
+ IVsUIShell uiShell = (IVsUIShell)GetService(typeof(SVsUIShell));
+ Guid clsid = Guid.Empty;
+ int result;
+ Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(
+ uiShell.ShowMessageBox(
+ 0,
+ ref clsid,
+ "ILSpy.AddIn",
+ string.Format(CultureInfo.CurrentCulture, format, items),
+ string.Empty,
+ 0,
+ OLEMSGBUTTON.OLEMSGBUTTON_OK,
+ OLEMSGDEFBUTTON.OLEMSGDEFBUTTON_FIRST,
+ OLEMSGICON.OLEMSGICON_INFO,
+ 0, // false
+ out result
+ )
+ );
+ }
+ }
+}
\ No newline at end of file
diff --git a/ILSpy.AddIn/Key.snk b/ILSpy.AddIn/Key.snk
new file mode 100644
index 000000000..727377dec
Binary files /dev/null and b/ILSpy.AddIn/Key.snk differ
diff --git a/ILSpy.AddIn/PkgCmdID.cs b/ILSpy.AddIn/PkgCmdID.cs
new file mode 100644
index 000000000..3d4a1b816
--- /dev/null
+++ b/ILSpy.AddIn/PkgCmdID.cs
@@ -0,0 +1,13 @@
+// PkgCmdID.cs
+// MUST match PkgCmdID.h
+using System;
+
+namespace ICSharpCode.ILSpy.AddIn
+{
+ static class PkgCmdIDList
+ {
+ public const uint cmdidOpenILSpy = 0x100;
+ public const uint cmdidOpenInILSpy = 0x200;
+ public const uint cmdidOpenDefinitionInILSpy = 0x300;
+ };
+}
\ No newline at end of file
diff --git a/ILSpy.AddIn/Properties/AssemblyInfo.cs b/ILSpy.AddIn/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..b5705f8a1
--- /dev/null
+++ b/ILSpy.AddIn/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System;
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("ILSpy.AddIn")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("IC#Code")]
+[assembly: AssemblyProduct("ILSpy.AddIn")]
+[assembly: AssemblyCopyright("")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(false)]
+[assembly: NeutralResourcesLanguage("en-US")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+
+[assembly: InternalsVisibleTo("ILSpy.AddIn_IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")]
+[assembly: InternalsVisibleTo("ILSpy.AddIn_UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")]
diff --git a/ILSpy.AddIn/Resources.Designer.cs b/ILSpy.AddIn/Resources.Designer.cs
new file mode 100644
index 000000000..98a1a383d
--- /dev/null
+++ b/ILSpy.AddIn/Resources.Designer.cs
@@ -0,0 +1,63 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace ICSharpCode.ILSpy.AddIn {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ICSharpCode.ILSpy.AddIn.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/ILSpy.AddIn/Resources.resx b/ILSpy.AddIn/Resources.resx
new file mode 100644
index 000000000..891c592b4
--- /dev/null
+++ b/ILSpy.AddIn/Resources.resx
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/ILSpy.AddIn/Resources/Images.png b/ILSpy.AddIn/Resources/Images.png
new file mode 100644
index 000000000..bf17e6be1
Binary files /dev/null and b/ILSpy.AddIn/Resources/Images.png differ
diff --git a/ILSpy.AddIn/Resources/Package.ico b/ILSpy.AddIn/Resources/Package.ico
new file mode 100644
index 000000000..900abec81
Binary files /dev/null and b/ILSpy.AddIn/Resources/Package.ico differ
diff --git a/ILSpy.AddIn/Utils.cs b/ILSpy.AddIn/Utils.cs
new file mode 100644
index 000000000..e3641f5ab
--- /dev/null
+++ b/ILSpy.AddIn/Utils.cs
@@ -0,0 +1,119 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Runtime.InteropServices;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ICSharpCode.ILSpy.AddIn
+{
+ class Utils
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1060:MovePInvokesToNativeMethodsClass")]
+ [DllImport("shell32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
+ static extern unsafe char** CommandLineToArgvW([MarshalAs(UnmanagedType.LPWStr)] string lpCmdLine, out int pNumArgs);
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1060:MovePInvokesToNativeMethodsClass")]
+ [DllImport("kernel32.dll")]
+ static extern IntPtr LocalFree(IntPtr hMem);
+
+ #region CommandLine <-> Argument Array
+ ///
+ /// Decodes a command line into an array of arguments according to the CommandLineToArgvW rules.
+ ///
+ ///
+ /// Command line parsing rules:
+ /// - 2n backslashes followed by a quotation mark produce n backslashes, and the quotation mark is considered to be the end of the argument.
+ /// - (2n) + 1 backslashes followed by a quotation mark again produce n backslashes followed by a quotation mark.
+ /// - n backslashes not followed by a quotation mark simply produce n backslashes.
+ ///
+ public static unsafe string[] CommandLineToArgumentArray(string commandLine)
+ {
+ if (string.IsNullOrEmpty(commandLine))
+ return new string[0];
+ int numberOfArgs;
+ char** arr = CommandLineToArgvW(commandLine, out numberOfArgs);
+ if (arr == null)
+ throw new Win32Exception();
+ try
+ {
+ string[] result = new string[numberOfArgs];
+ for (int i = 0; i < numberOfArgs; i++)
+ {
+ result[i] = new string(arr[i]);
+ }
+ return result;
+ }
+ finally
+ {
+ // Free memory obtained by CommandLineToArgW.
+ LocalFree(new IntPtr(arr));
+ }
+ }
+
+ static readonly char[] charsNeedingQuoting = { ' ', '\t', '\n', '\v', '"' };
+
+ ///
+ /// Escapes a set of arguments according to the CommandLineToArgvW rules.
+ ///
+ ///
+ /// Command line parsing rules:
+ /// - 2n backslashes followed by a quotation mark produce n backslashes, and the quotation mark is considered to be the end of the argument.
+ /// - (2n) + 1 backslashes followed by a quotation mark again produce n backslashes followed by a quotation mark.
+ /// - n backslashes not followed by a quotation mark simply produce n backslashes.
+ ///
+ public static string ArgumentArrayToCommandLine(params string[] arguments)
+ {
+ if (arguments == null)
+ return null;
+ StringBuilder b = new StringBuilder();
+ for (int i = 0; i < arguments.Length; i++)
+ {
+ if (i > 0)
+ b.Append(' ');
+ AppendArgument(b, arguments[i]);
+ }
+ return b.ToString();
+ }
+
+ static void AppendArgument(StringBuilder b, string arg)
+ {
+ if (arg.Length > 0 && arg.IndexOfAny(charsNeedingQuoting) < 0)
+ {
+ b.Append(arg);
+ }
+ else
+ {
+ b.Append('"');
+ for (int j = 0; ; j++)
+ {
+ int backslashCount = 0;
+ while (j < arg.Length && arg[j] == '\\')
+ {
+ backslashCount++;
+ j++;
+ }
+ if (j == arg.Length)
+ {
+ b.Append('\\', backslashCount * 2);
+ break;
+ }
+ else if (arg[j] == '"')
+ {
+ b.Append('\\', backslashCount * 2 + 1);
+ b.Append('"');
+ }
+ else
+ {
+ b.Append('\\', backslashCount);
+ b.Append(arg[j]);
+ }
+ }
+ b.Append('"');
+ }
+ }
+ #endregion
+
+ }
+}
diff --git a/ILSpy.AddIn/VSPackage.resx b/ILSpy.AddIn/VSPackage.resx
new file mode 100644
index 000000000..345019f09
--- /dev/null
+++ b/ILSpy.AddIn/VSPackage.resx
@@ -0,0 +1,140 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ ILSpy.AddIn
+
+
+ Integration of the ILSpy Decompiler into Visual Studio.
+
+
+ Resources\Package.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/ILSpy.AddIn/license.txt b/ILSpy.AddIn/license.txt
new file mode 100644
index 000000000..0bfb45649
--- /dev/null
+++ b/ILSpy.AddIn/license.txt
@@ -0,0 +1,12 @@
+The following MIT license applies to ILSpy, NRefactory and ICSharpCode.Decompiler. Mono.Cecil also uses the MIT license (Copyright JB Evain). AvalonEdit and SharpTreeView use LGPL, which can be found in the LGPL.txt file. ILSpy.BamlDecompiler uses the MS-PL, which can be found in the MS-PL.txt file.
+
+
+MIT license:
+
+Copyright (c) 2011-2014 AlphaSierraPapa for the SharpDevelop team
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/ILSpy.AddIn/source.extension.vsixmanifest b/ILSpy.AddIn/source.extension.vsixmanifest
new file mode 100644
index 000000000..87d601994
--- /dev/null
+++ b/ILSpy.AddIn/source.extension.vsixmanifest
@@ -0,0 +1,20 @@
+
+
+
+
+ ILSpy
+ Integration of the ILSpy Decompiler into Visual Studio.
+ license.txt
+ ILSpy-Large.ico
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ILSpy.sln b/ILSpy.sln
index ecc3a8a38..af5e549d7 100644
--- a/ILSpy.sln
+++ b/ILSpy.sln
@@ -35,6 +35,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ILSpy.BamlDecompiler.Tests"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.NRefactory.CSharp", "NRefactory\ICSharpCode.NRefactory.CSharp\ICSharpCode.NRefactory.CSharp.csproj", "{53DCA265-3C3C-42F9-B647-F72BA678122B}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ILSpy.AddIn", "ILSpy.AddIn\ILSpy.AddIn.csproj", "{9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "VSIntegration", "VSIntegration", "{CA68D818-CDB5-4240-9909-F3E02F1B34CB}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -147,8 +151,18 @@ Global
{53DCA265-3C3C-42F9-B647-F72BA678122B}.Release|Any CPU.Build.0 = Release|Any CPU
{53DCA265-3C3C-42F9-B647-F72BA678122B}.Release|x86.ActiveCfg = Release|Any CPU
{53DCA265-3C3C-42F9-B647-F72BA678122B}.Release|x86.Build.0 = Release|Any CPU
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {F45DB999-7E72-4000-B5AD-3A7B485A0896} = {CA68D818-CDB5-4240-9909-F3E02F1B34CB}
+ {9D7BE6C0-B7B3-4A50-A54E-18A2D84A3384} = {CA68D818-CDB5-4240-9909-F3E02F1B34CB}
+ EndGlobalSection
EndGlobal