-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Xamarin.Forms with WPF build issue #13217
Comments
Did anybody solve this? |
I think it is not a problem, since many experimental controllers and converters have been remove in |
Same issue here, and the solution which the author provided works. It only happens on .NET Core version or .NET 5 version of WPF. .NET Framework WPF doesn't have this issue. Also, I'm not sure if this is caused by Xamarin.Forms or not, because this issue appears as soon as WPF project is created without any modification, and the error belongs to WPF project, not Xamarin Forms project. |
Same problem that is only found when trying to compile the WPF .NET 5.0 application. Running version Xamarin.Forms 5.0.0.2012
Was resolved with the author's solution. |
Taking into consideration the remaining lifetime of Xamarin.Forms, the platform this is about, the age of this issue and the traction this issue has seen I think it's unlikely that this will get fixed. If it is something that you still would like to have, please consider opening a PR. Thanks! |
As previously described by @schnerring, there is still an issue with XamlC XFC0000 compilation errors for XF in WPF.
Environment:
Error : XamlC error XFC0000 : Cannot resolve type "Application".
Repro: https://github.com/schnerring/XamarinWPFCompilationBug
I found a fix I don't understand in this article which I think is what @dfyx meant with removing the EmbeddedResource build action. I couldn't find anything about that in the official docs.
I added the fix to my repro code inside the csproj file and commented it:
As soon as you uncomment, the project compiles successfully.
Originally posted by @schnerring in #11101 (comment)
The text was updated successfully, but these errors were encountered: