错误 APT2000 系统找不到指定的文件

。 (2). C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.101-preview.9.16\tools\Xamarin.Android.Aapt2.targets 217
https://github.com/dotnet/maui/issues/3005

错误 APT2260

https://learn.microsoft.com/zh-cn/visualstudio/ide/not-in-toc/default?f1url=%3FappId%3DDev16IDEF1%26l%3DZH-CN%26k%3Dk(keywords_removed)%26rd%3Dtrue&view=vs-2022

尝试关闭 VisualStudio 然后干掉 Bin 和 Obj 文件夹,然后先开启安卓模拟器,然后重新构建就可以了。如果一次重新构建失败,那么再次右击重新生成就可以了

错误 APT2067

https://learn.microsoft.com/zh-cn/visualstudio/ide/not-in-toc/default?f1url=%3FappId%3DDev16IDEF1%26l%3DZH-CN%26k%3Dk(keywords_removed)%26rd%3Dtrue&view=vs-2022

because it is read-only

System.InvalidOperationException:“The service collection cannot be modified because it is read-only.”

消息订阅

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0618?f1url=%3FappId%3Droslyn%26k%3Dk(CS0618)

文档更新时间: 2023-04-16 13:51   作者:admin