jfversluis / FilePicker-Plugin-for-Xamarin-and-Windows

FilePicker Plugin for Xamarin and Windows
MIT License
157 stars 80 forks source link

Nugget execute commands in class library project #193

Closed tuke307 closed 4 years ago

tuke307 commented 4 years ago

Expected Behavior

Project should execute the command in the application project(.net core) but want to execute in the class library(.net framework).

Actual Behavior

System.NotImplementedException: 'This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.'

Steps to Reproduce the Problem

  1. Create .net standard 2.0 project (with basic view-model code)
  2. Create .net framework 4.6.1 class library project (with WPF-specific view models and the nugget commands)
  3. Create .net core 3.0 WPF application project (with views)
  4. Install Nugget on every project and reference each project

Specifications

vividos commented 4 years ago

Support for .NET Core was only recently added and is only available in the latest beta NuGet, I believe. Could you test that please? Thanks

tuke307 commented 4 years ago

yes, it works fine with the newest beta.

vividos commented 4 years ago

Thanks for checking. I'm closing the ticket then.