PCL Content Importer building errors

I am currently trying to take a PCL Monogame Content Importer to handle loading my Json Serialized game objects but what builds fine in code fails in the “build” of the monogame content pipeline tool with the following error -

Importer ‘AnimationEditorImporter’ had unexpected failure!
System.NotImplementedException: This functionality is not implemented in the portable version of this assembly.
You should reference the PCLExt.FileStorage NuGet package from your main application project in order to reference the platform-specific implementation.
at PCLExt.FileStorage.Files.FileFromPath.GetFileFromPath(String path)
at PCLExt.FileStorage.Files.FileFromPath.ctor(String path)

I have tried to add a reference to the PCLExt.FileStorage library I am using the “read” in my JSON file in the Monogame Pipeline Tool so I can use Newtonsoft.Json to Deserialize it back into an object when loading but it does not seem to do anything for me.

What am I missing here or is there library or way to read files in a PCL library that are known to work with the Monogame content pipeline?

Here is my very basic Content Importer’s Code.

[ContentImporter(".json", DisplayName = “Json Importer”, DefaultProcessor = “”)]
public class AnimationEditorImporter : ContentImporter
{
public override Actor Import(string filename, ContentImporterContext context)
{
context.Logger.LogMessage(“Importing Actor file: {0}”, filename);

  BaseFile file = new FileFromPath(filename);
  using (var reader = new StreamReader(file.Open(FileAccess.Read)))
    return JsonConvert.DeserializeObject<Actor>(reader.ReadToEnd());
}

}

Basically as soon as file.Open is called the build freaks out saying it is not implemented in the portable version.

Thanks

I seem to have gotten around this issue. I referenced in the “Game Project” the NuGet package for this and it seems to now get past it complaining now about FileNotFound so I guess that is the answer. Not only do you have to reference in the Monogame Pipeline tool the assembly’s but also in the Game Project as well.

Has anyone seem to ran into issues with the pipeline tool not able to import Newtonsoft.Json library’s?

I cannot get this thing to find the DLL and it just errors with the following not found exception –
System.Exception: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, etc.

Odd thing is I have no idea where it is trying to find that version as it is NOT the version that is linked in my “Monogame Content Importer Library” or even the "Game’’ as those are all referencing v11.0.2 and is also the version I am linking in the Pipeline tool as well.

I am linking these with absolute paths also if that is somehow an issue (which I dont see how they would have wrote it to not allow that…)

Any help would be greatly appreciated.

Thanks