MonoDevelop Addins: hello world, license and AnyCPU
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 11 Jan 2015 00:12:59 +0000 (01:12 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 11 Jan 2015 00:12:59 +0000 (01:12 +0100)
MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.sln
MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/Commands.cs
MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.addin.xml
MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.csproj
MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/ShowFilesDialog.cs

index 964b69a..b241160 100644 (file)
@@ -5,16 +5,155 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.HelloWorld", "M
 EndProject
 Global
        GlobalSection(SolutionConfigurationPlatforms) = preSolution
-               Debug|x86 = Debug|x86
-               Release|x86 = Release|x86
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
        EndGlobalSection
        GlobalSection(ProjectConfigurationPlatforms) = postSolution
-               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Debug|x86.ActiveCfg = Debug|x86
-               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Debug|x86.Build.0 = Debug|x86
-               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Release|x86.ActiveCfg = Release|x86
-               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Release|x86.Build.0 = Release|x86
+               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}.Release|Any CPU.Build.0 = Release|Any CPU
        EndGlobalSection
        GlobalSection(MonoDevelopProperties) = preSolution
+               Policies = $0
+               $0.DotNetNamingPolicy = $1
+               $1.DirectoryNamespaceAssociation = None
+               $1.ResourceNamePolicy = FileFormatDefault
+               $0.TextStylePolicy = $2
+               $2.FileWidth = 120
+               $2.TabsToSpaces = False
+               $2.inheritsSet = VisualStudio
+               $2.inheritsScope = text/plain
+               $2.scope = text/plain
+               $0.StandardHeader = $3
+               $3.Text = 
+               $3.IncludeInNewFiles = True
+               $0.NameConventionPolicy = $4
+               $4.Rules = $5
+               $5.NamingRule = $6
+               $6.Name = Namespaces
+               $6.AffectedEntity = Namespace
+               $6.VisibilityMask = VisibilityMask
+               $6.NamingStyle = PascalCase
+               $6.IncludeInstanceMembers = True
+               $6.IncludeStaticEntities = True
+               $5.NamingRule = $7
+               $7.Name = Types
+               $7.AffectedEntity = Class, Struct, Enum, Delegate
+               $7.VisibilityMask = Public
+               $7.NamingStyle = PascalCase
+               $7.IncludeInstanceMembers = True
+               $7.IncludeStaticEntities = True
+               $5.NamingRule = $8
+               $8.Name = Interfaces
+               $8.RequiredPrefixes = $9
+               $9.String = I
+               $8.AffectedEntity = Interface
+               $8.VisibilityMask = Public
+               $8.NamingStyle = PascalCase
+               $8.IncludeInstanceMembers = True
+               $8.IncludeStaticEntities = True
+               $5.NamingRule = $10
+               $10.Name = Attributes
+               $10.RequiredSuffixes = $11
+               $11.String = Attribute
+               $10.AffectedEntity = CustomAttributes
+               $10.VisibilityMask = Public
+               $10.NamingStyle = PascalCase
+               $10.IncludeInstanceMembers = True
+               $10.IncludeStaticEntities = True
+               $5.NamingRule = $12
+               $12.Name = Event Arguments
+               $12.RequiredSuffixes = $13
+               $13.String = EventArgs
+               $12.AffectedEntity = CustomEventArgs
+               $12.VisibilityMask = Public
+               $12.NamingStyle = PascalCase
+               $12.IncludeInstanceMembers = True
+               $12.IncludeStaticEntities = True
+               $5.NamingRule = $14
+               $14.Name = Exceptions
+               $14.RequiredSuffixes = $15
+               $15.String = Exception
+               $14.AffectedEntity = CustomExceptions
+               $14.VisibilityMask = VisibilityMask
+               $14.NamingStyle = PascalCase
+               $14.IncludeInstanceMembers = True
+               $14.IncludeStaticEntities = True
+               $5.NamingRule = $16
+               $16.Name = Methods
+               $16.AffectedEntity = Methods
+               $16.VisibilityMask = Protected, Public
+               $16.NamingStyle = PascalCase
+               $16.IncludeInstanceMembers = True
+               $16.IncludeStaticEntities = True
+               $5.NamingRule = $17
+               $17.Name = Static Readonly Fields
+               $17.AffectedEntity = ReadonlyField
+               $17.VisibilityMask = Protected, Public
+               $17.NamingStyle = PascalCase
+               $17.IncludeInstanceMembers = False
+               $17.IncludeStaticEntities = True
+               $5.NamingRule = $18
+               $18.Name = Fields
+               $18.AffectedEntity = Field
+               $18.VisibilityMask = Protected, Public
+               $18.NamingStyle = PascalCase
+               $18.IncludeInstanceMembers = True
+               $18.IncludeStaticEntities = True
+               $5.NamingRule = $19
+               $19.Name = ReadOnly Fields
+               $19.AffectedEntity = ReadonlyField
+               $19.VisibilityMask = Protected, Public
+               $19.NamingStyle = PascalCase
+               $19.IncludeInstanceMembers = True
+               $19.IncludeStaticEntities = False
+               $5.NamingRule = $20
+               $20.Name = Constant Fields
+               $20.AffectedEntity = ConstantField
+               $20.VisibilityMask = Protected, Public
+               $20.NamingStyle = PascalCase
+               $20.IncludeInstanceMembers = True
+               $20.IncludeStaticEntities = True
+               $5.NamingRule = $21
+               $21.Name = Properties
+               $21.AffectedEntity = Property
+               $21.VisibilityMask = Protected, Public
+               $21.NamingStyle = PascalCase
+               $21.IncludeInstanceMembers = True
+               $21.IncludeStaticEntities = True
+               $5.NamingRule = $22
+               $22.Name = Events
+               $22.AffectedEntity = Event
+               $22.VisibilityMask = Protected, Public
+               $22.NamingStyle = PascalCase
+               $22.IncludeInstanceMembers = True
+               $22.IncludeStaticEntities = True
+               $5.NamingRule = $23
+               $23.Name = Enum Members
+               $23.AffectedEntity = EnumMember
+               $23.VisibilityMask = VisibilityMask
+               $23.NamingStyle = PascalCase
+               $23.IncludeInstanceMembers = True
+               $23.IncludeStaticEntities = True
+               $5.NamingRule = $24
+               $24.Name = Parameters
+               $24.AffectedEntity = Parameter
+               $24.VisibilityMask = VisibilityMask
+               $24.NamingStyle = CamelCase
+               $24.IncludeInstanceMembers = True
+               $24.IncludeStaticEntities = True
+               $5.NamingRule = $25
+               $25.Name = Type Parameters
+               $25.RequiredPrefixes = $26
+               $26.String = T
+               $25.AffectedEntity = TypeParameter
+               $25.VisibilityMask = VisibilityMask
+               $25.NamingStyle = PascalCase
+               $25.IncludeInstanceMembers = True
+               $25.IncludeStaticEntities = True
+               $0.VersionControlPolicy = $27
+               $27.inheritsSet = Mono
                description = Just a simple Addin for MonoDevelopment IDE
                version = 1.0
        EndGlobalSection
