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

713
Visualizações
Warning CS8032 An instance of analyzer Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator cannot be created

Using VS2019 latest version 19.9.4 and installed .NET SDK 6.0.100-preview.3 Now I cannot compile the project anymore cause it gives the error described below. If I revert to NET 5.0 it works fine. The reason for 6.0 is to use the Hot-Reload feature for Blazor. I am now in the phase to design several UI and it should save me a lot of time.

Warning CS8032 An instance of analyzer Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator cannot be created from C:\Program Files\dotnet\sdk\6.0.100-preview.3.21202.5\Sdks\Microsoft.NET.Sdk.Razor\source-generators\Microsoft.NET.Sdk.Razor.SourceGenerators.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.10.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. RPManager C:\AppCenter\RPManager\CSC 1 Active

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

0

This bug has to do with some versions of SDK.

Same problem occurred when building in Visual Studio 2022 17.0.6 using SDK 6.0.200. causing 'Microsoft.CodeAnalysis not to load file or assembly, and omnisharp in vscode broken on 6.0.200 with this exception.

To fix this error,either

- Update visual studio to the latest version. or

- downgrade the SDK version by adding a global.json file to specify which SDK to use.

over 4 years ago · Santiago Trujillo Relatório

0

Get the new Microsoft Visual Studio Community 2019 Preview Version 16.10.0 Preview 2.0 when using .Net 6 Preview 3.

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