First of all thank you so much for reacting to my issue as fast as you did (#797)! I really appreciate it!
I am getting a similar error, but this time looking for 'Forms' in FFImageLoading instead. 'Error' after updating 2.2.23:
[error]Xamarin\SampleApp\obj\Debug\SampleApp.Views.PurchaseOptionButtonView.xaml.g.cs(18,40): Error CS0234: The type or namespace name 'Forms' does not exist in the namespace 'FFImageLoading' (are you missing an assembly reference?)
This time, the amount of warnings have been cut in half (see below) , is there a workaround for this issue as well?
2017-11-04T14:27:25.1058233Z ##[warning]C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): Warning MSB3274: The primary reference "FFImageLoading.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111".
2017-11-04T14:27:25.1058233Z C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3274: The primary reference "FFImageLoading.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
2017-11-04T14:27:25.1068227Z ##[warning]C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): Warning MSB3275: The primary reference "FFImageLoading.Forms, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "FFImageLoading.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111".
2017-11-04T14:27:25.1068227Z C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3275: The primary reference "FFImageLoading.Forms, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "FFImageLoading.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
This fix was also applied to Forms packages. Are you sure:
bin / obj directories, then cleaned & rebuild you solution?I double checked and we have the same package version in every project. (2.2.23)
As far as cleaning the bin/obj. I will have to see if I can do that, I am using the hosted agent in VSTS (building locally has always been fine). I'll look into that and get back to you!
Was the fix also applied 'FFImageLoading.Platform' as well? This seems to be the one getting this warning this time around. I really appretiate the help!
Unluckily, missed this one. It's fixed now, new build soon. Sorry.
Thanks for the quick update @daniel-luberda. Any idea when I should check back for the new build?
The update worked perfectly. Thank you @daniel-luberda 馃帀