Bug 56106 - Editing any /Resource file should ALWAYS re-generate Resource.Designer.cs
Summary: Editing any /Resource file should ALWAYS re-generate Resource.Designer.cs
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: 4.5.0 (15.2)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-08 19:21 UTC by Magnus Johansson
Modified: 2017-08-04 16:57 UTC (History)
11 users (show)

Tags:
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 on Developer Community 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 NOT_REPRODUCIBLE

Description Magnus Johansson 2017-05-08 19:21:51 UTC
Editing any /Resource file on Android should ALWAYS re-generate the Resource.Designer.cs file.

Now, it's easier to win on Euromillions than to get Visual Studio to realize that my .axml or /Menu/*.xml or any xml file is changed.
And there seems to be no way to firce re-generation.

Very frustrating and fragile.
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2017-05-08 20:15:04 UTC
## Non-engineering team preliminary cross-referencing, as a note to the Xamarin engineering teams

Bug 56082
Bug 55358
Comment 2 arvind.joshi 2017-05-09 01:04:41 UTC
In addition to causes identified in bug 56082, I have also seen that Resource Designer does not get updated when I remove an item from "drawable" folder. I use Xamarin Studio.
Comment 3 Alan McGovern 2017-06-21 20:50:14 UTC
Dean, is this an X.A build system bug? Shouldn't this regenerate as part of the IDE invoking the design time build targets? If so can you re-assign this to the appropriate component?
Comment 4 John Miller [MSFT] 2017-07-07 18:16:31 UTC
Thanks so much for taking the time to submit this report! I’m unable to reproduce this issue using the latest Visual Studio 15.3 preview builds. 

Please attach the following to help us reproduce this issue: 
-Detailed reproduction steps 
-Version information (Help → About Microsoft Visual Studio → Copy Info) 
-Logs (Help → Xamarin → Zip Logs (last 7 days)) 
-A sample project to reproduce your issue would help too
Comment 5 arvind.joshi 2017-07-07 20:27:28 UTC
Hi John,
There have been updates to Xamarin Studio since I first posted this issue and lately I have not faced it. Not sure if any of the upgrades to Xamarin Studio fixed it.

Thanks,
Arvind
Comment 6 Pierce Boggan [MSFT] 2017-08-04 16:57:58 UTC
Per Comment #5, I am marking this as RESOLVED-NOT_REPRODUCIBLE.