[mono/monodevelop] bc6cc08b: Remove hardcoded add-in versions

"Lluis Sanchez ([email protected])" <[email protected]> Fri, 22 Nov 2013 15:36:48 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001428074cff4-c71454ae-efa2-4b2c-b51c-505cda51b11e-000000@email.amazonses.com>
   Branch: refs/heads/deps-in-attributes
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/f1c7523dd546...bc6cc08be83b

   Commit: bc6cc08be83bd52e4e178476cd3116a917e2ae5e
   Author: Lluis Sanchez <[email protected]> (slluis)
     Date: 2013-11-22 15:34:56 GMT
      URL: https://github.com/mono/monodevelop/commit/bc6cc08be83bd52e4e178476cd3116a917e2ae5e

Remove hardcoded add-in versions

Changed paths:
  M main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux.addin.xml
  M main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux.csproj
  M main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.addin.xml
  M main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.csproj
  M main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/Manifest.addin.xml
  M main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/MonoDevelop.Debugger.Soft.AspNet.csproj
  M main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/Manifest.addin.xml
  M main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.csproj
  M main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32.addin.xml
  M main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32.csproj
  M main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.addin.xml
  M main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.csproj
  M main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.addin.xml
  M main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.csproj
  M main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.addin.xml
  M main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.csproj
  M main/src/addins/MonoDeveloperExtensions/MonoDeveloperExtensions.addin.xml
  M main/src/addins/MonoDeveloperExtensions/MonoDeveloperExtensions.csproj
  M main/src/addins/MonoDeveloperExtensions/NUnit/NUnit.csproj
  M main/src/addins/NUnit/MonoDevelop.NUnit.csproj
  M main/src/addins/NUnit/MonoDevelopNUnit.addin.xml
Added paths:
  A main/src/addins/Deployment/MonoDevelop.Deployment.Linux/AddinInfo.cs
  A main/src/addins/Deployment/MonoDevelop.Deployment/AddinInfo.cs
  A main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/AddinInfo.cs
  A main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/AddinInfo.cs
  A main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/AddinInfo.cs
  A main/src/addins/MonoDevelop.Debugger/AddinInfo.cs
  A main/src/addins/MonoDevelop.GtkCore/AddinInfo.cs
  A main/src/addins/MonoDevelop.XmlEditor/AddinInfo.cs
  A main/src/addins/MonoDeveloperExtensions/AddinInfo.cs
  A main/src/addins/MonoDeveloperExtensions/NUnit/AddinInfo.cs
  A main/src/addins/MonoDeveloperExtensions/NUnit/ExtensionModel.addin.xml
  A main/src/addins/NUnit/AddinInfo.cs

