Skip to content

Commit a07760b

Browse files
committed
ci: ignore pack
1 parent 48211bd commit a07760b

File tree

3 files changed

+27
-114
lines changed

3 files changed

+27
-114
lines changed

.github/workflows/library.nuget.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ jobs:
1919
with:
2020
dotnet-version: 9.0.x
2121

22-
- name: Install dependencies
22+
- name: Setup MSBuild
23+
uses: microsoft/setup-msbuild@v2
24+
25+
- name: Restore dependencies
2326
run: dotnet restore src/UnlockerPatch/UnlockerPatch.csproj
2427

25-
- name: Build
26-
run: dotnet build src/UnlockerPatch/UnlockerPatch.csproj --configuration Release --no-restore
28+
- name: Build solution
29+
run: msbuild src/UnlockerPatch/UnlockerPatch.csproj /p:Configuration=Release /p:Platform=x64 /p:GeneratePackageOnBuild=false

src/UnlockerPatch/UnlockerPatch.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,18 @@
4343
<None Include="build\package.props" Pack="True" PackagePath="\build\$(PackageId).props" />
4444
<None Include="buildTransitive\package.targets" Pack="True" PackagePath="\buildTransitive\$(PackageId).targets" />
4545
<None Include="buildTransitive\package.props" Pack="True" PackagePath="\buildTransitive\$(PackageId).props" />
46-
<Content Include="..\UnlockerStub\x64\Release\UnlockerStub.dll">
46+
<Content Include="..\..\x64\Release\UnlockerStub.dll">
4747
<Pack>True</Pack>
4848
<PackagePath>lib\net8.0-windows7.0\x64\UnlockerStub.dll</PackagePath>
4949
</Content>
5050
</ItemGroup>
5151

5252
<ItemGroup>
53-
<ProjectReference Include="..\UnlockerStub\UnlockerStub.vcxproj" />
53+
<ProjectReference Include="..\UnlockerStub\UnlockerStub.vcxproj">
54+
<Project>{517821e2-89ad-4ea4-b788-e8948bf27d8d}</Project>
55+
<Platforms>x64</Platforms>
56+
<Configuration>Release</Configuration>
57+
</ProjectReference>
5458
</ItemGroup>
5559

