Uno.SourceGeneration | A Roslyn based C # source generation framework | Code Editor library
kandi X-RAY | Uno.SourceGeneration Summary
kandi X-RAY | Uno.SourceGeneration Summary
A Roslyn based C# source generation framework
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Uno.SourceGeneration
Uno.SourceGeneration Key Features
Uno.SourceGeneration Examples and Code Snippets
Community Discussions
Trending Discussions on Uno.SourceGeneration
QUESTION
I have it working perfectly with the UWP application but as soon as I try run the Droid version I get the following error :-
Error Generation failed: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Generation failed for Uno.UI.SourceGenerators.RemoteControl.RemoteControlGenerator.System.MissingMethodException: Method not found: 'Microsoft.CodeAnalysis.Compilation Uno.SourceGeneration.SourceGeneratorContext.get_Compilation()'.
I'm not sure where to look next. Any pointers? I would really like to continue using Refit with my REST API.
Thanks G
...ANSWER
Answered 2020-May-05 at 18:33Refit 5.0 is not compatible with Uno.SourceGeneration 2.0 (used by Uno), as it loads up a Roslyn version that is different from the one used used by the Uno source generators during the build.
This is the reason you're seeing this error of method not found.
There are multiple ways to fix this (e.g. AppDomainIsolatedTask), but it cannot be done on the user's side.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Uno.SourceGeneration
By default, in some cases, the source generation host will run into an internal error, and will exit without providing details about the generation error.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page