[MVUX] Model with no namespace set causes FeedsGenerator error #2213
Labels
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
Since namespaces are not mandatory, you can create a model in the global namespace eg
Unfortunately this causes a FeedsGenerator
...Uno.Extensions.Reactive.Generator\Uno.Extensions.Reactive.Generator.FeedsGenerator\MainModel.g.cs(15,68,15,85): error CS0400: The type or namespace name 'BindableMainModel' could not be found in the global namespace (are you missing an assembly reference?)
This seems to be because in the ViewModelMappings file we end up with:
But BindableMainModel isn't found in the global namespace (hence the error!)
Expected behavior
No error, or a meaningful warning
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: