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