[英]Rider cannot resolve symbols related to Xamarin.iOS framework
JetBrains Rider 表示它無法解析很多符號,包括UITableViewCell
、 ContentView
、 bool
、 decimal
、 string
、 void
等等。
以下是我的構建設置,
iOS 項目的.csproj
包含,
...
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Runtime" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.iOS" />
...
我已經嘗試恢復 NuGet 包並在Invalidating Caches后重新啟動 Rider。
我使用的是最新的 Rider 2022.2.4
穩定版,我什至嘗試過最新的 EAP 版本2022.3 EAP 9
,但似乎沒有任何效果。 但是,該項目在物理設備和 Rider 中的 iOS 模擬器中運行/調試都沒有問題。 Visual Studio 17.4
不顯示這些錯誤並且工作正常。 如果相關,請在 MacOS 12.6.1
上運行。
非常感謝任何幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.