diff options
author | Lluis Sanchez <lluis@novell.com> | 2010-01-28 22:39:14 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2010-01-28 22:39:14 +0300 |
commit | 7d87287fa5a0da1b885774b3227e363938c1f0b8 (patch) | |
tree | f1e73d065ac80a3202b1737ceb33f9a33cd80f51 /extras/MonoDevelop.AddinAuthoring | |
parent | b88f4be8b5bc374bc4d8fafec1f9a25ab54f91c0 (diff) |
* MonoDevelop.AddinAuthoring/AddinAuthoringService.cs:
* MonoDevelop.AddinAuthoring/AddinDescriptionDisplayBinding.cs: Track
api changes.
svn path=/trunk/monodevelop/; revision=150397
Diffstat (limited to 'extras/MonoDevelop.AddinAuthoring')
3 files changed, 15 insertions, 2 deletions
diff --git a/extras/MonoDevelop.AddinAuthoring/ChangeLog b/extras/MonoDevelop.AddinAuthoring/ChangeLog index 6f4c909ea5..08d84a2854 100644 --- a/extras/MonoDevelop.AddinAuthoring/ChangeLog +++ b/extras/MonoDevelop.AddinAuthoring/ChangeLog @@ -1,3 +1,9 @@ +2010-01-28 Lluis Sanchez Gual <lluis@novell.com> + + * MonoDevelop.AddinAuthoring/AddinAuthoringService.cs: + * MonoDevelop.AddinAuthoring/AddinDescriptionDisplayBinding.cs: + Track api changes. + 2009-12-01 Lluis Sanchez Gual <lluis@novell.com> * MonoDevelop.AddinAuthoring/AddinData.cs: diff --git a/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinAuthoringService.cs b/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinAuthoringService.cs index 4633966677..e8e1aabea8 100644 --- a/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinAuthoringService.cs +++ b/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinAuthoringService.cs @@ -340,11 +340,15 @@ namespace MonoDevelop.AddinAuthoring [Extension] public class MonoAddinsMSBuildImportProvider: IMSBuildImportProvider { - public IEnumerable<string> GetRequiredImports (SolutionEntityItem item) + const string import = @"$(MSBuildExtensionsPath)\Mono.Addins.targets"; + + public void UpdateImports (SolutionEntityItem item, List<string> imports) { DotNetProject project = item as DotNetProject; if (project != null && project.GetAddinData () != null) - yield return @"$(MSBuildExtensionsPath)\Mono.Addins.targets"; + imports.Add (import); + else + imports.Remove (import); } } } diff --git a/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinDescriptionDisplayBinding.cs b/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinDescriptionDisplayBinding.cs index 304f50d37e..bb4af54199 100644 --- a/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinDescriptionDisplayBinding.cs +++ b/extras/MonoDevelop.AddinAuthoring/MonoDevelop.AddinAuthoring/AddinDescriptionDisplayBinding.cs @@ -69,5 +69,8 @@ namespace MonoDevelop.AddinAuthoring throw new NotImplementedException(); } + public bool CanUseAsDefault { + get { return true; } + } } } |