From ce14e1ef5f104201554d7d93ef9e8c9a179fb032 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:23:01 +0200 Subject: [PATCH] fix(windows): fix `run-windows` not launching apps built with New Arch --- windows/Win32/ReactApp.Package.wapproj | 27 ++++++++++++++++++++++++++ windows/Win32/pch.h | 5 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/windows/Win32/ReactApp.Package.wapproj b/windows/Win32/ReactApp.Package.wapproj index abf43544b..3040d6819 100644 --- a/windows/Win32/ReactApp.Package.wapproj +++ b/windows/Win32/ReactApp.Package.wapproj @@ -13,6 +13,17 @@ + + $([MSBuild]::MakeRelative($(MSBuildThisFileDirectory), $(SolutionDir)))\$(MSBuildProjectName)\bin\ + $(BaseOutputPath)\$(Platform)\$(Configuration)\ $(MSBuildExtensionsPath)\Microsoft\DesktopBridge\ @@ -88,4 +99,20 @@ + + + + + + + diff --git a/windows/Win32/pch.h b/windows/Win32/pch.h index 48a795460..585220a51 100644 --- a/windows/Win32/pch.h +++ b/windows/Win32/pch.h @@ -13,6 +13,10 @@ #include // WinRT Header Files +// clang-format off +#include +// clang-format on + #include #include @@ -22,7 +26,6 @@ #include #include #include -#include // C RunTime Header Files #include