~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectReference.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
                        }
214
214
                }
215
215
 
 
216
                [ItemProperty ("Aliases", DefaultValue="")]
 
217
                public string Aliases { get; set; }
 
218
 
216
219
                public bool IsValid {
217
220
                        get { return string.IsNullOrEmpty (ValidationErrorMessage); }
218
221
                }
235
238
                                        if (ownerProject != null && ownerProject.ParentSolution != null) {
236
239
                                                DotNetProject p = ownerProject.ParentSolution.FindProjectByName (reference) as DotNetProject;
237
240
                                                if (p != null) {
238
 
                                                        if (!ownerProject.TargetFramework.IsCompatibleWithFramework (p.TargetFramework.Id))
 
241
                                                        if (!ownerProject.TargetFramework.CanReferenceAssembliesTargetingFramework (p.TargetFramework))
239
242
                                                                return GettextCatalog.GetString ("Incompatible target framework ({0})", p.TargetFramework.Name);
240
243
                                                }
241
244
                                        }