I am trying to build a Xamarin.iOS(runtime v4.0.30319) project but keep getting the following error
Severity Code Description Project File Line Suppression State Error Can not resolve reference: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.Tasks.Extensions.dll myApp.iOS C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets 795
When I look in C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Facades I can see System.Threading.Tasks.Extensions.dll exists.
and when I compare Xamarin.iOS.Common.targets on another machine that works, there are no differences
after extensive searching I have not been able find a solution. I have also tried:
- manually adding the .dll to the iOS project
- reinstalling the .netstandard framework which is used
- deleting the solution and pulling from source control (I'm the only one affected by this issue)
- compared my set up to other working set ups
Extra information (possibly irrelevant): This is a cross platform solution and when built in the android environment, everything works as expected.