5660
</Project>
Lines changed: 15 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Debug|Win32">
5-
<Configuration>Debug</Configuration>
6-
<Platform>Win32</Platform>
7-
</ProjectConfiguration>
8-
<ProjectConfiguration Include="ReleaseMin|Win32">
9-
<Configuration>ReleaseMin</Configuration>
10-
<Platform>Win32</Platform>
11-
</ProjectConfiguration>
12-
<ProjectConfiguration Include="ReleaseMin|x64">
13-
<Configuration>ReleaseMin</Configuration>
14-
<Platform>x64</Platform>
15-
</ProjectConfiguration>
16-
<ProjectConfiguration Include="Release|Win32">
17-
<Configuration>Release</Configuration>
18-
<Platform>Win32</Platform>
19-
</ProjectConfiguration>
204
<ProjectConfiguration Include="Debug|x64">
215
<Configuration>Debug</Configuration>
226
<Platform>x64</Platform>
@@ -25,6 +9,10 @@
259
<Configuration>Release</Configuration>
2610
<Platform>x64</Platform>
2711
</ProjectConfiguration>
12+
<ProjectConfiguration Include="ReleaseMin|x64">
13+
<Configuration>ReleaseMin</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
2816
</ItemGroup>
2917
<PropertyGroup Label="Globals">
3018
<VCProjectVersion>17.0</VCProjectVersion>
@@ -34,26 +22,7 @@
3422
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
3523
</PropertyGroup>
3624
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
37-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
38-
<ConfigurationType>Application</ConfigurationType>
39-
<UseDebugLibraries>true</UseDebugLibraries>
40-
<PlatformToolset>v143</PlatformToolset>
41-
<CharacterSet>Unicode</CharacterSet>
42-
</PropertyGroup>
43-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
44-
<ConfigurationType>Application</ConfigurationType>
45-
<UseDebugLibraries>false</UseDebugLibraries>
46-
<PlatformToolset>v143</PlatformToolset>
47-
<WholeProgramOptimization>true</WholeProgramOptimization>
48-
<CharacterSet>Unicode</CharacterSet>
49-
</PropertyGroup>
50-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMin|Win32'" Label="Configuration">
51-
<ConfigurationType>Application</ConfigurationType>
52-
<UseDebugLibraries>false</UseDebugLibraries>
53-
<PlatformToolset>v143</PlatformToolset>
54-
<WholeProgramOptimization>true</WholeProgramOptimization>
55-
<CharacterSet>Unicode</CharacterSet>
56-
</PropertyGroup>
25+
<!-- x64 Configurations -->
5726
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
5827
<ConfigurationType>DynamicLibrary</ConfigurationType>
5928
<UseDebugLibraries>true</UseDebugLibraries>
@@ -73,97 +42,35 @@
7342
<PlatformToolset>v143</PlatformToolset>
7443
<WholeProgramOptimization>true</WholeProgramOptimization>
7544
<CharacterSet>Unicode</CharacterSet>
45+
<OutDir>$(SolutionDir)unlockfps_nc\Resources\</OutDir>
7646
</PropertyGroup>
7747
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
78-
<ImportGroup Label="ExtensionSettings">
79-
</ImportGroup>
80-
<ImportGroup Label="Shared">
81-
</ImportGroup>
82-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
83-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
84-
</ImportGroup>
85-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
87-
</ImportGroup>
88-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMin|Win32'" Label="PropertySheets">
89-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
90-
</ImportGroup>
48+
<!-- PropertySheets -->
9149
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
9250
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
9351
</ImportGroup>
9452
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
9553
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
9654
</ImportGroup>
97-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMin|x64'" Label="PropertySheets">
55+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='ReleaseMin|x64'">
9856
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
9957
</ImportGroup>
10058
<PropertyGroup Label="UserMacros" />
101-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
102-
<OutDir>$(SolutionDir)src\UnlockerStub\$(Platform)\$(Configuration)\</OutDir>
103-
</PropertyGroup>
104-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMin|x64'">
105-
<OutDir>$(SolutionDir)unlockfps_nc\Resources\</OutDir>
106-
</PropertyGroup>
107-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
108-
<OutDir>$(SolutionDir)src\UnlockerStub\$(Platform)\$(Configuration)\</OutDir>
109-
</PropertyGroup>
110-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
111-
<ClCompile>
112-
<WarningLevel>Level3</WarningLevel>
113-
<SDLCheck>true</SDLCheck>
114-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115-
<ConformanceMode>true</ConformanceMode>
116-
</ClCompile>
117-
<Link>
118-
<SubSystem>Console</SubSystem>
119-
<GenerateDebugInformation>true</GenerateDebugInformation>
120-
</Link>
121-
</ItemDefinitionGroup>
122-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
123-
<ClCompile>
124-
<WarningLevel>Level3</WarningLevel>
125-
<FunctionLevelLinking>true</FunctionLevelLinking>
126-
<IntrinsicFunctions>true</IntrinsicFunctions>
127-
<SDLCheck>true</SDLCheck>
128-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
129-
<ConformanceMode>true</ConformanceMode>
130-
</ClCompile>
131-
<Link>
132-
<SubSystem>Console</SubSystem>
133-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
134-
<OptimizeReferences>true</OptimizeReferences>
135-
<GenerateDebugInformation>true</GenerateDebugInformation>
136-
</Link>
137-
</ItemDefinitionGroup>
138-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMin|Win32'">
139-
<ClCompile>
140-
<WarningLevel>Level3</WarningLevel>
141-
<FunctionLevelLinking>true</FunctionLevelLinking>
142-
<IntrinsicFunctions>true</IntrinsicFunctions>
143-
<SDLCheck>true</SDLCheck>
144-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
145-
<ConformanceMode>true</ConformanceMode>
146-
</ClCompile>
147-
<Link>
148-
<SubSystem>Console</SubSystem>
149-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
150-
<OptimizeReferences>true</OptimizeReferences>
151-
<GenerateDebugInformation>true</GenerateDebugInformation>
152-
</Link>
153-
</ItemDefinitionGroup>
59+
<!-- ItemDefinitionGroup for x64 -->
15460
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
15561
<ClCompile>
15662
<WarningLevel>Level3</WarningLevel>
15763
<SDLCheck>false</SDLCheck>
158-
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
64+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
15965
<ConformanceMode>true</ConformanceMode>
16066
<ExceptionHandling>false</ExceptionHandling>
16167
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
16268
<BufferSecurityCheck>false</BufferSecurityCheck>
16369
</ClCompile>
16470
<Link>
165-
<SubSystem>Console</SubSystem>
71+
<SubSystem>NotSet</SubSystem>
16672
<GenerateDebugInformation>true</GenerateDebugInformation>
73+
<EntryPointSymbol>DllMain</EntryPointSymbol>
16774
</Link>
16875
</ItemDefinitionGroup>
16976
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@@ -172,7 +79,7 @@
17279
<FunctionLevelLinking>true</FunctionLevelLinking>
17380
<IntrinsicFunctions>true</IntrinsicFunctions>
17481
<SDLCheck>false</SDLCheck>
175-
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
82+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
17683
<ConformanceMode>true</ConformanceMode>
17784
<ExceptionHandling>false</ExceptionHandling>
17885
<BufferSecurityCheck>false</BufferSecurityCheck>
@@ -191,7 +98,7 @@
19198
<FunctionLevelLinking>true</FunctionLevelLinking>
19299
<IntrinsicFunctions>true</IntrinsicFunctions>
193100
<SDLCheck>false</SDLCheck>
194-
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
195102
<ConformanceMode>true</ConformanceMode>
196103
<ExceptionHandling>false</ExceptionHandling>
197104
<BufferSecurityCheck>false</BufferSecurityCheck>
@@ -208,6 +115,5 @@
208115
<ClCompile Include="dllmain.cpp" />
209116
</ItemGroup>
210117
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
211-
<ImportGroup Label="ExtensionTargets">
212-
</ImportGroup>
118+
<ImportGroup Label="ExtensionTargets" />
213119
</Project>

0 commit comments

Comments
 (0)