Skip to content

Commit a84505e

Browse files
committed
[build] Add x64 platform build.
1 parent 00e0f41 commit a84505e

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

TouchPortalSDK.Sample/TouchPortalSDK.Sample.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
6+
<Platforms>AnyCPU</Platforms>
67
</PropertyGroup>
78

89
<ItemGroup>

TouchPortalSDK.Tests/TouchPortalSDK.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
65
<IsPackable>false</IsPackable>
6+
<Platforms>AnyCPU</Platforms>
77
</PropertyGroup>
88

99
<ItemGroup>

TouchPortalSDK.sln

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,29 @@ EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2020
Debug|Any CPU = Debug|Any CPU
21+
Debug|x64 = Debug|x64
2122
Release|Any CPU = Release|Any CPU
23+
Release|x64 = Release|x64
2224
EndGlobalSection
2325
GlobalSection(ProjectConfigurationPlatforms) = postSolution
2426
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2527
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Debug|x64.ActiveCfg = Debug|x64
29+
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Debug|x64.Build.0 = Debug|x64
2630
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
2731
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Release|x64.ActiveCfg = Release|x64
33+
{5370B2EB-A29F-4642-BEF4-56BC5F2244C2}.Release|x64.Build.0 = Release|x64
2834
{9190D83F-62B9-42E9-80C8-0A5B676A6781}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2935
{9190D83F-62B9-42E9-80C8-0A5B676A6781}.Debug|Any CPU.Build.0 = Debug|Any CPU
36+
{9190D83F-62B9-42E9-80C8-0A5B676A6781}.Debug|x64.ActiveCfg = Debug|Any CPU
3037
{9190D83F-62B9-42E9-80C8-0A5B676A6781}.Release|Any CPU.ActiveCfg = Release|Any CPU
38+
{9190D83F-62B9-42E9-80C8-0A5B676A6781}.Release|x64.ActiveCfg = Release|Any CPU
3139
{F93B6E17-512C-4FDA-8FC3-742B9A7F495D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3240
{F93B6E17-512C-4FDA-8FC3-742B9A7F495D}.Debug|Any CPU.Build.0 = Debug|Any CPU
41+
{F93B6E17-512C-4FDA-8FC3-742B9A7F495D}.Debug|x64.ActiveCfg = Debug|Any CPU
3342
{F93B6E17-512C-4FDA-8FC3-742B9A7F495D}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{F93B6E17-512C-4FDA-8FC3-742B9A7F495D}.Release|x64.ActiveCfg = Release|Any CPU
3444
EndGlobalSection
3545
GlobalSection(SolutionProperties) = preSolution
3646
HideSolutionNode = FALSE

TouchPortalSDK/TouchPortalSDK.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<Description>Touch Portal API for making plugins with .NET</Description>
1414
<ApplicationIcon />
1515
<OutputType>Library</OutputType>
16+
<Platforms>AnyCPU;x64</Platforms>
1617
<StartupObject />
1718
<Company />
1819
<AssemblyName>TouchPortalSDK</AssemblyName>
@@ -41,14 +42,18 @@
4142
<CheckEolTargetFramework>False</CheckEolTargetFramework>
4243
</PropertyGroup>
4344

44-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
45+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
4546
<DebugType>portable</DebugType>
4647
<NoWarn>
4748
<!-- documentation warnings-->
4849
1591;1573;1574
4950
</NoWarn>
5051
</PropertyGroup>
5152

53+
<PropertyGroup Condition="'$(Platform)'=='x64'">
54+
<PlatformTarget>x64</PlatformTarget>
55+
</PropertyGroup>
56+
5257
<ItemGroup>
5358
<Content Include="..\README.md">
5459
<Pack>True</Pack>
@@ -68,6 +73,5 @@
6873
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
6974
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0" />
7075
<PackageReference Include="System.Text.Json" Version="8.0.5" />
71-
<!--<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />-->
7276
</ItemGroup>
7377
</Project>

0 commit comments

Comments
 (0)