$VS2022 = "$env:PROGRAMFILES\Microsoft Visual Studio\2022\Community" $MSBUILD = "$VS2022\Msbuild\Current\Bin\MSBuild.exe" & $MSBUILD -t:Build -p:Configuration=Release,Platform=x64 "Flint\Flint.vcxproj" Copy-Item "Flint\x64\Release\Flint.exe" "Qwilight\Assets\AMD64" & $MSBUILD -t:Build -p:Configuration=Release,Platform=ARM64 "Flint\Flint.vcxproj" Copy-Item "Flint\ARM64\Release\Flint.exe" "Qwilight\Assets\ARM64" & $MSBUILD -t:Build -p:Configuration=Release,Platform=x64 "Igniter\Igniter.csproj" Copy-Item "Igniter\bin\x64\Release\Igniter.exe" "Qwilight\Assets\AMD64" & $MSBUILD -t:Build -p:Configuration=Release,Platform=ARM64 "Igniter\Igniter.csproj" Copy-Item "Igniter\bin\ARM64\Release\Igniter.exe" "Qwilight\Assets\ARM64" & $MSBUILD -t:Build -p:Configuration=Release,Platform=x64 "NVIDIA\NVIDIA.vcxproj" Copy-Item "NVIDIA\x64\Release\NVIDIA.dll" "Qwilight\Assets\AMD64" & $MSBUILD -t:Build -p:Configuration=Release,Platform=x64 "Xwindow\Xwindow.vcxproj" Copy-Item "Xwindow\x64\Release\Xwindow.exe" "Qwilight\Assets\AMD64" & $MSBUILD -t:Build -p:Configuration=Release,Platform=ARM64 "Xwindow\Xwindow.vcxproj" Copy-Item "Xwindow\ARM64\Release\Xwindow.exe" "Qwilight\Assets\ARM64" if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { dotnet build Language\Language.csproj -c Release -p:Platform=x64 .\Language\bin\x64\Release\net8.0\Language.exe } if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { dotnet build Language\Language.csproj -c Release -p:Platform=ARM64 .\Language\bin\ARM64\Release\net8.0\Language.exe }