MonoDevelop Addins: hello world, .addin.xml improvements, addin-project.xml and READM...
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 11 Jan 2015 14:21:21 +0000 (15:21 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 11 Jan 2015 14:21:21 +0000 (15:21 +0100)
MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.addin.xml
MonoDevelop/addins/MonoDevelop.HelloWorld/README.md [new file with mode: 0644]
MonoDevelop/addins/MonoDevelop.HelloWorld/addin-project.xml [new file with mode: 0644]

index 72210c1..67a3562 100644 (file)
  limitations under the License.
 -->
 <Addin
-    name        = "Hello World Addin"
     id          = "MonoDevelop.HelloWorld"
     namespace   = "MonoDevelop.HelloWorld"
-    author      = "Gustavo Martin Morcuende"
-    copyright   = "Apache License, Version 2"
-    url         = "http://gumartinm.name"
-    description = "Just a simple Addin for MonoDevelopment IDE"
-    category    = "HelloWorld Category"
     version     = "1.0">
 
+    <Header>
+        <Name>Hello World Addin</Name>
+        <Name locale="ca-ES">Hola Món Addin</Name>
+        <Name locale="de-DE">Hallo Welt Addin</Name>
+        <Name locale="es-ES">Hola Mundo Addin</Name>
+        <Author>Gustavo Martin Morcuende</Author>
+        <Copyright>Apache License, Version 2</Copyright>
+        <Url>http://gumartinm.name</Url>
+        <Description>Just a simple Addin for MonoDevelopment IDE</Description>
+        <Category>HelloWorld Category</Category>
+        <UpdateRank>Important</UpdateRank>
+        <ReleaseNotes>
+            {{1.0, 2015-01-11}}
+            Release notes for 1.0: My first MonoDevelop Addin.
+        </ReleaseNotes>
+    </Header>
+
     <Runtime>
     </Runtime>
     <Extension path = "/MonoDevelop/Ide/Commands">
diff --git a/MonoDevelop/addins/MonoDevelop.HelloWorld/README.md b/MonoDevelop/addins/MonoDevelop.HelloWorld/README.md
new file mode 100644 (file)
index 0000000..c6fe971
--- /dev/null
@@ -0,0 +1,13 @@
+1. Create Addin:
+
+xbuild (MonoDevelop.HelloWorld.sln being in the same path)
+
+
+2. Packaging an add-in, from: http://www.monodevelop.com/developers/articles/publishing-an-addin/
+
+mdtool setup pack MonoDevelop.HelloWorld/bin/Release/MonoDevelop.HelloWorld.dll
+
+(it creates a .mpack file) MonoDevelop.HelloWorld.MonoDevelop.HelloWorld_1.0.mpack (it can be installed from the MonoDevelop GUI.
+
+
+3. The installed Addins from the GUI are located in: ~/.local/share/MonoDevelop-5.0/LocalInstall/Addins/
diff --git a/MonoDevelop/addins/MonoDevelop.HelloWorld/addin-project.xml b/MonoDevelop/addins/MonoDevelop.HelloWorld/addin-project.xml
new file mode 100644 (file)
index 0000000..76e4dec
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Copyright 2015 Gustavo Martin Morcuende
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<AddinProject appVersion="5.0">
+  <Project platforms="Mac Linux Win32">
+    <AddinFile>MonoDevelop.HelloWorld/bin/Release/MonoDevelop.HelloWorld.dll</AddinFile>
+    <BuildFile>MonoDevelop.HelloWorld.sln</BuildFile>
+    <BuildConfiguration>Release</BuildConfiguration>
+  </Project>
+</AddinProject>