
Затем я нажимаю «Опубликовать».
Появляется следующая ошибка:
Код: Выделить всё
Error XA1030: The 'RunAOTCompilation' MSBuild property is only supported when trimming is enabled. Edit the project file in a text editor to set 'PublishTrimmed' to 'true' for this build configuration.
Код: Выделить всё
true
Код: Выделить всё
error NETSDK1098: Applications published to a single-file are required to use the application host. You must either set PublishSingleFile to false or set UseAppHost to true.
Код: Выделить всё
true
Код: Выделить всё
true
true
true
true
- в FolderProfile.pubxml и снова нажмите «Опубликовать». Появляется следующая ошибка:
Код: Выделить всё
Error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'android-arm64'.
Описанный здесь ответ не помогает.
РЕДАКТИРОВАТЬ: для @jdweng: здесь это мой файл runtimeconfig.json.

Подробнее здесь: https://stackoverflow.com/questions/788 ... no-applica
Мобильная версия