Bug 34540 - Auto complete / resolve / types completely hosed on new XM due to corrupted cache
Summary: Auto complete / resolve / types completely hosed on new XM due to corrupted c...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 5.10 (C6SR3)
Hardware: PC Mac OS
: High normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2015-10-02 16:49 UTC by Chris Hamons
Modified: 2015-10-05 01:34 UTC (History)
3 users (show)

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


Attachments
The corrupted cache (215.25 KB, application/zip)
2015-10-02 17:20 UTC, Chris Hamons
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 Chris Hamons 2015-10-02 16:49:52 UTC
0) Install C6 build (alpha)
1) Create new XM project 
2) Build (note that building works fine)
3) Note that AppKit/Foundation/Register/NSApplicationDelegate are all red
4) Right click any of them. Note that each of them wants you to reference Xamarin.Mac (which is already in the references list) before it will work.
5) Note that auto complete is totally busted.
Comment 1 Chris Hamons 2015-10-02 16:56:34 UTC
Rolling back to stable XM (Version: 2.0.2.111 (Business Edition)) had zero effect.
Comment 2 PJ 2015-10-02 16:57:21 UTC
I can't reproduce this using the current Alpha. 

Here's my attempt:

http://screencast.com/t/uHay5OS4

Here's my version information:

=== Xamarin Studio ===

Version 5.10 (build 804)
Installation UUID: a543a0ec-ca29-4f46-9d7a-9fb8715251af
Runtime:
	Mono 4.2.1 (explicit/4a18c57)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010056

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 9.2.0.67 (Business Edition)
Hash: f85a845
Branch: master
Build date: 2015-09-23 10:34:01-0400

=== Xamarin.Android ===

Version: 6.0.0.2 (Business Edition)
Android SDK: /Users/pjbeaman/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)
		6.0   (API level 23)

SDK Tools Version: 24.3.4
SDK Platform Tools Version: 23
SDK Build Tools Version: 22.0.1

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.5.6
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.4.0.62 (Business Edition)

=== Build Information ===

Release ID: 510000804
Git revision: 765a86581576d609121cf436d0258af148c8855f
Build date: 2015-09-25 14:19:15-04
Xamarin addins: 41159c93d09e2f45acc1861d81a7eebd98b34ffd
Build lane: monodevelop-lion-md-addins-pr-749

=== Operating System ===

Mac OS X 10.11.0
Darwin PJS-IMAC.local 15.0.0 Darwin Kernel Version 15.0.0
    Wed Aug 26 16:57:32 PDT 2015
    root:xnu-3247.1.106~1/RELEASE_X86_64 x86_64



Are there any parts of the environment that are different for you Chris? I have a PR build of XS installed, but that's it.
Comment 3 PJ 2015-10-02 16:57:47 UTC
I'll roll back to the XS in Alpha to be sure as well.
Comment 4 Chris Hamons 2015-10-02 17:00:16 UTC
I had 800 (current alpha). Trying 803 from pipeline.
Comment 5 PJ 2015-10-02 17:00:42 UTC
Same result with Alpha XS 5.10.0.800 (92083188182e8c4588153e0d63e99c1a7037e4b6), works for me here.
Comment 6 Chris Hamons 2015-10-02 17:16:35 UTC
It appears Library/Caches/XamarinStudio-5.0/DerivedData was corrupted somehow. Once I nuked it, that "fixed" it. Tracking down exact file shortly.
Comment 7 Chris Hamons 2015-10-02 17:20:35 UTC
Created attachment 13184 [details]
The corrupted cache

/Users/donblas/Library/Caches/XamarinStudio-5.0/DerivedData/Xamarin_Mac
Comment 8 Chris Hamons 2015-10-02 17:21:09 UTC
If I nuke my cache for XS, launch, then take that zip and apply it, then I get the "broken" behavior.
Comment 9 xamarin-release-manager 2015-10-05 01:34:55 UTC
Fixed in version 5.11.0.243 (master)

Author: Mike Kr??ger
Commit: 506e9df18ab681bdb6746eb4fccc67a990a57132 (mono/monodevelop)