![](/img/trans.png)
[英]Error CS0234 The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft' (Are you missing an assembly reference?)
[英]error CS0234: The type or namespace name does not exist in the namespace (are you missing an assembly reference?)
我見過很多關於這個錯誤的 QA,但沒有一個解決了我的問題,
我們這里go:
我有這個命名空間: Microsoft.MixedReality.Toolkit.SpatialAwareness.Processing
其中包含在 DLL 中,名為:
Microsoft.MixedReality.Toolkit.PlaneFinding
現在,有第二個 DLL 稱為Microsoft.MixedReality.Toolkit.SDK
它引用了第一個 DLL,並且還定義了一個名為PLANE_FINDING_PRESENT
的常量,以某種方式與之相關(這里有一些來自檢查員和 VS 的照片來說明我的意思)
在名為Microsoft.MixedReality.Toolkit.SDK
的 DLL 中有一個名為SurfaceMeshesToPlanes
的文件
在這個文件中,我試圖像這樣使用命名空間Microsoft.MixedReality.Toolkit.SpatialAwareness.Processing
: 我期待這一切工作,但我收到錯誤:
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?)
有什么想法嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.