Bug 33337 - Reference to unknown project ignored
Summary: Reference to unknown project ignored
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Management ()
Version: 5.9
Hardware: PC Windows
: Normal normal
Target Milestone: 5.10 (C6)
Assignee: Matt Ward
URL:
Depends on:
Blocks:
 
Reported: 2015-08-24 15:48 UTC by Ilya
Modified: 2015-09-15 07:23 UTC (History)
3 users (show)

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


Attachments
After clicking "Create" button (25.51 KB, image/png)
2015-08-24 15:48 UTC, Ilya
Details
IDE Log file when error happens (4.37 KB, application/octet-stream)
2015-09-11 18:28 UTC, Michael
Details


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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Ilya 2015-08-24 15:48:16 UTC
Created attachment 12622 [details]
After clicking "Create" button

Hello,

I've faced a problem while creating new solution/project in Xamarin Studio.

I've found few posts with similiar issue that didn't solved:
- https://forums.xamarin.com/discussion/48609/reference-to-unknown-project-ignored-error-in-xamarin-studio
- https://forums.xamarin.com/discussion/32038/problem-creating-a-new-mobile-apps-solution

Steps to reproduce:
1. Open Xamarin Studio
2. Choose "New Solution..."
3. Choose Android -> Android App (C#)
4. Enter any valid App Name
5. Click "Next"
6. Click "Create"

I'm using Windows 8 (64x), Xamarin Studio 5.9.5.9-0

UPD: Just tried to update Xamarin Studio version to 5.9.5.10-0 and still have same issue

Ilya.
Comment 1 Matt Ward 2015-08-25 05:34:01 UTC
Can you attach the IDE log (Help - Open Log Directory) after you fail to create the Android project?

My guess is that some part of Xamarin.Android is not installed. You may be able to fix this by repairing the Xamarin install from Control Panel, but if you can get the IDE log first that would be helpful.
Comment 2 Michael 2015-09-11 18:21:59 UTC
I'm getting exactly the same problem on Mac Xamarin Studio 5.9.6.
Same repro steps.

After I click "Create" I get error "Reference to unknown project ignored",
the solution contains UITest project, but no actual application project
(which is probably the real reason behind 'Unknown project').
Comment 3 Matt Ward 2015-09-11 18:27:36 UTC
@Michael - Can you attach the IDE log? (Help - Open Log Directory).
Comment 4 Michael 2015-09-11 18:28:54 UTC
Created attachment 12877 [details]
IDE Log file when error happens
Comment 5 Matt Ward 2015-09-11 18:32:58 UTC
Thanks. From the IDE log:

  Xamarin.Android SDK not found, disabling Xamarin.Android addin

This means that Xamarin.Android has not been installed so the Android addin is disabled. In Xamarin Studio 5.10 if this happens the project templates will not be available. In Xamarin Studio 5.9 currently the project template will still be visible and Xamarin Studio will just ignore the Android project it cannot create but you end up seeing an error message since the UITest project references the Android project.

To fix the problem can you try repairing the Xamarin install from the Control Panel if you are on Windows. Otherwise you may need to reinstall Xamarin.
Comment 6 Matt Ward 2015-09-15 07:23:32 UTC
Marking this as fixed in Xamarin Studio 5.10. The "Reference to unknown project ignored" error should not occur in Xamarin Studio 5.10 since the Android project templates will be unavailable in the New Project dialog if Xamarin.Android is not installed.