Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

250
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!