diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2010-11-19 11:04:40 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@novell.com> | 2010-11-19 11:04:40 +0300 |
commit | dbff314578ce5513cb0bd026a43b7897399a5bd3 (patch) | |
tree | 4f21accff34c58e80dcd6c14c460ec03e3ce28cc | |
parent | 561a6eb75450438f9419d7fb9711101eb5e68c89 (diff) |
Allow multiple instances of ImportAddinAssembly and ImportAddinFile
-rw-r--r-- | Mono.Addins/Mono.Addins/ImportAddinAssemblyAttribute.cs | 1 | ||||
-rw-r--r-- | Mono.Addins/Mono.Addins/ImportAddinFileAttribute.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Mono.Addins/Mono.Addins/ImportAddinAssemblyAttribute.cs b/Mono.Addins/Mono.Addins/ImportAddinAssemblyAttribute.cs index 0e3bd6c..2ef0f1b 100644 --- a/Mono.Addins/Mono.Addins/ImportAddinAssemblyAttribute.cs +++ b/Mono.Addins/Mono.Addins/ImportAddinAssemblyAttribute.cs @@ -41,6 +41,7 @@ namespace Mono.Addins /// This information is also used by setup tools to know exactly what needs to be packaged when creating /// an add-in package, or to know what needs to be deleted when removing an add-in. /// </remarks> + [AttributeUsage (AttributeTargets.Assembly, AllowMultiple = true)] public class ImportAddinAssemblyAttribute: Attribute { string filePath; diff --git a/Mono.Addins/Mono.Addins/ImportAddinFileAttribute.cs b/Mono.Addins/Mono.Addins/ImportAddinFileAttribute.cs index 15607fd..3db6f8f 100644 --- a/Mono.Addins/Mono.Addins/ImportAddinFileAttribute.cs +++ b/Mono.Addins/Mono.Addins/ImportAddinFileAttribute.cs @@ -39,6 +39,7 @@ namespace Mono.Addins /// This information is used by setup tools to know exactly what needs to be packaged when creating /// an add-in package, or to know what needs to be deleted when removing an add-in. /// </remarks> + [AttributeUsage (AttributeTargets.Assembly, AllowMultiple = true)] public class ImportAddinFileAttribute: Attribute { string filePath; |