Skip to content

Commit 9560417

Browse files
committed
Use vcpkg manifest for minhook
1 parent 6d8d4bd commit 9560417

File tree

10 files changed

+25
-640
lines changed

10 files changed

+25
-640
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
- name: Restore NuGet
3030
run: dotnet restore ${{env.PROJ_LAUNCHER}}
3131

32-
- name: Install Prospect.Agent dependencies
33-
run: |
34-
vcpkg integrate install
35-
vcpkg install minhook:x64-windows-static
36-
3732
- name: Build Prospect.Agent
3833
run: msbuild /m /p:Configuration=Release /p:Platform=x64 ${{env.PROJ_AGENT}}
3934

src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Agent
22
Prospect.Agent.dll
3+
vcpkg_installed
34

45
# Api
56
appsettings.Development.json

src/Prospect.Agent/PropertySheet.props

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/Prospect.Agent/Prospect.Agent.vcxproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@
3838
</ImportGroup>
3939
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
4040
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
41-
<Import Project="PropertySheet.props" />
4241
</ImportGroup>
4342
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
4443
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
45-
<Import Project="PropertySheet.props" />
4644
</ImportGroup>
4745
<PropertyGroup Label="UserMacros" />
4846
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@@ -63,6 +61,9 @@
6361
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
6462
<VcpkgUseStatic>true</VcpkgUseStatic>
6563
</PropertyGroup>
64+
<PropertyGroup Label="Vcpkg">
65+
<VcpkgEnableManifest>true</VcpkgEnableManifest>
66+
</PropertyGroup>
6667
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
6768
<ClCompile>
6869
<WarningLevel>Level3</WarningLevel>

0 commit comments

Comments
 (0)