Bug 14028 - Warning "Currently there is no project selected. Search in the solution instead" shown incorrectly
Summary: Warning "Currently there is no project selected. Search in the solution inste...
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: unspecified
Hardware: PC Linux
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-08-16 09:15 UTC by Andres G. Aragoneses
Modified: 2013-08-18 22:38 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 14028 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Andres G. Aragoneses 2013-08-16 09:15:53 UTC
When using the "Find in files" dialog, and choosing the filter "Current project", I just got the warning message "Currently there is no project selected. Search in the solution instead". However, in these circumstances this warning should not be shown, because I have a document open in the text editor, and that document belongs to a project in the solution.

So my guess is that the bug here is this dialog maybe relying on what is selected in the solution pad, instead of just relying on which project does the current document belong to.
Comment 1 Mike Krüger 2013-08-18 22:38:28 UTC
I think it's a general problem with the CurrentSelectedProjet - if a document is open that property should point to the project document if the project browser hasn't a selected project.