I am trying to get file from PCL
project using PCLStorage
as below. I am using Xamarin in Visual Studio 2015 Professional.
IFile file = await FileSystem.Current.GetFileFromPathAsync("file\path");
But I am getting exception as:
System.NotImplementedException: This functionality is not implemented in the portable version of this assembly. You should reference the PCLStorage NuGet package from your main application project in order to reference the platform-specific implementation.