Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/DeltaShell.Plugins.SharpMapGis.Gui.csproj
===================================================================
diff -u -r82993c9bf0c29253ae1df0dfbb0da0deb8213465 -r5a3491560184de5710f1aaecafea79117866006b
--- src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/DeltaShell.Plugins.SharpMapGis.Gui.csproj (.../DeltaShell.Plugins.SharpMapGis.Gui.csproj) (revision 82993c9bf0c29253ae1df0dfbb0da0deb8213465)
+++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/DeltaShell.Plugins.SharpMapGis.Gui.csproj (.../DeltaShell.Plugins.SharpMapGis.Gui.csproj) (revision 5a3491560184de5710f1aaecafea79117866006b)
@@ -181,6 +181,9 @@
..\..\..\lib\log4net.dll
+
+ ..\..\..\lib\Mono.Addins.dll
+
..\..\..\packages\PostSharp.2.1.7.28\lib\net20\PostSharp.dll
Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Properties/AssemblyInfo.cs
===================================================================
diff -u -r82993c9bf0c29253ae1df0dfbb0da0deb8213465 -r5a3491560184de5710f1aaecafea79117866006b
--- src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision 82993c9bf0c29253ae1df0dfbb0da0deb8213465)
+++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision 5a3491560184de5710f1aaecafea79117866006b)
@@ -1,6 +1,9 @@
using System.Reflection;
using System.Runtime.InteropServices;
+using Mono.Addins;
[assembly: AssemblyTitle("DeltaShell.Plugins.SharpMapGis.Gui")]
[assembly: AssemblyProduct("DeltaShell.Plugins.SharpMapGis.Gui")]
-[assembly: Guid("fe1a0f62-20cb-41a7-ab51-f135393c05a3")]
\ No newline at end of file
+[assembly: Guid("fe1a0f62-20cb-41a7-ab51-f135393c05a3")]
+[assembly: Addin]
+[assembly: AddinDependency("DeltaShellApplication", "1.0")]
\ No newline at end of file
Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/SharpMapGisGuiPlugin.cs
===================================================================
diff -u -r82993c9bf0c29253ae1df0dfbb0da0deb8213465 -r5a3491560184de5710f1aaecafea79117866006b
--- src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/SharpMapGisGuiPlugin.cs (.../SharpMapGisGuiPlugin.cs) (revision 82993c9bf0c29253ae1df0dfbb0da0deb8213465)
+++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/SharpMapGisGuiPlugin.cs (.../SharpMapGisGuiPlugin.cs) (revision 5a3491560184de5710f1aaecafea79117866006b)
@@ -18,6 +18,7 @@
using DeltaShell.Plugins.SharpMapGis.Gui.NodePresenters;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
+using Mono.Addins;
using SharpMap;
using SharpMap.Api.Layers;
using SharpMap.Data.Providers;
@@ -29,6 +30,7 @@
namespace DeltaShell.Plugins.SharpMapGis.Gui
{
+ [Extension(typeof(IPlugin))]
public class SharpMapGisGuiPlugin : GuiPlugin
{
private static IGui gui;
Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis/DeltaShell.Plugins.SharpMapGis.csproj
===================================================================
diff -u -r82993c9bf0c29253ae1df0dfbb0da0deb8213465 -r5a3491560184de5710f1aaecafea79117866006b
--- src/DeltaShell/DeltaShell.Plugins.SharpMapGis/DeltaShell.Plugins.SharpMapGis.csproj (.../DeltaShell.Plugins.SharpMapGis.csproj) (revision 82993c9bf0c29253ae1df0dfbb0da0deb8213465)
+++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis/DeltaShell.Plugins.SharpMapGis.csproj (.../DeltaShell.Plugins.SharpMapGis.csproj) (revision 5a3491560184de5710f1aaecafea79117866006b)
@@ -66,6 +66,9 @@
False
..\..\..\lib\log4net.dll
+
+ ..\..\..\lib\Mono.Addins.dll
+
False
..\..\..\lib\Common\SharpMap.Extensions\SharpVectorBindings.dll
Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis/Properties/AssemblyInfo.cs
===================================================================
diff -u -r82993c9bf0c29253ae1df0dfbb0da0deb8213465 -r5a3491560184de5710f1aaecafea79117866006b
--- src/DeltaShell/DeltaShell.Plugins.SharpMapGis/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision 82993c9bf0c29253ae1df0dfbb0da0deb8213465)
+++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision 5a3491560184de5710f1aaecafea79117866006b)
@@ -1,6 +1,9 @@
using System.Reflection;
using System.Runtime.InteropServices;
+using Mono.Addins;
[assembly: AssemblyTitle("DeltaShell.Plugins.SharpMapGis")]
[assembly: AssemblyProduct("DeltaShell.Plugins.SharpMapGis")]
-[assembly: Guid("7948858a-9b8f-4c3a-a4fc-ea7cfedc32c0")]
\ No newline at end of file
+[assembly: Guid("7948858a-9b8f-4c3a-a4fc-ea7cfedc32c0")]
+[assembly: Addin]
+[assembly: AddinDependency("DeltaShellApplication", "1.0")]
\ No newline at end of file
Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis/SharpMapGisApplicationPlugin.cs
===================================================================
diff -u -r82993c9bf0c29253ae1df0dfbb0da0deb8213465 -r5a3491560184de5710f1aaecafea79117866006b
--- src/DeltaShell/DeltaShell.Plugins.SharpMapGis/SharpMapGisApplicationPlugin.cs (.../SharpMapGisApplicationPlugin.cs) (revision 82993c9bf0c29253ae1df0dfbb0da0deb8213465)
+++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis/SharpMapGisApplicationPlugin.cs (.../SharpMapGisApplicationPlugin.cs) (revision 5a3491560184de5710f1aaecafea79117866006b)
@@ -2,11 +2,13 @@
using System.Drawing;
using System.Reflection;
using DelftTools.Shell.Core;
+using Mono.Addins;
using SharpMap;
using SharpMap.Extensions.CoordinateSystems;
namespace DeltaShell.Plugins.SharpMapGis
{
+ [Extension(typeof(IPlugin))]
public class SharpMapGisApplicationPlugin : ApplicationPlugin
{
public SharpMapGisApplicationPlugin()