As in the question title. I'm trying to migrate all my packages and projects of Xamarin.Forms projects to NETStandard 1.4 and currently using Xamarin.Forms 22.214.171.1246-pre6 since it's the only one support NETStandard 1.4 right now.
The problem is: when installing any packages in the PCL project (NETStandard 1.4), the dll of the PCL projects will not be copied to output folder of the iOS Project, which cause the error like: System.IO.FileNotFoundException: Could not load file or assembly xxx or one of its dependencies. Which is not case in the old PCL projects
I've attached a sample project to reproduce the bug:
Run the XamarinFormsDependencyTest.iOS and it will throw this bug:
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=126.96.36.199, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies.
Run the XamarinFormsDependencyTest2.iOS and it will run fine although the PCL still using Newtonsoft.Json.
I've tested in both VS 2015 Update 3 and VS 2017
So how do you i resolve this properyl. I don't want to install Newtonsoft.Json package directly in iOS project just to solve this error.