From d98d1cdde3cc116113b47f09ae7bc649ce564776 Mon Sep 17 00:00:00 2001 From: k1mlka Date: Thu, 10 Oct 2024 15:55:22 +0800 Subject: [PATCH] Update workflow --- .github/workflows/msbuild.yml | 5 ++++- fakereg/fakereg.vcxproj | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 2fd1ea3..62b23dd 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -36,10 +36,13 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 + - name: Check out structure + run: ls -R + - name: Build #working-directory: ${{env.GITHUB_WORKSPACE}} # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference #run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} working-directory: ${{env.GITHUB_WORKSPACE}} - run: msbuild fakereg/fakereg.vcxproj /m /p:Platform=x86 + run: msbuild fakereg/fakereg.vcxproj /m /p:Platform=x86 /p:Configuration=Release diff --git a/fakereg/fakereg.vcxproj b/fakereg/fakereg.vcxproj index d8ee1f7..08d5617 100644 --- a/fakereg/fakereg.vcxproj +++ b/fakereg/fakereg.vcxproj @@ -85,7 +85,7 @@ Windows true false - ..\extern\Detours\lib.X86;%(AdditionalLibraryDirectories) + $(ProjectDir)..\extern\Detours\lib.X86;%(AdditionalLibraryDirectories) detours.lib;%(AdditionalDependencies) exports.def @@ -109,7 +109,7 @@ true true false - ..\extern\Detours\lib.X86;%(AdditionalLibraryDirectories) + $(ProjectDir)..\extern\Detours\lib.X86;%(AdditionalLibraryDirectories) detours.lib;%(AdditionalDependencies) exports.def