unity3d MonoDevelop引用外部自定义dll文件报错:are you missing an assembly reference?
2017-08-21 09:59
597 查看
在unity3d 编辑器 MonoDevelop 中引用外部自定义dll文件报错:are you missing an assembly reference?
因为unity还停留在.NET Framework3.5,所以需要在Visual Studio项目中设置
或者选择
然后点击生成按钮,生成成功后,在目录下找到该dll文件
拷贝到unity工程目录 Assets/Plugins目录下,
在MonoDevelop工程中引用,
引用成功
注:有时候unity中这样处理了,但unity控制台这个错误还是存在
,这个时候需要重启unity,重启之后错误消除。
因为unity还停留在.NET Framework3.5,所以需要在Visual Studio项目中设置
或者选择
然后点击生成按钮,生成成功后,在目录下找到该dll文件
拷贝到unity工程目录 Assets/Plugins目录下,
在MonoDevelop工程中引用,
引用成功
注:有时候unity中这样处理了,但unity控制台这个错误还是存在
,这个时候需要重启unity,重启之后错误消除。
相关文章推荐
- Compiler Error Message: CS0234: The type or namespace name 'BorderDetails' does not exist in the class or namespace 'Infragistics.WebUI.Shared' (are you missing an assembly reference?)
- `UnityEditor' could not be found Are you missing a using directive or an assembly reference?
- UI' does not exist in the namespace `UnityEngine'. Are you missing an assembly reference
- .net4 wpf App 使用log4net 错误:The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly reference?)
- The type or namespace name `MovieTexture' could not be found. Are you missing an assembly reference?
- The type or namespace name 'Html' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)
- could not be found (are you missing a using directive or an assembly reference?)
- The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
- Compiler Error Message: CS0234: The type or namespace name ''(are you missing an assembly reference?)
- 如何解决The type or namespace name 'ScriptService' could not be found (are you missing a using directive or an assembly reference?)
- Asp.net - The type or namespace name 'App_Code' does not exist in the namespace 'xxx' (are you missing an assembly reference?)
- 菜鸟写给菜鸟——The type or namespace name '****' could not be found (are you missing a using directive or an assembly reference
- 关于错误 The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?
- error CS0234: The type or namespace name 'EventSystems' does not exist in the namespace 'UnityEngine'. Are you missing an assembly reference?
- The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly refere
- missing an assembly reference 找不到引用
- The type or namespace name '***' could not be found (are you missing a using directive or an asse
- linux下借助mono编译C#提示未引用程序集(error CS0234)missing assembly reference
- MissingReferenceException: The object of type 'Texture2D' has been destroyed but you are still tryi