我已在 Visual Studio 中安装了 Microsoft.Identity.Client,现在可以声明using Microsoft.Identity.Client;
在代码内。 Visual Studio 很高兴。然而,团结却并非如此。
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?)
我必须做什么才能让 Unity 同样高兴?
我在使用外部库时遇到了类似的问题。由于 Unity 编译项目的方式不同,通常需要将 dll 添加到项目中。
这可能有用。如何使用外部dll https://answers.unity.com/questions/458300/how-to-use-a-external-dll.html#:~:text=To%20use%20an%20external%20DLL,your%20Visual%20Studio%2FMonoDevelop%20project.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)