FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 2ce7c744 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

Specifically target 64 bit build

Our wpkg sync script impliticly assumes we're running 64bit because it
reads from (implicitly by default) the 64bit view of HKLM\software.

We only support 64bit machines so building only for 64 bit seems like
the easiest solution. Figuring out what to change if we ever need to
support 32bit Windows 10 is left as an exercise for the reader!
parent d0f9150b
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ namespace WpkgInstaller
dwWaitHint = 100000
};
SetServiceStatus(ServiceHandle, ref serviceStatus);
RunWpkgSync();
serviceStatus.dwCurrentState = ServiceState.SERVICE_RUNNING;
SetServiceStatus(ServiceHandle, ref serviceStatus);
......
......@@ -32,6 +32,28 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
......
......@@ -8,13 +8,19 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|Any CPU.Build.0 = Debug|Any CPU
{16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|x64.ActiveCfg = Debug|x64
{16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|x64.Build.0 = Debug|x64
{16D87187-0A41-4790-B0C4-464BBC953D48}.Release|Any CPU.ActiveCfg = Release|Any CPU
{16D87187-0A41-4790-B0C4-464BBC953D48}.Release|Any CPU.Build.0 = Release|Any CPU
{16D87187-0A41-4790-B0C4-464BBC953D48}.Release|x64.ActiveCfg = Release|x64
{16D87187-0A41-4790-B0C4-464BBC953D48}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment