[Bug] WPF runtime issue #10489
Comments
You need to use a .NET Framework WPF app with Forms. |
@hartez there was a PR to update allow use .NET CORE with WPF |
@VladislavAntonyuk You are correct. And the PR was merged on the 15th, and that nightly was built on the 23rd. So the support should be there. |
@hartez I updated to 4.8 build, and was able to run the app, but the content is not rendered and on window maximize app crashes. |
@VladislavAntonyuk Can you confirm if the PR you did here worked for you when running the WPF ControlGallery? Currently the WPF Gallery doesn't run it just crashes with a cannot find dll error. The gallery works fine before #10736 but not after it so I wonder if the netcoreapp3.1 targets have ever really worked |
It worked on my dev env. I also use net5 now with nightly build for wpf and it works |
I decided not to close it because we have an issue with ControlGallery. But I still can build and execute it locally. Could it be some kind of cached data? |
Well I see, modify line 3 of csproj to netcoreapp3.1 (remove net461) and now it works. But works fine with net5.0 |
fixes xamarin#10489 * Add assembly version infos * Update Xamarin.Forms.Platform.WPF/Properties/AssemblyInfo.cs Co-authored-by: Rui Marinho <me@ruimarinho.net>
fixes xamarin#10489 * Add assembly version infos * Update Xamarin.Forms.Platform.WPF/Properties/AssemblyInfo.cs Co-authored-by: Rui Marinho <me@ruimarinho.net>
Description
FileNotFoundException: Could not load file or assembly 'Xamarin.Forms.Platform.WPF, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Steps to Reproduce
Expected Behavior
app runs
Actual Behavior
content is not rendered
crash
Basic Information
The text was updated successfully, but these errors were encountered: