Skip to content

Commit

Permalink
Add 32-bit OS support
Browse files Browse the repository at this point in the history
  • Loading branch information
irusanov committed Aug 19, 2019
1 parent e8d7747 commit 9e327a9
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,5 @@ ASALocalRun/
.localhistory/

# BeatPulse healthcheck temp database
healthchecksdb
healthchecksdb
*.bak
36 changes: 34 additions & 2 deletions AsusZenStates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<RootNamespace>AsusZenStates</RootNamespace>
<AssemblyName>AsusZenStates</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<AppDesignerFolder>Properties</AppDesignerFolder>
<NoWin32Manifest>False</NoWin32Manifest>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
Expand Down Expand Up @@ -54,7 +54,32 @@
<StartAction>Project</StartAction>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<PlatformTarget>x64</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<FileAlignment>4096</FileAlignment>
<DebugType>Full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<FileAlignment>4096</FileAlignment>
<DebugType>None</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp">
Expand Down Expand Up @@ -100,5 +125,12 @@
<None Include="app.config" />
<None Include="app.manifest" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
16 changes: 10 additions & 6 deletions AsusZenStates.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,36 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Default = Debug|Default
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Default = Release|Default
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Debug|Default.ActiveCfg = Debug|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Debug|Default.Build.0 = Debug|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Debug|x86.ActiveCfg = Debug|x86
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Debug|x86.Build.0 = Debug|x86
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Release|Any CPU.Build.0 = Release|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Release|Default.ActiveCfg = Release|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Release|Default.Build.0 = Release|Any CPU
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Release|x86.ActiveCfg = Release|x86
{F4267FC9-31E2-4D53-A4C3-C05000BA6BDF}.Release|x86.Build.0 = Release|x86
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Debug|Any CPU.Build.0 = Debug|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Debug|Default.ActiveCfg = Debug|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Debug|Default.Build.0 = Debug|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Debug|x86.ActiveCfg = Debug|x86
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Debug|x86.Build.0 = Debug|x86
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Release|Any CPU.ActiveCfg = Release|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Release|Any CPU.Build.0 = Release|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Release|Default.ActiveCfg = Release|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Release|Default.Build.0 = Release|Any CPU
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Release|x86.ActiveCfg = Release|x86
{331B7603-D1CF-4C0C-8EDA-78951D3AF129}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -44,10 +54,4 @@ Global
Release|Any CPU = Release|Any CPU
Release|Default = Release|Default
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Default = Debug|Default
Release|Any CPU = Release|Any CPU
Release|Default = Release|Default
EndGlobalSection
EndGlobal
25 changes: 23 additions & 2 deletions AsusZsSrv/AsusZsSrv.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<RootNamespace>AsusZsSrv</RootNamespace>
<AssemblyName>AsusZsSrv</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<AppDesignerFolder>Properties</AppDesignerFolder>
<NoWin32Manifest>False</NoWin32Manifest>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
Expand Down Expand Up @@ -44,7 +44,28 @@
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<PlatformTarget>x64</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<FileAlignment>4096</FileAlignment>
<DebugType>Full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<FileAlignment>4096</FileAlignment>
<DebugType>None</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp">
Expand Down
2 changes: 1 addition & 1 deletion AsusZsSrv/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ASUS")]
[assembly: AssemblyProduct("AsusZsSrv")]
[assembly: AssemblyCopyright("Copyright 2018")]
[assembly: AssemblyCopyright("Copyright 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
12 changes: 6 additions & 6 deletions AsusZsSrv/app.config
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="AsusTc.AsusTC" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="AsusTCsrv.AsusZsenStates" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="AsusZsSrv.AsusZenStates" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="AsusTc.AsusTC" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
<section name="AsusTCsrv.AsusZsenStates" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
<section name="AsusZsSrv.AsusZenStates" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
</configuration>
6 changes: 3 additions & 3 deletions app.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
</configuration>

0 comments on commit 9e327a9

Please sign in to comment.