CodeMonkey
CodeMonkey

Reputation: 1835

Visual Studio Understands but Unity Doesn't?

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?

Upvotes: 2

Views: 252

Answers (1)

Skyler Lauren
Skyler Lauren

Reputation: 3812

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

Upvotes: 3

Related Questions