Bug 51379 - Resource.Designer.cs is not generated
Summary: Resource.Designer.cs is not generated
Status: RESOLVED ANSWERED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 4.2.0 (C8)
Hardware: PC Windows
: Normal normal
Target Milestone: 15.4
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-01-11 10:15 UTC by Pang
Modified: 2017-07-12 17:53 UTC (History)
5 users (show)

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


Attachments
Xamarin log - 12th Jan (8.71 KB, text/plain)
2017-01-12 02:41 UTC, Pang
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 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 ANSWERED

Description Pang 2017-01-11 10:15:28 UTC
We're moving from XS to VS2015Pro.
The Resource.Designer.cs can be generated successfully in XS but not in VS2015Pro.

The Xamarin log reveals this:

Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject Information: 0 : [2017-01-11 18:05:28.3581] designer model checker: ItemRemoved
Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject Error: 0 : [2017-01-11 18:05:28.8244] Xamarin.AndroidDesigner.Java.JavaErrorMessageException: The operation NotifyPathChange failed due to an internal error: No handler found for target: .
   at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidDesigner.DesignerProject.<NotifyResourceDirectoryProcessed>d__163.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject.<OnDesignerUpdate>d__72.MoveNext() in C:\data\lanes\3513\27a9b40a\source\xamarinvs\src\Core\VisualStudio.Android\ProjectSystem\MonoAndroidFlavoredProject.cs:line 595
Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject Information: 0 : [2017-01-11 18:05:42.5078] designer model checker: Build
Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject Information: 0 : [2017-01-11 18:05:52.5412] designer model checker: ItemRemoved
Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject Error: 0 : [2017-01-11 18:05:53.0513] Xamarin.AndroidDesigner.Java.JavaErrorMessageException: The operation NotifyPathChange failed due to an internal error: No handler found for target: .
   at Xamarin.AndroidDesigner.Java.JavaProcessConnection.<GetResponse>d__69.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.AndroidDesigner.DesignerProject.<NotifyResourceDirectoryProcessed>d__163.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject.<OnDesignerUpdate>d__72.MoveNext() in C:\data\lanes\3513\27a9b40a\source\xamarinvs\src\Core\VisualStudio.Android\ProjectSystem\MonoAndroidFlavoredProject.cs:line 595
Comment 1 Alan McGovern 2017-01-11 13:45:17 UTC
Can you attach the full log files from that session?
Comment 2 Pang 2017-01-12 02:41:28 UTC
Created attachment 19242 [details]
Xamarin log - 12th Jan
Comment 3 Pang 2017-01-12 02:43:15 UTC
The log for the session stated first post of this bug was deleted.
Please check the similar log which was reproduced today.
Comment 4 Juan Marcelo Tondato 2017-05-29 14:54:38 UTC
Moving to 15.3 to provide a proper solution
Comment 5 Chris Hardy [MSFT] 2017-07-07 20:42:19 UTC
Hey Pang, I just wanted to confirm that you're still seeing this with the latest 15.2 release and that this is a constant on going problem for you so we can take a look at this.

Thanks!
Comment 6 Pang 2017-07-10 01:29:40 UTC
Recently, we had changed our project structures and this issue seems to disappear.

We're not 100% sure if something have been fixed in latest Xamarin's releases or our project's structure change.

You may close it if there isn't any new report.
Comment 7 Jose Gallardo 2017-07-12 17:53:02 UTC
Hi @Pang,

I'm resolving the issue as answered, but please feel free to reopen it if needed.

Thanks