我下载了最新的 17.1 预览版并从模板创建了 blazor-maui 应用程序。想从构建中创建单个 exe。所以点击发布并选择目标win-x64。当我尝试发布时出现此错误
Build started...
1>------ Build started: Project: BlazorMauiApp2, Configuration: Release Any CPU ------
1>BlazorMauiApp2 -> C:\Dashboard\Workspace\microsoft\windowsforms\BlazorMauiApp2\bin\Release\net6.0-windows10.0.19041\win-x64\BlazorMauiApp2.dll
2>------ Publish started: Project: BlazorMauiApp2, Configuration: Release Any CPU ------
2>Determining projects to restore...
2>The RuntimeIdentifier 'win-x64' is invalid.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========