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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/ProjectReferencePanel.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:
200
200
                                bool allowSelecting = true;
201
201
                                DotNetProject netProject = projectEntry as DotNetProject;
202
202
                                if (netProject != null) {
 
203
                                        string reason;
 
204
 
203
205
                                        if (ProjectReferencesProject (references, null, netProject, configureProject.Name)) {
204
206
                                                txt += " " + GLib.Markup.EscapeText (GettextCatalog.GetString ("(Cyclic dependencies not allowed)"));
205
207
                                                allowSelecting = false;
206
 
                                        }
207
 
                                    else if (!configureProject.TargetFramework.IsCompatibleWithFramework (netProject.TargetFramework.Id)) {
208
 
                                                txt += " " + GLib.Markup.EscapeText (GettextCatalog.GetString ("(Incompatible target framework: v{0})", netProject.TargetFramework.Id));
 
208
                                        } else if (!configureProject.CanReferenceProject (netProject, out reason)) {
 
209
                                                txt += " " + GLib.Markup.EscapeText ("(" + reason + ")");
209
210
                                                allowSelecting = false;
210
211
                                        }
211
212
                                }