Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

246
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda