Visual Studio Understands but Unity Doesn't?

Viewed 210

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 Answers

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

Related