Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build VS .NET 9 #6

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/flutter-engine-windows-x64-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ jobs:
runs-on: windows-latest

steps:
# Replace Visual Studio 17.12 with 17.10
# https://github.com/firebase/flutterfire/issues/16536
- name: Cleanup Visual Studio Installer
continue-on-error: true
run: |
& "C:\Program Files (x86)\Microsoft Visual Studio\Installer\InstallCleanup.exe"
shell: pwsh

# Replace Visual Studio 17.12 with 17.10 to workaround Firebase issue
# https://github.com/firebase/flutterfire/issues/16536
- name: Install Visual Studio 2022 Enterprise
run: |
Invoke-WebRequest -Uri https://aka.ms/vs/17/release.ltsc.17.10/vs_enterprise.exe -OutFile vs_enterprise.exe
$process = Start-Process -FilePath '.\vs_enterprise.exe' -ArgumentList "--add", "Microsoft.VisualStudio.Workload.Azure", "--quiet", "--norestart", "--wait", "--includeRecommended" -Wait -PassThru
Write-Output $process.ExitCode
$process = Start-Process -FilePath '.\vs_enterprise.exe' -ArgumentList "--add", "Microsoft.VisualStudio.Workload.NativeDesktop", "--quiet", "--norestart", "--wait", "--includeRecommended" -Wait -PassThru
Write-Output $process.ExitCode
shell: pwsh

- name: Install Depot Tools
uses: newkdev/[email protected]

Expand Down