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

253
Visualizações
Can't run .net Framework Nunit project, from terminal nor pipelines

I have an NUnit project that has a lot of .NET Framework class libraries dependencies, so the project itself is a .NET Framework.

If I run my tests from Visual Studio, the project runs fine and the tests are run correctly.

However if I try to do the same from Terminal, doing dotnet build I get a lot of errors, like if the cli couldnt restore packages, and therefore I can't build the project nor run the tests from the terminal.

error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)

error CS0246: The type or namespace name 'TestFixtureAttribute' could not be found (are you missing a using directive or an assembly reference?)

error CS0246: The type or namespace name 'TestFixture' could not be found (are you missing a using directive or an assembly reference?)

The same is happening to me when doing this on Azure Pipelines.

Any ideas? Is there a problem between the dotnet cli and the project being a .NET Framework one?

Thanks for your help!

over 4 years ago · Santiago Trujillo
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