Monorepo for Aesthetic.Computer aesthetic.computer
at main 49 lines 2.3 kB view raw
1# Fix UE5 Build Dependencies 2 3Write-Host "=========================================" -ForegroundColor Cyan 4Write-Host "UE5 Build Dependencies Checker" -ForegroundColor Cyan 5Write-Host "=========================================" -ForegroundColor Cyan 6Write-Host "" 7 8Write-Host "Issues detected:" -ForegroundColor Yellow 9Write-Host "" 10 11Write-Host "1. MSVC Version Mismatch" -ForegroundColor Red 12Write-Host " Current: 14.43.34809" -ForegroundColor Gray 13Write-Host " Required: 14.38.33130" -ForegroundColor Gray 14Write-Host "" 15Write-Host " Fix: Install Visual Studio 2022 with MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38)" -ForegroundColor Green 16Write-Host " URL: https://visualstudio.microsoft.com/downloads/" -ForegroundColor Cyan 17Write-Host " - Run Visual Studio Installer" -ForegroundColor Gray 18Write-Host " - Modify your VS 2022 installation" -ForegroundColor Gray 19Write-Host " - Go to Individual Components tab" -ForegroundColor Gray 20Write-Host " - Search for: MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38)" -ForegroundColor Gray 21Write-Host " - Check it and click Modify" -ForegroundColor Gray 22Write-Host "" 23 24Write-Host "2. Missing .NET Framework SDK" -ForegroundColor Red 25Write-Host " Required: .NET Framework SDK 4.6.0 or higher" -ForegroundColor Gray 26Write-Host "" 27Write-Host " Fix: Install .NET Framework 4.8 Developer Pack" -ForegroundColor Green 28Write-Host " URL: https://dotnet.microsoft.com/download/dotnet-framework/net48" -ForegroundColor Cyan 29Write-Host " Download: .NET Framework 4.8 Developer Pack" -ForegroundColor Gray 30Write-Host "" 31 32Write-Host "=========================================" -ForegroundColor Cyan 33Write-Host "" 34Write-Host "After installing these, try building again with:" -ForegroundColor Yellow 35Write-Host " powershell.exe -ExecutionPolicy Bypass -File .\build-false-work.ps1" -ForegroundColor White 36Write-Host "" 37 38# Check if Visual Studio Installer is available 39$vsInstaller = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" 40if (Test-Path $vsInstaller) { 41 Write-Host "Quick actions:" -ForegroundColor Cyan 42 Write-Host "" 43 $response = Read-Host "Open Visual Studio Installer now? (y/N)" 44 if ($response -eq "y" -or $response -eq "Y") { 45 Start-Process $vsInstaller 46 } 47} 48 49Write-Host ""