C # install-package: "XX" already has a dependency defined for "XXX"

Source: Internet
Author: User

Maybe the version of NuGet itself is behind the version of the adaptation package

Visual Studio 2013 Update NuGet Package Manager

    • Ø Preface

When you use the NuGet Package Manager in Visual Studio to download a program, you may sometimes get a similar error:"Newtonsoft.json" already has a dependency defined for "Netstandard.library".

The effective way to resolve this error is to update the NuGet Package Manager, as shown in Visual Studio Ultimate 2013 below, for specific steps to update the NuGet Package Manager.

    1. 1. Open Visual Studio 2013.
    2. 2. Select extensions and Updates, tools, menu bar.
    3. 3. in the "Installed" option, locate the NuGet Package Manager and uninstall it.

    1. 4. After uninstalling the NuGet Package Manager, restart Visual Studio and repeat step 2.
    2. 5. Search for "NuGet" in the "online" option, select NuGet package Manager to download and install automatically when the download is complete.

    1. 6. After the installation is complete, restart Visual studio,ok.

    • Ø Summary

In fact, updating the NuGet Package Manager is a process of uninstalling and installing.

C # install-package: "XX" already has a dependency defined for "XXX"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.