Closed ChristianKleineidam closed 5 years ago
I tried it out with the sample project, but before the change to use multi-targeting. Can you also reproduce the error with the sample project? What .NET framework does the WPF project target?
I tested with the 4.6.1 and 4.6.2 .NET frameworks.
I created a sample project that compiles WPF and gets a System.NotImplementedException
.
When I try to build the sample project in the FilePicker project I get the error:
Severity Code Description Project File Line Suppression State
Error CS2001 Source file 'C:\Users\Christian\source\repos\FilePicker-Plugin-for-Xamarin-and-Windows-1\samples\Plugin.FilePicker.Sample.Forms\WPF\Properties\Resources.Designer.cs' could not be found. Plugin.FilePicker.Sample.Forms.WPF C:\Users\Christian\source\repos\FilePicker-Plugin-for-Xamarin-and-Windows-1\samples\Plugin.FilePicker.Sample.Forms\WPF\CSC 1 Active
Found the initial error; there was no .NET Framework assembly, so under WPF the ".NET Standard" version was used, which has no implementation. Will be fixed when #124 is merged.
Great, it now works for me.
Thanks for verifying!
In my App the FilePicker works in UWP/Android/iOS/macOS. When I click on the button for the FilePicker on XPF I get the error:
Does the XPF plugin need any special setup? Does it work for other people?
Specifications