diff --git a/.ado/jobs/cli-init-windows.yml b/.ado/jobs/cli-init-windows.yml index c0d060d9162..f124b154578 100644 --- a/.ado/jobs/cli-init-windows.yml +++ b/.ado/jobs/cli-init-windows.yml @@ -39,19 +39,19 @@ parameters: template: cpp-lib configuration: Release platform: x64 - additionalRunArguments: --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: useNuGet: true - Name: FabricLibX86Debug template: cpp-lib configuration: Debug platform: x86 - additionalRunArguments: --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: useNuGet: true - Name: FabricLibArm64Release template: cpp-lib configuration: Release platform: ARM64 - additionalRunArguments: --no-deploy --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: --no-deploy useNuGet: true - BuildEnvironment: SecurePullRequest Matrix: @@ -107,37 +107,37 @@ parameters: template: cpp-lib configuration: Debug platform: x64 - additionalRunArguments: --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: useNuGet: true - Name: FabricLibX64Release template: cpp-lib configuration: Release platform: x64 - additionalRunArguments: --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: useNuGet: true - Name: FabricLibX86Debug template: cpp-lib configuration: Debug platform: x86 - additionalRunArguments: --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: useNuGet: true - Name: FabricLibX86Release template: cpp-lib configuration: Release platform: x86 - additionalRunArguments: --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: useNuGet: true - Name: FabricLibArm64Debug template: cpp-lib configuration: Debug platform: ARM64 - additionalRunArguments: --no-deploy --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: --no-deploy useNuGet: true - Name: FabricLibArm64Release template: cpp-lib configuration: Release platform: ARM64 - additionalRunArguments: --no-deploy --singleproc # --singleproc required to workaround issue #13599 + additionalRunArguments: --no-deploy useNuGet: true jobs: - ${{ each config in parameters.buildMatrix }}: diff --git a/.ado/jobs/playground.yml b/.ado/jobs/playground.yml index 7da2ba11f6f..187fb07ef9b 100644 --- a/.ado/jobs/playground.yml +++ b/.ado/jobs/playground.yml @@ -110,8 +110,6 @@ jobs: msbuildArgs: /p:PackageCertificateKeyFile=$(Build.SourcesDirectory)\EncodedKey.pfx /p:PackageCertificatePassword=${{ parameters.certificatePassword }} - ${{if eq(matrix.SolutionFile, 'Playground-Composition.sln')}}: - parallelBuild: false # required to workaround issue #13599 - ${{if and(false, endsWith(matrix.Name, 'Universal'), eq(matrix.BuildConfiguration, 'Debug')) }}: # Disabled as debugging doesn't work,remove false after issue is resolved, see https://github.com/microsoft/react-native-windows/issues/13543 # Execute debug feature tests (skip this step for the Win32 Playground app and for release builds) diff --git a/change/react-native-windows-11d17e38-1d0e-4ba7-b807-02f7bf4e0da9.json b/change/react-native-windows-11d17e38-1d0e-4ba7-b807-02f7bf4e0da9.json new file mode 100644 index 00000000000..f8245f7fe7b --- /dev/null +++ b/change/react-native-windows-11d17e38-1d0e-4ba7-b807-02f7bf4e0da9.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Try fixing the circular dependency error", + "packageName": "react-native-windows", + "email": "66076509+vineethkuttan@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/packages/playground/windows/playground-composition/Playground-Composition.vcxproj b/packages/playground/windows/playground-composition/Playground-Composition.vcxproj index 741b3367c7e..0deea107e69 100644 --- a/packages/playground/windows/playground-composition/Playground-Composition.vcxproj +++ b/packages/playground/windows/playground-composition/Playground-Composition.vcxproj @@ -82,7 +82,7 @@ $(IntDir)pch.pch Level4 true - %(AdditionalOptions) /bigobj + %(AdditionalOptions) /bigobj /FS 4453;28204 diff --git a/vnext/PropertySheets/External/Microsoft.ReactNative.Composition.CppLib.props b/vnext/PropertySheets/External/Microsoft.ReactNative.Composition.CppLib.props index ba683e758fd..8c64b20a240 100644 --- a/vnext/PropertySheets/External/Microsoft.ReactNative.Composition.CppLib.props +++ b/vnext/PropertySheets/External/Microsoft.ReactNative.Composition.CppLib.props @@ -13,6 +13,16 @@ + + + true + + diff --git a/vnext/PropertySheets/External/Microsoft.ReactNative.Uwp.CppLib.props b/vnext/PropertySheets/External/Microsoft.ReactNative.Uwp.CppLib.props index 0b4020a1ad8..acac08e6633 100644 --- a/vnext/PropertySheets/External/Microsoft.ReactNative.Uwp.CppLib.props +++ b/vnext/PropertySheets/External/Microsoft.ReactNative.Uwp.CppLib.props @@ -14,6 +14,16 @@ + + + true + + diff --git a/vnext/templates/cpp-app/windows/MyApp/MyApp.vcxproj b/vnext/templates/cpp-app/windows/MyApp/MyApp.vcxproj index 399bdd213b0..e799c9d8fbd 100644 --- a/vnext/templates/cpp-app/windows/MyApp/MyApp.vcxproj +++ b/vnext/templates/cpp-app/windows/MyApp/MyApp.vcxproj @@ -4,6 +4,8 @@ true + + false true {{ projectGuidUpper }} {{ name }}