"Error NU1107 Version conflict detected for. Here is an excerpt from the error message I received: The error message should say something about a package you need to reference or install. Here are the detailed instructions on how to resolve the issue: Hopefully in the future VS will implement a way to automatically resolve this but until then. It is due to dependency conflicts, and VS and nuget manager don't know what to do. In short, this error typically comes up when trying to install nuget packages or after installing them. Since this question has been viewed 6k times and here I am viewing it 2 years later I'll post a solution that might be helpful for others viewing this page. I had this same issue but did not understand how to solve it from the other answers. So, the solution for this issue is install the 27.0.2 first, then install the package Plugin.Share 7.1.1. In order to use the same version package, we have to update the referencing package to 27.0.2, which is supported by the referencing package Plugin.Share 7.1.1. So nuget will give you the error NU1107 Version conflict detected for. However, the package Plugin.Share 7.1.1 also have a indirect dependency (= 25.4.0.2), which lower than the already installed version 27.0.2. Is 7.MediaRouter 27.0.2, which have a indirect dependency (= 27.0.2). Just like the error message shows, the default package of Xamarin project To resolve this issue, please install the dependency with version 27.0.2 first, then install the package Plugin.Share 7.1.1. Got the same error message as you, if I install the package Plugin.Share 7.1.1 to my Xamarin with reference 7.MediaRouter 27.0.2. How to fix Xamarin/NuGet error NU1107? - “Version conflict detected for ”
0 Comments
Leave a Reply. |