After upgrading to XF 4.0.0 SR1 I can no longer compile my solution.
Error | 聽 | Position 5:14. Missing a public static GetAutowireViewModel or a public instance property getter for the attached property "Prism.Mvvm.ViewModelLocator.AutowireViewModelProperty" | TestCase | C:\Users\Administrator\Documents\Code\TestCase\TestCase\TestCase\Views\TestPage.xaml 聽
Clean compile
Compile failure
Error | 聽 | Position 5:14. Missing a public static GetAutowireViewModel or a public instance property getter for the attached property "Prism.Mvvm.ViewModelLocator.AutowireViewModelProperty" | TestCase | C:\Users\Administrator\Documents\Code\TestCase\TestCase\TestCase\Views\TestPage.xaml
I have exactly the same issue without using Prism, with the following errors
No property, bindable property, or event found for 'BackgroundColor', or mismatching type between value and property.
No property, bindable property, or event found for 'ItemTemplate', or mismatching type between value and property
No property, bindable property, or event found for 'Content', or mismatching type between value and property
IDE: VS2019
XF: 4.0.0.471375
@ValonK I think you need to clean and rebuild your solution. If that does not work, can you please attach a project reproducing the problem? Are you using Shell? Thanks
@samhouts I have cleaned, deleted obj+bin, cleared nuget cache... nothing seems to work. No I'm not using Shell, yeah sure I will upload a sample later
Test case attached. Cleaning solution does not resolve this issue.
This also applies to the package PancakeView - missing CornerRadiusProperty, Not sure If I need to open a new issue for this.
Thanks for the reports! We're pretty sure we know what's going on, and yes, these all have the same root cause. We'll be releasing a fix as soon as we can.
same problem, clean up, deleted bin and obj folder then rebuild but still can't compile project
Thanks for the report! We've decided to pull SR1 from NuGet, so we recommend rolling back to the previous stable version of 4.0.0 for the time being. SR2 is being prepared as we speak! Sorry for the inconvenience, and thank you for your patience!!
great to hear that @samhouts
SR2 is now live on NuGet. Thanks again for the quick reports! Let us know if you find any other issues.
awesome!
Where can we find the release notes? Can't find it in docs, or the release tabs here in Github
Most helpful comment
Thanks for the reports! We're pretty sure we know what's going on, and yes, these all have the same root cause. We'll be releasing a fix as soon as we can.