Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Running console throws System.IO.FileNotFoundException error

When I attempt to run my unit tests I get the following error:

System.IO.FileNotFoundException : Could not load file or assembly 'nunit.framework, Version=, Culture=neutral, PublicKeyToken=2638cd05610744eb' or one of its dependencies. The system cannot find the file specified.

I am able to run these tests in visual studio and I installed the Nunit Console so I am not sure why it is not finding the file. Below is my console command.

nunit3-console.exe "C:\Users\NUnitTestProject1\NUnitTestProject1.csproj"

1 answer

0 votes

Hi @Dominic Galasso

If I had to investigate this issue I would start with:

  1. checking the path configured for the nunit3 executable, in your server capabilities. 
  2. checking if I could run the tests using a script task instead of the Test Runner task

The first one will tell us if there is a problem with the path. The second with check if there is an issue with permissions.

Please share your findings here.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

213 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you