Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
Örnek iletiler
warning XA1029: The 'AotAssemblies' MSBuild property is deprecated. Edit the project file in a text editor to remove this property, and use the 'RunAOTCompilation' MSBuild property instead.
Issue
Bu uyarı, false belirtildiğinde, buna $(AotAssemblies) olarak ayarlanması da dahil, her zaman üretilir.
Çözüm
Mono kullanan desteklenen .NET 10 ve önceki projeler için, şunu kullanmak yerine:
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<AotAssemblies>true</AotAssemblies>
</PropertyGroup>
Bunun yerine şunu kullanın:
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>
CoreCLR veya NativeAOT projeleri için, $(AotAssemblies) eklemeden $(RunAOTCompilation) kaldırın. Bu çalışma zamanları Mono AOT işlem hattını kullanmaz.
true, $(RunAOTCompilation) iken ve $(AotAssemblies) ayarlanmamış veya true ise, iletilmesi derlemeyi durduran XA1044 hatasına neden olur.