From: Gustavo Martin Morcuende Date: Sun, 11 Jan 2015 00:12:59 +0000 (+0100) Subject: MonoDevelop Addins: hello world, license and AnyCPU X-Git-Url: https://git.gumartinm.name/?p=CSharpForFun%2F.git;a=commitdiff_plain;h=0e46d1710e9102ce859a459ce30723d4ccd53f52 MonoDevelop Addins: hello world, license and AnyCPU --- diff --git a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.sln b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.sln index 964b69a..b241160 100644 --- a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.sln +++ b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.sln @@ -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 diff --git a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/Commands.cs b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/Commands.cs index 9985036..d4a630d 100644 --- a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/Commands.cs +++ b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/Commands.cs @@ -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; diff --git a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.addin.xml b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.addin.xml index f01bbae..72210c1 100644 --- a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.addin.xml +++ b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld.addin.xml @@ -1,4 +1,19 @@  + Debug - x86 + AnyCPU {809465B8-CF04-41ED-B1C5-2C8EF6C5E73B} Library MonoDevelop.HelloWorld MonoDevelop.HelloWorld - v4.5 Just a simple Addin for MonoDevelopment IDE 1.0 + v4.5 + + + true + bin\Release + 4 - + true - full false bin\Debug - DEBUG; - prompt - 4 - false - x86 - - - true - bin\Release - prompt 4 - false - x86 diff --git a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/ShowFilesDialog.cs b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/ShowFilesDialog.cs index 5c109a1..bcbe6ed 100644 --- a/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/ShowFilesDialog.cs +++ b/MonoDevelop/addins/MonoDevelop.HelloWorld/MonoDevelop.HelloWorld/ShowFilesDialog.cs @@ -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;