Closed jeanplevesque closed 2 years ago
@jeanplevesque Do you have a repro project?
@jeanplevesque Do you have a repro project?
Sadly no. ☹ However I'm not having this bug anymore. It might have been an issue with my dev environment.
Thanks JP, let's close it for now then.
Current behavior
When I build my Android app, I get the following output.
1>MSBUILD : error : Generation failed: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Generation failed for Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator. System.AggregateException: One or more errors occurred. ---> System.Exception: Processing failed for file Views\Styles\MergedResourceDictionaries.xaml (System.InvalidOperationException: The type c:ReferencePictureViewer could not be found
The error is confusing because there's nothing called
ReferencePictureViewer
in the application's code.Full error:
Expected behavior
There should not be any build errors because the same code works for other people. OR The error message gives indication on what to do to resolve the problem.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
No response
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia, Uno.SourceGenerationTasks
NuGet package version(s)
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
17.1.1
Relevant plugins
No response
Anything else we need to know?
The app is using Uno.XamlMerge.Task.
I've tried the classics, namely: