forstack overflowizi
forstack overflowizi

Reputation: 424

error CS0234: The type or namespace name does not exist in the namespace (are you missing an assembly reference?)

I have seen so many QA about this error, but none of them solved my issue,
Here we go:
I have this namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness.Processing
enter image description here Which is included in a DLL called: Microsoft.MixedReality.Toolkit.PlaneFinding
enter image description here
Now, there is a second DLL called Microsoft.MixedReality.Toolkit.SDK
Which is referencing the first DLL, and also defines a constant called PLANE_FINDING_PRESENT the somehow relates to it (Here are some photos from the inspector and VS to show what i mean)
enter image description here
enter image description here

Inside of the DLL called Microsoft.MixedReality.Toolkit.SDK there is a file called SurfaceMeshesToPlanes
In this file i am attempting to be using the namespace Microsoft.MixedReality.Toolkit.SpatialAwareness.Processing like so: enter image description here I am expecting this whole thing to work but i am getting error: Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@2eb95bb1aae9-1646916095499\SDK\Experimental\SpatialAwareness\SurfaceMeshesToPlanes.cs(13,55): error CS0234: The type or namespace name 'Processing' does not exist in the namespace 'Microsoft.MixedReality.Toolkit.SpatialAwareness' (are you missing an assembly reference?)
Any thoughts?

Upvotes: 3

Views: 39333

Answers (2)

Arbaz Qureshi
Arbaz Qureshi

Reputation: 105

I am working on Blazor .Net Core. So I faced this error, i did some research and I found I haven't installed the NuGet package Syncfusion.Blazor package. I installed the package and resolved the error in this way. In broader aspect you are missing to install the NuGet package.

Upvotes: 0

forstack overflowizi
forstack overflowizi

Reputation: 424

The problem was in the platforms section in the desired dll, once i changed it to any it became visible to the other dll
enter image description here

Upvotes: 3

Related Questions