index 9985036..d4a630d 100644 (file)
@@ -1,4 +1,19 @@
-using System.Linq;
+/**
+* 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.
+*/
+using System.Linq;
 using MonoDevelop.Components.Commands;
 using MonoDevelop.Ide;
 using MonoDevelop.Projects;
index f01bbae..72210c1 100644 (file)
@@ -1,4 +1,19 @@
 <?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.
+-->
 <Addin
     name        = "Hello World Addin"
     id          = "MonoDevelop.HelloWorld"
index c87221f..f7a233f 100644 (file)
@@ -2,33 +2,25 @@
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <ProjectGuid>{809465B8-CF04-41ED-B1C5-2C8EF6C5E73B}</ProjectGuid>
     <OutputType>Library</OutputType>
     <RootNamespace>MonoDevelop.HelloWorld</RootNamespace>
     <AssemblyName>MonoDevelop.HelloWorld</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
     <Description>Just a simple Addin for MonoDevelopment IDE</Description>
     <ReleaseVersion>1.0</ReleaseVersion>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <WarningLevel>4</WarningLevel>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
     <Optimize>false</Optimize>
     <OutputPath>bin\Debug</OutputPath>
-    <DefineConstants>DEBUG;</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <ConsolePause>false</ConsolePause>
-    <PlatformTarget>x86</PlatformTarget>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release</OutputPath>
-    <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <ConsolePause>false</ConsolePause>
-    <PlatformTarget>x86</PlatformTarget>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
index 5c109a1..bcbe6ed 100644 (file)
@@ -1,4 +1,19 @@
-using System;
+/**
+* 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.
+*/
+using System;
 using MonoDevelop.Projects;
 using System.Text;