简体   繁体   中英

Why can't NUnit file or assembly be found (C# dll)?

Even when my main is empty, I have the following error while loading a C# dll with NUnit:

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

I don't understand why it can't find it, I have no clue where to start my search.

You can set the Reference to Copy local , for example:

复制本地

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM