diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 26d0675..a00cf55 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -26,7 +26,7 @@ jobs: uses: microsoft/setup-msbuild@v1.0.2 - name: Update NuGet packages - uses: nuget update + run: nuget restore .\Projects\VisualStudio\maxGUI.sln - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} diff --git a/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp b/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp index 13e2931..b771f3b 100644 --- a/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp +++ b/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp @@ -11,10 +11,14 @@ #define MAX_COMPILER_MESSAGE( Message ) __pragma( message( Message ) ) -#if _MSC_VER > 1938 +#if _MSC_VER > 1939 MAX_COMPILER_MESSAGE( "Compiling with a newer version of MSVC than max recognizes. Using last known version." ); +#elif _MSC_VER >= 1939 + // MSVC++ (Visual Studio 2022 / version 17.9) + #define MAX_COMPILER_VERSION_MAJOR 17 + #define MAX_COMPILER_VERSION_MINOR 9 #elif _MSC_VER >= 1938 - // MCVC++ (Visual Studio 2022 / version 17.8) + // MSVC++ (Visual Studio 2022 / version 17.8) #define MAX_COMPILER_VERSION_MAJOR 17 #define MAX_COMPILER_VERSION_MINOR 8 #elif _MSC_VER >= 1937