Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How can I suppress different System.Net.Http version warnings in Visual Studio mac?

I have this persistent warning in my iOS app that lots of folks get:

/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(5,5): Warning MSB3277: Found conflicts between different versions of "System.Net.Http" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. (MSB3277)

I'm not using the NuGet System.Net.Http package so why would there be a version issue? Searching on this issue produces several results, and for the most part it seems to be a spurious warning. So I've tried to suppress it by adding 'MB3277' and '3277' in the Options->Build->Compiler->Warnings->Ignore warnings - but it doesn't work. What's the correct error number for this?

I'm stuck on this and it's preventing me from using TestFlight and going forward.



Best Answer


Sign In or Register to comment.