Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

356
Visualizações
.NET Interactive Notebooks: How do I overwrite a nuget package version?

I'm using .NET notebooks for VSCode. Current version: v1.0.2419011

I'm trying to experiment with a nuget package

I first loaded the package like

#r "nuget: Microsoft.CodeAnalysis.Workspaces.MSBuild"

Then I realized I needed a preview version

#r "nuget: Microsoft.CodeAnalysis.Workspaces.MSBuild, 4.0.0-3.final"

However, the notebook won't let me change versions of the package. It errors with

Error: Microsoft.CodeAnalysis.Workspaces.MSBuild version 4.0.0-1.final cannot be added because version 3.11.0 was added previously.

I don't see any options for clearing the packages or forcing an overwrite. How do I change package versions after previously loading a different version?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Turns out the same question got asked in the project's Github issues, #342.

The answer is to restart the notebook kernel. Restarting the kernel is slightly out of the way. It can be run through the command search (ctrl + shift + p)

enter image description here

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda