diff --git a/build/nuke_build/Build.cs b/build/nuke_build/Build.cs index 480bcac2..ef736dcf 100644 --- a/build/nuke_build/Build.cs +++ b/build/nuke_build/Build.cs @@ -222,7 +222,7 @@ class Build : NukeBuild .DependsOn(Prerequisites) .Executes(() => { - foreach (var platform in ServiceAndApiPlatforms) + foreach (var platform in ServiceAndApiPlatformsAll) { string solutionDir = ApiSolutionFolder.ToString() + @"\"; @@ -251,11 +251,14 @@ class Build : NukeBuild // copy binaries to staging folder var stagingFiles = new List(); + // This abstraction gets compiled to Arm64X and x64. The Arm64X output is in the Arm64EC folder + // var midiSrvAbstractionPlatform = (platform == "Arm64EC" || platform == "Arm64") ? "Arm64EC" : "x64"; stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.MidiSrvAbstraction.dll"); - // only in-proc files, like the MidiSrvAbstraction, are Arm64EC - //var servicePlatform = (platform == "Arm64EC" || platform == "Arm64") ? "Arm64" : "x64"; - var servicePlatform = platform; + + // only in-proc files, like the MidiSrvAbstraction, are Arm64EC. For all the others + // any reference to Arm64EC is just Arm64. We don't use any of the Arm64X output + var servicePlatform = (platform == "Arm64EC" || platform == "Arm64") ? "Arm64" : "x64"; stagingFiles.Add(ApiSolutionFolder / "vsfiles" / servicePlatform / Configuration.Release / $"Midisrv.exe"); @@ -461,9 +464,10 @@ class Build : NukeBuild { string sourcePlatform; + // the solution compiles these apps to x64 when target is EC. if (targetPlatform.ToLower() == "arm64ec") { - sourcePlatform = "Arm64"; + sourcePlatform = "x64"; } else { @@ -479,7 +483,6 @@ class Build : NukeBuild // sample manifest FileSystemTasks.CopyFileToDirectory(AppSdkSolutionFolder / "ExampleMidiApp.exe.manifest", AppSdkStagingFolder / targetPlatform, FileExistsPolicy.Overwrite, true); - } }); diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll index 596866fb..025a9ba8 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd index 44ead9bd..fc0956fe 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll index a7432cc9..d0b1abec 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd index 7661376f..f13c7528 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/mididiag.exe b/build/staging/app-sdk/Arm64EC/mididiag.exe index f22f4756..50585e67 100644 Binary files a/build/staging/app-sdk/Arm64EC/mididiag.exe and b/build/staging/app-sdk/Arm64EC/mididiag.exe differ diff --git a/samples/cpp-winrt/basics/client-basics-cpp.vcxproj b/samples/cpp-winrt/basics/client-basics-cpp.vcxproj index c0570701..17708f58 100644 --- a/samples/cpp-winrt/basics/client-basics-cpp.vcxproj +++ b/samples/cpp-winrt/basics/client-basics-cpp.vcxproj @@ -2,7 +2,7 @@ - Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.1821 + Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.2011 true true false diff --git a/samples/cpp-winrt/basics/packages.config b/samples/cpp-winrt/basics/packages.config index 34c7026a..438885e7 100644 --- a/samples/cpp-winrt/basics/packages.config +++ b/samples/cpp-winrt/basics/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj index fee2ba5c..5ea3aa1d 100644 --- a/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj +++ b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj @@ -2,7 +2,7 @@ - Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.1821 + Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.2011 true true true diff --git a/samples/cpp-winrt/loopback-endpoints/packages.config b/samples/cpp-winrt/loopback-endpoints/packages.config index 34c7026a..438885e7 100644 --- a/samples/cpp-winrt/loopback-endpoints/packages.config +++ b/samples/cpp-winrt/loopback-endpoints/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/send-speed/packages.config b/samples/cpp-winrt/send-speed/packages.config index 34c7026a..438885e7 100644 --- a/samples/cpp-winrt/send-speed/packages.config +++ b/samples/cpp-winrt/send-speed/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj b/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj index 30bfff81..f48fa048 100644 --- a/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj +++ b/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj @@ -2,7 +2,7 @@ - Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.1821 + Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.2011 true true true diff --git a/samples/cpp-winrt/static-enum-endpoints/packages.config b/samples/cpp-winrt/static-enum-endpoints/packages.config index 34c7026a..438885e7 100644 --- a/samples/cpp-winrt/static-enum-endpoints/packages.config +++ b/samples/cpp-winrt/static-enum-endpoints/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj b/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj index 2d23d5b6..c94e85c3 100644 --- a/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj +++ b/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj @@ -2,7 +2,7 @@ - Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.1821 + Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.2011 true true true diff --git a/samples/cpp-winrt/virtual-device-app-winui/packages.config b/samples/cpp-winrt/virtual-device-app-winui/packages.config index f4e1743f..a46f5c8c 100644 --- a/samples/cpp-winrt/virtual-device-app-winui/packages.config +++ b/samples/cpp-winrt/virtual-device-app-winui/packages.config @@ -1,7 +1,7 @@  - + diff --git a/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj b/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj index b6591bcf..0ef26aab 100644 --- a/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj +++ b/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj @@ -4,7 +4,7 @@ - Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.1821 + Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.2011 true true true diff --git a/samples/cpp-winrt/watch-endpoints/packages.config b/samples/cpp-winrt/watch-endpoints/packages.config index 34c7026a..438885e7 100644 --- a/samples/cpp-winrt/watch-endpoints/packages.config +++ b/samples/cpp-winrt/watch-endpoints/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj index 676237b4..63da9424 100644 --- a/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj +++ b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj @@ -2,7 +2,7 @@ - Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.1821 + Microsoft.Windows.Devices.Midi2.1.0.1-preview.8.24308.2011 true true true