Visual Studio Understands but Unity Doesn't?

不羁的心 提交于 2020-07-10 01:45:53

问题


I've installed the Microsoft.Identity.Client in Visual Studio and can now declare using Microsoft.Identity.Client; within the code. Visual Studio is happy. Unity, however, is not.

Assets\Scripts\AutoKhan.cs(8,17): error CS0234: The type or namespace name 'Identity' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

What must I do to make Unity similarly happy?


回答1:


I have run into similar issues when using external libraries. Often there is a dll to add to your project because of how Unity compiles your project.

This may be useful. How to use an external dll



来源:https://stackoverflow.com/questions/62223096/visual-studio-understands-but-unity-doesnt

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!