From b9ba35486245a65cd8e376cc7a808f6fa7d41682 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 9 Dec 2020 12:51:21 -0600 Subject: WIXFEAT:6209 - Add x64 and ARM64 versions of built-in BAs. --- src/dnchost/dnchost.vcxproj | 20 +++++++++++++++++++- src/dnchost/dncutil.cpp | 6 +++--- src/dnchost/packages.config | 2 ++ 3 files changed, 24 insertions(+), 4 deletions(-) (limited to 'src/dnchost') diff --git a/src/dnchost/dnchost.vcxproj b/src/dnchost/dnchost.vcxproj index 419077ac..5959d6ea 100644 --- a/src/dnchost/dnchost.vcxproj +++ b/src/dnchost/dnchost.vcxproj @@ -8,6 +8,14 @@ + + Debug + ARM64 + + + Release + ARM64 + Debug Win32 @@ -16,6 +24,14 @@ Release Win32 + + Debug + x64 + + + Release + x64 + {B6F70281-6583-4138-BB7F-AABFEBBB3CA2} @@ -28,7 +44,9 @@ - ..\..\packages\runtime.win-x86.Microsoft.NETCore.DotNetAppHost.5.0.0\runtimes\win-x86\native\ + $(Platform) + x86 + ..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetAppHost.5.0.0\runtimes\win-$(NetHostPlatform)\native\ shlwapi.lib;$(NetHostPath)libnethost.lib diff --git a/src/dnchost/dncutil.cpp b/src/dnchost/dncutil.cpp index 89fe707f..34d14911 100644 --- a/src/dnchost/dncutil.cpp +++ b/src/dnchost/dncutil.cpp @@ -37,7 +37,7 @@ static HRESULT LoadCoreClr( static HRESULT StartCoreClr( __in HOSTFXR_STATE* pState, __in LPCWSTR wzNativeHostPath, - __in size_t cProperties, + __in DWORD cProperties, __in LPCWSTR* propertyKeys, __in LPCWSTR* propertyValues ); @@ -320,7 +320,7 @@ static HRESULT InitializeCoreClrPre5( hr = LoadCoreClr(pState, sczCoreClrPath); BalExitOnFailure(hr, "Failed to load coreclr."); - hr = StartCoreClr(pState, wzNativeHostPath, cProperties, rgPropertyKeys, rgPropertyValues); + hr = StartCoreClr(pState, wzNativeHostPath, (DWORD)cProperties, rgPropertyKeys, rgPropertyValues); BalExitOnFailure(hr, "Failed to start coreclr."); LExit: @@ -358,7 +358,7 @@ LExit: static HRESULT StartCoreClr( __in HOSTFXR_STATE* pState, __in LPCWSTR wzNativeHostPath, - __in size_t cProperties, + __in DWORD cProperties, __in LPCWSTR* propertyKeys, __in LPCWSTR* propertyValues ) diff --git a/src/dnchost/packages.config b/src/dnchost/packages.config index af177833..cf40ae64 100644 --- a/src/dnchost/packages.config +++ b/src/dnchost/packages.config @@ -4,6 +4,8 @@ + + -- cgit v1.2.3-55-g6feb