Daniel Plaisted
Daniel Plaisted
@Sparksteam Can you send a PR to add support for building on the Mac? Once we have that merged then you can build the Mac DLL and send it to...
Usually you shouldn't include the PCLStorage binaries in your own NuGet package. Instead, your package should have a dependency on the PCLStorage package. By default, UWP libraries don't copy dependencies...
Can you list the APIs you would use on each of the platforms to get this path?
I think that now that System.IO file APIs are available everywhere, there's not much of a need for PCL Storage. Is there a reason not to just use those APIs...
Yes, a lot of the new ".NET Core" APIs are not currently available in PCLs targeting Xamarin. They should be eventually. So for now you would probably want to create...
I would prefer not to add synchronous APIs to the PCLStorage package itself. They will be obsolete once the System.IO APIs are available in PCLs. If you want a package...
I think Xamarin.Mac ends up using the .NET 4.5 version of PCL Storage. So it blows up at this line: https://github.com/dsplaisted/PCLStorage/blob/d1b905429d0686ed8dfdf03c26fe83ea3c5857ce/src/PCLStorage.FileSystem.Desktop/DesktopFileSystem.cs#L31 See also #28.
Try this: http://dotnetapis.com/pkg/PCLStorage/
PCL Storage uses the ["bait and switch"](http://log.paulbetts.org/the-bait-and-switch-pcl-trick/) pattern, so you do need to reference PCL storage from the VSIX even if you're not using it directly there.
Yes, try referencing the PCLStorage NuGet package from the VSIX project and let me know if that works. If not, perhaps VSIX projects work a little differently and you might...