Nuget package update to support xamarin unified
I am trying to get my pcl to build correctly into a nuget package. I have upgraded to xamarin beta and I have upgraded nuget to 2.8.5, however I get the following error when building the package:
Problem. Invalid frame folder.
Description: The Xamarin.iOS10 folder under lib is not recognized as a valid frame name or supported culture ID.
Decision. Rename it to a valid frame name.
If I just use MonoTouch, I don't get the error, nut, then the nuget package is not installed correctly.
source to share
I suspect you are not using the latest NuGet version. The product version must be 2.8.3 or higher. The build version will be 2.8.5.x, which can be a little confusing.
If you are using NuGet.exe, run the following version of the program:
NuGet.exe update -self
You should see the result:
Checking for updates from https://www.nuget.org/api/v2/.
Currently running NuGet.exe 2.8.3.
NuGet.exe is up to date.
Then run:
NuGet.exe pack YourNuSpec.nuspec
Also note that the invalid frame message is only a warning. The NuGet package will still build using the correct lib directories, even if you are using an older version of NuGet.exe that does not recognize the Xamarin.iOS framework.
source to share