gpt4 book ai didi

c# - 找不到类型或命名空间名称 'NUnit' |统一

转载 作者:行者123 更新时间:2023-12-05 03:58:08 33 4
gpt4 key购买 nike

我有下一个错误:

The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'UnitySetUpAttribute' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'UnitySetUp' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'TestAttribute' could not be found (are you missing a using directive or an assembly reference?)

页面下的更多内容:

enter image description here

代码: https://pastebin.com/5zTjwPZw

如何解决?

最佳答案

更新到 2020.2.3f1 后,我在自定义包 中遇到了同样的问题。

在包的情况下(或者如果您正在使用程序集),它们现在似乎强制在检查器的平台部分中将编辑器的唯一程序集标记为:

enter image description here

关于c# - 找不到类型或命名空间名称 'NUnit' |统一,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58156096/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com