Git Product home page Git Product logo

Comments (7)

cgranade avatar cgranade commented on July 29, 2024

Thanks for the report! It looks like when you ran dotnet tool install, it didn't look at nuget.org to try and find the package. Would you be willing to share the contents of your NuGet.Config file? Typically that's under AppData/Roaming/NuGet/NuGet.Config in your user directory. Thanks!

from quantum-docs-pr.

vpyvovar avatar vpyvovar commented on July 29, 2024
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <activePackageSource>
    <add key="nuget.org" value="https://www.nuget.org/api/v2/" />
  </activePackageSource>
  <packageRestore>
    <add key="enabled" value="True" />
    <add key="automatic" value="True" />
  </packageRestore>
  <disabledPackageSources>
 <add key="nuget.org" value="true" />
 <add key="OSS_All" value="true" />
<add key="SQL-Toolset" value="true" /> <add key="SQLIS-DP" value="true" />
 </disabledPackageSources>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
 <add key="OSS_All" value="https://ossmsft.pkgs.visualstudio.com/DefaultCollection/_packaging/OSS_ALL/nuget/v2" />
<add key="SQL-Toolset" value="https://msdata.pkgs.visualstudio.com/DefaultCollection/_packaging/SQL_Toolset/nuget/v2" />
 <add key="SQLIS-DP" value="https://msdata.pkgs.visualstudio.com/DefaultCollection/_packaging/SQLIS_DP/nuget/v2" />
 <add key="nuget.org" value="https://www.nuget.org/api/v2/" />
  </packageSources>
   <packageSourceCredentials>
 <OSS_All>
 <add key="Username" value="VssSessionToken" />
 <add key="Password" value="xxx" />
 </OSS_All>
<SQL-Toolset>
 <add key="Username" value="VssSessionToken" />
 <add key="Password" value="xxx" />
 </SQL-Toolset>
 <SQLIS-DP>
 <add key="Username" value="VssSessionToken" />
 <add key="Password" value="xxx" />
 </SQLIS-DP>
 </packageSourceCredentials>
  <bindingRedirects>
    <add key="skip" value="False" />
  </bindingRedirects>
  <packageManagement>
    <add key="format" value="0" />
    <add key="disabled" value="False" />
  </packageManagement>
</configuration>

from quantum-docs-pr.

j2jensen avatar j2jensen commented on July 29, 2024

Based on the first bullet point in the message, I was able to get around this by specifying the version, as specified on the NuGet page. Currently:

dotnet tool install --global Microsoft.Quantum.IQSharp --version 0.7.1905.3109

from quantum-docs-pr.

amirebrahimi avatar amirebrahimi commented on July 29, 2024

This was a frustrating issue to track down and after doing all of the updates to VS and still not being able to install I tracked it down to an environment variable. Try removing MSBuildSDKsPath and see if that fixes your issue.

from quantum-docs-pr.

sillysachin avatar sillysachin commented on July 29, 2024

I upgraded to aspnetcore 3.1 https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.1&tabs=visual-studio-mac

The issue gets resolved.

from quantum-docs-pr.

KittyYeungQ avatar KittyYeungQ commented on July 29, 2024

Have seen this issue reported before. @gillenhaalb do you know if there is a resolution documented somewhere?

from quantum-docs-pr.

gillenhaalb avatar gillenhaalb commented on July 29, 2024

@cgranade @KittyYeungQ it looks like using .NET 3.1 resolved the issue. I'd say this is good to be closed then, considering that our install docs now list having at least 3.1 as a prerequisite

from quantum-docs-pr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.