Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 1131 [details]
simple test case with 2 buttons
Description of Problem:
When adding a new resource to an android xml file, the resource is generated correctly when building, as using it in code builds ok. However, intellisense for the new resource only appears after opening and closing the Resource.designer.cs file.
(Running MD 2.8.5 - there isn't a 2.8.5 in bugzilla for MD ... see bug 2659)
Steps to reproduce the problem:
1. Add a new button to Main.axml, giving it an id
2. In code reference the button through Resource.Id and build.
Everything builds ok, but typing Resource.Id. displays an intellisense list without the new button.
The button's id should appear in the intellisense list
How often does this happen?
I attached a trivial test case which is in a state where it has the new button and builds ok with code that references it, but the intellisense list doesn't show the button because I haven't opened Resource.Designer.cs.
We probably need to emit a file change notification after running the msbuild target.
Fixed in master.
*** Bug 3164 has been marked as a duplicate of this bug. ***
*** Bug 3264 has been marked as a duplicate of this bug. ***
Hi Michael, can you please advise how can we emit a file change notification after running the msbuild target ??
That's something that the addin does, it's not something you can do manually.
You may be able to work around this by switching focus to another app then back to MD, which would force MD to detect changes in all files of the project.
This is still an issue - just ran across it in a fresh project after starting to use MonoDroid.
=== Xamarin Studio ===
Version 5.5.3 (build 6)
Installation UUID: fb249e80-2b94-4e1a-bb82-1f0a76379e63
Mono 3.10.0 ((detached/e204655)
GTK+ 2.24.23 (Raleigh theme)
Package version: 310000023
=== Xamarin.Android ===
Version: 4.18.1 (Business Edition)
Android SDK: /Users/csvanefalk/Library/Developer/android-sdk-osx
Supported Android versions:
1.6 (API level 4)
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.0 (API level 11)
3.1 (API level 12)
4.0 (API level 14)
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)
4.4.87 (API level 20)
4.5 (API level 21)
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
=== Apple Developer Tools ===
Xcode 6.1 (6604)
=== Xamarin.iOS ===
Version: 188.8.131.52 (Business Edition)
Build date: 2014-10-22 15:09:12-0400
=== Xamarin.Mac ===
=== Build Information ===
Release ID: 505030006
Git revision: fbe3e9453daf6a3bb9a9709ed22bec35f7c9056b
Build date: 2014-10-23 13:08:38-04
Xamarin addins: e44add2b39de4dd57c0742bb2e620dfad84c64c6
=== Operating System ===
Mac OS X 10.10.0
Darwin Christophers-MacBook-Pro.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014