Reputation: 424
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
Which is included in a DLL called: Microsoft.MixedReality.Toolkit.PlaneFinding
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)
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:
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
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
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
Upvotes: 3