• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 128
  • Last Modified:

Visual Studio 2017 Unable to resolve dependencies

I am trying to add the Microsoft.AspNetCore.Cors Nuget package to my Visual Studio 2017 project. I am getting this error:
"Unable to resolve dependencies. System.Globalization.Calendars 4.0.1 is not compatible with NetStandard Library 1.6.1 constraint: System.Globalization.Calendars (>=4.3.0)".
The System.Globalization.Calendars package is installed. I've tried taking it out. When I do that and try to install Cors, it tells me it can't find a version of System.Globalization.Calendarsthat is compatible with NetStandard.Library 1.6.1. Any idea what I am missing? Thank you.
0
dodgerfan
Asked:
dodgerfan
1 Solution
 
sarabandeCommented:
there are younger versions of the calendars package available up to version 4.4. for example at

    https://api.haxe.org/cs/system/globalization/Calendar.html

also in msdn the current version is 4.3. so, you should try to find out why the package you were using was not updated when installing new vs 2017. it could help to use the installer and add some more optional components. do you still have older versions of visual studio installed? is it possible that your builds are not using the newest libraries coming with vs2017?

Sara
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now