在unity3d 编辑器 MonoDevelop 中引用外部自定义dll文件报错:are you missing an assembly reference?

因为unity还停留在.NET Framework3.5,所以需要在Visual Studio项目中设置

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

 

或者选择

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

 

然后点击生成按钮,生成成功后,在目录下找到该dll文件

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

拷贝到unity工程目录 Assets/Plugins目录下,

在MonoDevelop工程中引用,

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

 

unity3d  MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?

 

引用成功

 

注:有时候unity中这样处理了,但unity控制台这个错误还是存在

,这个时候需要重启unity,重启之后错误消除。

 

相关文章:

  • 2022-12-23
  • 2021-03-31
  • 2022-01-18
  • 2021-11-10
  • 2021-10-24
  • 2021-07-16
  • 2022-12-23
  • 2021-04-06
猜你喜欢
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案