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.
Do we need to build after template creation? I think not..
Is this a problem?
Normal Xamarin Studio behavior is to call the UpdateAndroidResources target whenever the Resources directory is changed so that Resources.Designer.cs is updated to correspond to the changes in the Resources directory, allowing Code Completion to accurately show what resources are available.
(Visual Studio does not currently do this, meaning code completion on the Resources type won't work until a Build has been performed.)
Arguably this isn't necessary when the project is first created, as the template Resource.Designer.cs should accurately match the default template, but that said...is it important to avoid calling the UpdateAndroidResources target on initial project creation?
There are two minor problems really. The first is that although the target is called "behind the scenes", it's taking over the build pad, which is confusing. The second is that the target is being called for new projects, even though they should be up to date already.
I'm not sure we can get rid of the initial resgen, I tried it and the designer broke because none of the strings were registered properly so I've left that as is.
I have changed the behaviour so that it does not use the build output anymore, if there are any errors from running UpdateAndroidResources they are surfaced in another pad which is hidden / removed in the "normal" or successful state - it only appears when there are errors resulting from running UpdateAndroidResources.
I have checked this issue with C7 latest build and observed that now this issue works fine. It is not creating Build Output automatically on creating an android project from any template.
=== Xamarin Studio Business ===
Version 6.0 (build 5106)
Installation UUID: 561c7a69-0a91-4bae-ad7c-f0c79d594337
Mono 4.4.0 (mono-4.4.0-branch/54fa9c6) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 404000150
=== Xamarin.Profiler ===
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 7.2 (9548)
=== Xamarin.iOS ===
Version: 126.96.36.1999 (Xamarin Business)
Build date: 2016-04-27 14:54:14-0400
=== Xamarin.Android ===
Version: 188.8.131.52 (Xamarin Business)
Android SDK: /Users/tajinder/Desktop/android-sdk-macosx
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)
4.4.87 (API level 20)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.2
Java SDK: /usr
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
Android Designer EPL code available here:
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 184.108.40.2069 (Xamarin Business)
=== Build Information ===
Release ID: 600005106
Git revision: f5dc54326cf880c90d092bea7f7388c05ee698bc
Build date: 2016-04-26 15:30:12-04
Xamarin addins: 7d85147c75b6dbb4b351906636ef76fdf60307c2
Build lane: monodevelop-lion-cycle7
=== Operating System ===
Mac OS X 10.10.5
Darwin Tajinders-iMac.local 14.5.0 Darwin Kernel Version 14.5.0
Wed Jul 29 02:26:53 PDT 2015
=== Enabled user installed addins ===
Addin Maker 1.3.1
NuGet Package Management Extensions 0.10.1
Test Template Parameters 0.4
JSON Copy 1.1