Added: main/src/addins/Deployment/MonoDevelop.Deployment.Linux/AddinInfo.cs
===================================================================
@@ -0,0 +1,16 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("Deployment.Linux", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Deployment")]
+
+[assembly:AddinName ("Deployment Services for Linux")]
+[assembly:AddinDescription ("Provides basic deployment services for Linux")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Deployment", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux.addin.xml
===================================================================
@@ -1,24 +1,4 @@
-<Addin id          = "Deployment.Linux"
-       namespace   = "MonoDevelop"
-       name        = "Deployment Services for Linux"
-       author      = "Lluis Sanchez, Michael Hutchinson"
-       copyright   = "MIT X11"
-       url         = "http://www.monodevelop.com"
-       description = "Provides basic deployment services for Linux"
-       category    = "Deployment"
-       version     = "4.2"
-       flags       = "Hidden"
-       compatVersion = "4.0">
-
-	<Runtime>
-		<Import assembly="MonoDevelop.Deployment.Linux.dll"/>
-	</Runtime>
-
-	<Dependencies>
-		<Addin id="Core" version="4.2"/>
-		<Addin id="Ide" version="4.2"/>
-		<Addin id="Deployment" version="4.2"/>
-	</Dependencies>
+<ExtensionModel>
 
 	<Extension path = "/MonoDevelop/Ide/Commands">
 	</Extension>	
@@ -98,4 +78,4 @@
 			<Class class="MonoDevelop.Deployment.Linux.LinuxDeploymentSetup" />
 		</Condition>
 	</Extension>
-</Addin>
+</ExtensionModel>

Modified: main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux.csproj
===================================================================
@@ -21,9 +21,9 @@
     <Execution>
       <Execution clr-version="Net_2_0" />
     </Execution>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <DefineConstants>DEBUG</DefineConstants>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Deployment\MonoDevelop.Deployment.Linux.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -36,8 +36,8 @@
       <Execution clr-version="Net_2_0" />
     </Execution>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Deployment\MonoDevelop.Deployment.Linux.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\..\core\MonoDevelop.Core\MonoDevelop.Core.csproj">
@@ -120,6 +120,7 @@
     <Compile Include="gtk-gui\MonoDevelop.Deployment.Linux.MenuCategorySelectorDialog.cs" />
     <Compile Include="AssemblyInfo.cs" />
     <Compile Include="MonoDevelop.Deployment.Linux\LinuxDeploymentSetup.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="Makefile.am" />

Added: main/src/addins/Deployment/MonoDevelop.Deployment/AddinInfo.cs
===================================================================
@@ -0,0 +1,17 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("Deployment", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Deployment")]
+
+[assembly:AddinName ("Deployment Services Core")]
+[assembly:AddinDescription ("Provides basic deployment services")]
+[assembly:AddinFlags (AddinFlags.Hidden)]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("DesignerSupport", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.addin.xml
===================================================================
@@ -1,20 +1,4 @@
-<Addin id          = "Deployment"
-       namespace   = "MonoDevelop"
-       name        = "Deployment Services Core"
-       author      = "Lluis Sanchez, Michael Hutchinson"
-       copyright   = "MIT X11"
-       url         = "http://www.monodevelop.com"
-       description = "Provides basic deployment services"
-       category    = "Deployment"
-       version     = "4.2"
-       flags       = "Hidden"
-       compatVersion = "4.0">
-
-	<Dependencies>
-		<Addin id="Core" version="4.2"/>
-		<Addin id="Ide" version="4.2"/>
-		<Addin id="DesignerSupport" version="4.2"/>
-	</Dependencies>
+<ExtensionModel>
 
 	<Extension path = "/MonoDevelop/Ide/Commands">
 		<Category _name = "Deployment" id = "Deployment">
@@ -200,4 +184,4 @@
 	<Extension path = "/MonoDevelop/ProjectModel/MD1SerializationMaps">
 		<SerializationMap resource="md1format.xml" />
 	</Extension>
-</Addin>
+</ExtensionModel>

Modified: main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.csproj
===================================================================
@@ -20,9 +20,9 @@
     <Execution>
       <Execution clr-version="Net_2_0" />
     </Execution>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <DefineConstants>DEBUG</DefineConstants>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Deployment\MonoDevelop.Deployment.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -35,8 +35,8 @@
       <Execution clr-version="Net_2_0" />
     </Execution>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Deployment\MonoDevelop.Deployment.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
@@ -159,6 +159,7 @@
     <Compile Include="gtk-gui\MonoDevelop.Deployment.Gui.SshFuseFileCopyConfigurationEditorWidget.cs" />
     <Compile Include="MonoDevelop.Deployment.Gui\SshFuseFileCopyConfigurationEditor.cs" />
     <Compile Include="MonoDevelop.Deployment\MD1Serializer.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="gtk-gui\gui.stetic">

Added: main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/AddinInfo.cs
===================================================================
@@ -0,0 +1,17 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("Debugger.Soft.AspNet", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Debugging")]
+
+[assembly:AddinName ("Mono Soft Debugger Support for ASP.NET")]
+[assembly:AddinDescription ("Mono Soft Debugger Support for ASP.NET")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Debugger", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("AspNet", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Debugger.Soft", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/Manifest.addin.xml
===================================================================
@@ -1,19 +1,5 @@
-<Addin id          = "MonoDevelop.Debugger.Soft.AspNet"
-       name        = "Mono Soft Debugger Support for ASP.NET"
-       author      = "Michael Hutchinson"
-       url         = "http://www.mono-project.com"
-       description = "Mono Soft Debugger Support for ASP.NET"
-       copyright   = "MIT X11"
-       category    = "Debugging"
-       version     = "4.2">
+<ExtensionModel>
 
-	<Dependencies>
-		<Addin id="MonoDevelop.Core" version="4.2"/>
-		<Addin id="MonoDevelop.Debugger" version="4.2"/>
-		<Addin id="MonoDevelop.AspNet" version="4.2"/>
-		<Addin id="MonoDevelop.Debugger.Soft" version="4.2"/>
-	</Dependencies>
-	
 	<Extension path="/MonoDevelop/Debugging/DebuggerEngines">
 		<DebuggerEngine
 			id="Mono.Debugger.Soft.AspNet"
@@ -21,4 +7,5 @@
 			features="Breakpoints, Pause, Stepping, DebugFile, ConditionalBreakpoints, Tracepoints, Catchpoints, Disassembly"
 			type="MonoDevelop.Debugger.Soft.AspNet.AspNetSoftDebuggerEngine" />
 	</Extension>
-</Addin>
+
+</ExtensionModel>

Modified: main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.AspNet/MonoDevelop.Debugger.Soft.AspNet.csproj
===================================================================
@@ -18,8 +18,8 @@
     <DefineConstants>DEBUG</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Debugger.Soft\MonoDevelop.Debugger.Soft.AspNet.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -28,8 +28,8 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Debugger.Soft\MonoDevelop.Debugger.Soft.AspNet.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
@@ -112,9 +112,15 @@
       <Name>Mono.Debugger.Soft</Name>
       <Private>False</Private>
     </ProjectReference>
+    <ProjectReference Include="..\..\..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj">
+      <Project>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</Project>
+      <Name>Mono.Addins</Name>
+      <Private>False</Private>
+    </ProjectReference>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="AspNetSoftDebuggerEngine.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="Makefile.am" />

Added: main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/AddinInfo.cs
===================================================================
@@ -0,0 +1,15 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("Debugger.Soft", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Debugging")]
+
+[assembly:AddinName ("Mono Soft Debugger Support")]
+[assembly:AddinDescription ("Mono Soft Debugger Support")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Debugger", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/Manifest.addin.xml
===================================================================
@@ -1,17 +1,5 @@
-<Addin id          = "MonoDevelop.Debugger.Soft"
-       name        = "Mono Soft Debugger Support"
-       author      = "Lluis Sanchez"
-       url         = "http://www.mono-project.com/Soft_Debugger"
-       description = "Mono Soft Debugger Support"
-       copyright   = "MIT X11"
-       category    = "Debugging"
-       version     = "4.2">
+<ExtensionModel>
 
-	<Dependencies>
-		<Addin id="MonoDevelop.Core" version="4.2"/>
-		<Addin id="MonoDevelop.Debugger" version="4.2"/>
-	</Dependencies>
-	
 	<Runtime>
 		<Import assembly="Mono.Debugging.Soft.dll" />
 		<Import assembly="Mono.Debugger.Soft.dll" />
@@ -32,4 +20,5 @@
 			features="Breakpoints, Pause, Stepping, DebugFile, ConditionalBreakpoints, Tracepoints, Catchpoints, Disassembly"
 			type="MonoDevelop.Debugger.Soft.CustomSoftDebuggerEngine" />
 	</Extension>
-</Addin>
+
+</ExtensionModel>

Modified: main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.csproj
===================================================================
@@ -19,8 +19,8 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <ConsolePause>False</ConsolePause>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Debugger.Soft\MonoDevelop.Debugger.Soft.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -30,8 +30,8 @@
     <WarningLevel>4</WarningLevel>
     <ConsolePause>False</ConsolePause>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDevelop.Debugger.Soft\MonoDevelop.Debugger.Soft.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
@@ -46,6 +46,7 @@
     <Compile Include="AssemblyInfo.cs" />
     <Compile Include="SoftDebuggerEngine.cs" />
     <Compile Include="CustomSoftDebuggerEngine.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="Manifest.addin.xml">
@@ -92,6 +93,11 @@
       <Project>{372E8E3E-29D5-4B4D-88A2-4711CD628C4E}</Project>
       <Name>Mono.Debugger.Soft</Name>
     </ProjectReference>
+    <ProjectReference Include="..\..\..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj">
+      <Project>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</Project>
+      <Name>Mono.Addins</Name>
+      <Private>False</Private>
+    </ProjectReference>
   </ItemGroup>
   <ItemGroup>
     <None Include="Makefile.am" />

Added: main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/AddinInfo.cs
===================================================================
@@ -0,0 +1,17 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("Debugger.Win32", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Debugging")]
+
+[assembly:AddinName ("Microsoft .NET support for Mono.Debugging")]
+[assembly:AddinDescription ("Managed Debugging Engine support for MS.NET")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Debugger", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("AspNet", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32.addin.xml
===================================================================
@@ -1,18 +1,4 @@
-<Addin id = "MonoDevelop.Debugger.Win32"
-       name	     = "Microsoft .NET support for Mono.Debugging"
-       author	 = "Lluis Sanchez"
-       url       = "http://www.mono-project.com"
-       description = "Managed Debugging Engine support for MS.NET"
-       copyright   = "MIT X11"
-       category = "Debugging"
-       version   = "4.2">
-
-	<Dependencies>
-		<Addin id="MonoDevelop.Core" version="4.2"/>
-		<Addin id="MonoDevelop.Ide" version="4.2"/>
-		<Addin id="MonoDevelop.Debugger" version="4.2"/>
-		<Addin id="MonoDevelop.AspNet" version="4.2"/>
-	</Dependencies>
+<ExtensionModel>
 
 	<Extension path="/MonoDevelop/Debugging/DebuggerEngines">
 		<DebuggerEngine
@@ -22,4 +8,4 @@
 			type="MonoDevelop.Debugger.Win32.CorDebuggerEngine" />
 	</Extension>
 
-</Addin>
+</ExtensionModel>

Modified: main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32.csproj
===================================================================
@@ -55,13 +55,13 @@
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Core">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
     </Reference>
     <Reference Include="System.Xml.Linq">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
     </Reference>
     <Reference Include="System.Data.DataSetExtensions">
-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
     </Reference>
     <Reference Include="System.Data" />
     <Reference Include="System.Xml" />
@@ -88,6 +88,7 @@
     <Compile Include="CorDebuggerSession.cs" />
     <Compile Include="CorEvaluationContext.cs" />
     <Compile Include="CorDebuggerBacktrace.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="MonoDevelop.Debugger.Win32.addin.xml" />

Added: main/src/addins/MonoDevelop.Debugger/AddinInfo.cs
===================================================================
@@ -0,0 +1,16 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("Debugger", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Debugging")]
+
+[assembly:AddinName ("Debugger support for MonoDevelop")]
+[assembly:AddinDescription ("Support for Debugging projects")]
+[assembly:AddinFlags (AddinFlags.Hidden)]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.addin.xml
===================================================================
@@ -1,17 +1,4 @@
-<Addin id = "Debugger"
-       namespace = "MonoDevelop"
-       name	= "Debugger support for MonoDevelop"
-       author = "Ankit Jain, Lluis Sanchez"
-       url = "http://www.monodevelop.com"
-       description = "Support for Debugging projects"
-       copyright = "MIT X11"
-       flags = "Hidden"
-       version = "4.2">
-
-	<Dependencies>
-		<Addin id="Core" version="4.2"/>
-		<Addin id="Ide" version="4.2"/>
-	</Dependencies>
+<ExtensionModel>
 	
 	<ExtensionPoint path="/MonoDevelop/Debugging/DebuggerEngines">
 		<Description>Debug session factories. Specified classes must implement MonoDevelop.Debugger.IDebuggerEngine</Description>
@@ -249,4 +236,5 @@
 	<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
 		<Class class="MonoDevelop.Debugger.ExceptionCaughtTextEditorExtension" />
 	</Extension>
-</Addin>
+</ExtensionModel>
+

Modified: main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.csproj
===================================================================
@@ -150,6 +150,7 @@
     <Compile Include="MonoDevelop.Debugger.Visualizer\CStringVisualizer.cs" />
     <Compile Include="MonoDevelop.Debugger.Visualizer\ValueVisualizer.cs" />
     <Compile Include="MonoDevelop.Debugger\InfoFrame.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="MonoDevelop.Debugger.addin.xml">

Added: main/src/addins/MonoDevelop.GtkCore/AddinInfo.cs
===================================================================
@@ -0,0 +1,16 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("GtkCore", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "IDE extensions")]
+
+[assembly:AddinName ("GTK# Visual Designer")]
+[assembly:AddinDescription ("Provides support for visual design of GTK# windows, dialogs and widgets")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("DesignerSupport", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.addin.xml
===================================================================
@@ -1,12 +1,4 @@
-<Addin id = "GtkCore"
-       namespace   = "MonoDevelop"
-       name        = "GTK# Visual Designer"
-       author      = "Lluis Sanchez Gual"
-       copyright   = "X11"
-       url         = ""
-       description = "Provides support for visual design of GTK# windows, dialogs and widgets."
-       category    = "IDE extensions"
-       version     = "4.2">
+<ExtensionModel>
 
 	<Runtime>
 		<Import assembly="libstetic.dll"/>
@@ -16,12 +8,6 @@
 		<Import assembly="MonoDevelop.GtkCore.dll"/>
 	</Runtime>
 
-	<Dependencies>
-		<Addin id="Core" version="4.2"/>
-		<Addin id="Ide" version="4.2"/>
-		<Addin id="DesignerSupport" version="4.2"/>
-	</Dependencies>
-	
 	<ExtensionPoint path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.ActionGroup">
 		<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
 	</ExtensionPoint>
@@ -183,4 +169,5 @@
 	<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/Projects">
 		<Panel _label = "GTK# Designer" class = "MonoDevelop.GtkCore.Dialogs.GtkDesignerOptionPanel" />
 	</Extension>
-</Addin>
+
+</ExtensionModel>

Modified: main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.csproj
===================================================================
@@ -20,9 +20,9 @@
     <Execution>
       <Execution clr-version="Net_2_0" />
     </Execution>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <DefineConstants>DEBUG</DefineConstants>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\MonoDevelop.GtkCore\MonoDevelop.GtkCore.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -34,8 +34,8 @@
       <Execution clr-version="Net_2_0" />
     </Execution>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\MonoDevelop.GtkCore\MonoDevelop.GtkCore.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
@@ -211,6 +211,7 @@
     <Compile Include="MonoDevelop.GtkCore.Dialogs\GtkDesignerOptionsPanelWidget.cs" />
     <Compile Include="gtk-gui\MonoDevelop.GtkCore.Dialogs.GtkDesignerOptionsPanelWidget.cs" />
     <Compile Include="MonoDevelop.GtkCore\Counters.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 </Project>

Added: main/src/addins/MonoDevelop.XmlEditor/AddinInfo.cs
===================================================================
@@ -0,0 +1,17 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("XmlEditor", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "IDE extensions")]
+
+[assembly:AddinName ("XML Editor")]
+[assembly:AddinDescription ("XML Editor")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("DesignerSupport", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("SourceEditor2", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.addin.xml
===================================================================
@@ -1,12 +1,4 @@
-<Addin name        = "XML Editor"
-       id          = "XmlEditor"
-       namespace   = "MonoDevelop"
-       author      = "Matt Ward, Michael Hutchinson"
-       copyright   = "MIT X11"
-       url         = "http://md-xed.sourceforge.net"
-       description = "XML Editor"
-       category    = "IDE extensions"
-       version     = "4.2">
+<ExtensionModel>
 
 	<Runtime>
 		<Import assembly="MonoDevelop.XmlEditor.dll" />
@@ -20,13 +12,6 @@
 		<Import file="schemas/nant.xsd" />
 	</Runtime>
 
-	<Dependencies>
-		<Addin id="Core" version="4.2"/>
-		<Addin id="Ide" version="4.2"/>
-		<Addin id="DesignerSupport" version="4.2"/>
-		<Addin id="SourceEditor2" version="4.2"/>
-	</Dependencies>
-
 	<ExtensionPoint path = "/MonoDevelop/XmlEditor/XmlFileAssociations">
 		<ExtensionNode name = "Association" type = "MonoDevelop.XmlEditor.XmlFileAssociationNode"/>
 	</ExtensionPoint>
@@ -154,4 +139,5 @@
 		<!-- 2.6+ -->
 		<Migration sourceVersion="2.6+" kind="UserData" path="XmlSchemas" isDirectory="true" />
 	</Extension>
-</Addin>
+
+</ExtensionModel>


Modified: main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.csproj
===================================================================
@@ -22,9 +22,9 @@
     <Execution>
       <Execution clr-version="Net_2_0" />
     </Execution>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <DefineConstants>DEBUG</DefineConstants>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\MonoDevelop.XmlEditor\MonoDevelop.XmlEditor.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -38,8 +38,8 @@
       <Execution clr-version="Net_2_0" />
     </Execution>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\MonoDevelop.XmlEditor\MonoDevelop.XmlEditor.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
@@ -177,6 +177,7 @@
     <Compile Include="MonoDevelop.XmlEditor.Completion\XmlCompletionDataList.cs" />
     <Compile Include="MonoDevelop.XmlEditor.Completion\EmptyXmlCompletionProvider.cs" />
     <Compile Include="MonoDevelop.XmlEditor.Completion\XmlNamespacePrefixMap.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="MonoDevelop.XmlEditor.addin.xml">

Added: main/src/addins/MonoDeveloperExtensions/AddinInfo.cs
===================================================================
@@ -0,0 +1,17 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("MonoDeveloperExtensions", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Project Import and Export")]
+
+[assembly:AddinName ("IDE Extensions for developers of the Mono framework")]
+[assembly:AddinDescription ("Provides some IDE extensions useful for developing and building the Mono class libraries")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]
+
+[assembly:AddinModule ("MonoDeveloperExtensions_nunit.dll")]
\ No newline at end of file

Modified: main/src/addins/MonoDeveloperExtensions/MonoDeveloperExtensions.addin.xml
===================================================================
@@ -1,22 +1,5 @@
-<Addin id          = "MonoDeveloperExtensions"
-       namespace   = "MonoDevelop"
-       name        = "IDE Extensions for developers of the Mono framework"
-       author      = "Lluis Sanchez Gual"
-       copyright   = "(c) 2005 Novell, Inc."
-       url         = "http://www.monodevelop.com"
-       description = "Provides some IDE extensions useful for developing and building the Mono class libraries."
-       category    = "Project Import and Export"
-       version     = "4.2">
+<ExtensionModel>
     
-    <Runtime>
-        <Import assembly="MonoDeveloperExtensions.dll"/>
-    </Runtime>
-
-	<Dependencies>
-		<Addin id="Core" version="4.2"/>
-		<Addin id="Ide" version="4.2"/>
-	</Dependencies>
-
 	<Extension path = "/MonoDevelop/ProjectModel/FileFormats">
 		<FileFormat id = "MonoMakefile" name="Mono Makefile"
 						class = "MonoDeveloper.MonoMakefileFormat" />
@@ -46,15 +29,4 @@
 		</Condition>
 	</Extension>
 
-	<Module>
-	    <Runtime>
-	        <Import assembly="MonoDeveloperExtensions_nunit.dll"/>
-	    </Runtime>
-		<Dependencies>
-			<Addin id="NUnit" version="4.2"/>
-		</Dependencies>
-		<Extension path = "/MonoDevelop/NUnit/TestProviders">
-			<Class id = "MonoTestProvider" class = "MonoDeveloper.MonoTestProvider"/>
-		</Extension>
-	</Module>
-</Addin>
+</ExtensionModel>

Modified: main/src/addins/MonoDeveloperExtensions/MonoDeveloperExtensions.csproj
===================================================================
@@ -20,9 +20,9 @@
     <Execution>
       <Execution clr-version="Net_2_0" />
     </Execution>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <DefineConstants>DEBUG</DefineConstants>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\MonoDeveloperExtensions\MonoDeveloperExtensions.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -34,8 +34,8 @@
       <Execution clr-version="Net_2_0" />
     </Execution>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\MonoDeveloperExtensions\MonoDeveloperExtensions.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\core\MonoDevelop.Core\MonoDevelop.Core.csproj">
@@ -77,6 +77,7 @@
     <Compile Include="MonoMakefileFormat.cs" />
     <Compile Include="Commands.cs" />
     <Compile Include="MonoSolutionItemHandler.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <EmbeddedResource Include="MonoDeveloperExtensions.addin.xml">

Added: main/src/addins/MonoDeveloperExtensions/NUnit/AddinInfo.cs
===================================================================
@@ -0,0 +1,6 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:AddinDependency ("NUnit", MonoDevelop.BuildInfo.Version)]

Added: main/src/addins/MonoDeveloperExtensions/NUnit/ExtensionModel.addin.xml
===================================================================
@@ -0,0 +1,7 @@
+<ExtensionModel>
+
+	<Extension path = "/MonoDevelop/NUnit/TestProviders">
+		<Class id = "MonoTestProvider" class = "MonoDeveloper.MonoTestProvider"/>
+	</Extension>
+
+</ExtensionModel>

Modified: main/src/addins/MonoDeveloperExtensions/NUnit/NUnit.csproj
===================================================================
@@ -21,9 +21,9 @@
       <Execution clr-version="Net_2_0" />
     </Execution>
     <AssemblyName>MonoDeveloperExtensions_nunit</AssemblyName>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <DefineConstants>DEBUG</DefineConstants>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDeveloperExtensions\MonoDeveloperExtensions_nunit.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -37,8 +37,8 @@
     </Execution>
     <AssemblyName>NUnit</AssemblyName>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\..\build\AddIns\MonoDeveloperExtensions\NUnit.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <ProjectReference Include="..\MonoDeveloperExtensions.csproj">
@@ -56,16 +56,27 @@
       <Name>MonoDevelop.NUnit</Name>
       <Private>False</Private>
     </ProjectReference>
+    <ProjectReference Include="..\..\..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj">
+      <Project>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</Project>
+      <Name>Mono.Addins</Name>
+      <Private>False</Private>
+    </ProjectReference>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="System" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="MonoTestProvider.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="Makefile.am" />
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <Import Project="..\..\..\..\md.targets" />
+  <ItemGroup>
+    <EmbeddedResource Include="ExtensionModel.addin.xml">
+      <LogicalName>ExtensionModel.addin.xml</LogicalName>
+    </EmbeddedResource>
+  </ItemGroup>
 </Project>

Added: main/src/addins/NUnit/AddinInfo.cs
===================================================================
@@ -0,0 +1,15 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("NUnit", 
+	Namespace = "MonoDevelop",
+	Version = MonoDevelop.BuildInfo.Version,
+	Category = "Testing")]
+
+[assembly:AddinName ("NUnit support")]
+[assembly:AddinDescription ("Integrates NUnit into the MonoDevelop IDE")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
+[assembly:AddinDependency ("Ide", MonoDevelop.BuildInfo.Version)]

Modified: main/src/addins/NUnit/MonoDevelop.NUnit.csproj
===================================================================
@@ -20,9 +20,9 @@
     <Execution>
       <Execution clr-version="Net_2_0" />
     </Execution>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <DefineConstants>DEBUG</DefineConstants>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\NUnit\MonoDevelop.NUnit.xml</DocumentationFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
@@ -34,8 +34,8 @@
       <Execution clr-version="Net_2_0" />
     </Execution>
     <DebugSymbols>true</DebugSymbols>
-    <GenerateDocumentation>true</GenerateDocumentation>
     <NoWarn>1591;1573</NoWarn>
+    <DocumentationFile>..\..\..\build\AddIns\NUnit\MonoDevelop.NUnit.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.core">
@@ -206,6 +206,7 @@
     <Compile Include="Gui\NUnitOptionsPanel.cs" />
     <Compile Include="gtk-gui\MonoDevelop.NUnit.NUnitOptionsWidget.cs" />
     <Compile Include="Services\TcpTestListener.cs" />
+    <Compile Include="AddinInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="Makefile.am" />

Modified: main/src/addins/NUnit/MonoDevelopNUnit.addin.xml
===================================================================
@@ -1,12 +1,4 @@
-<Addin id          = "NUnit"
-       namespace   = "MonoDevelop"
-       name        = "NUnit support"
-       author      = "Lluis Sanchez, John Luke"
-       copyright   = "MIT X11"
-       url         = "http://monodevelop.com"
-       description = "Integrates NUnit into the MonoDevelop IDE."
-       category    = "Testing"
-       version     = "4.2">
+<ExtensionModel>
 
 	<Runtime>
 		<Import assembly="MonoDevelop.NUnit.dll" />
@@ -16,11 +8,6 @@
 		<Import assembly="nunit.util.dll" />
 	</Runtime>
 	
-	<Dependencies>
-		<Addin id="Core" version="4.2"/>
-		<Addin id="Ide" version="4.2"/>
-	</Dependencies>
-	
 	<!-- Extension Points -->
 
 	<ExtensionPoint path = "/MonoDevelop/NUnit/TestProviders" name = "Test providers">
@@ -227,4 +214,4 @@
 			name = "TestRunnerArgs" type = "System.String" external="false" />
 	</Extension>
 
-</Addin>
+</ExtensionModel>


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches