Skip to content

Unable to build e2e-test-app-fabric with VS 2022 Preview 17.11 #13374

@jonthysell

Description

@jonthysell

Problem Description

In verifying that the current VS preview build, 17.11, fixes issue #13339, I hit this error when trying to build e2e-test-app-fabric:

 × Build failed with message 9:8>E:\code\rnw\vnext\Microsoft.ReactNative\Fabric\Composition\CompositionContextHelper.cpp(1335,71): error C2275: 'Microsoft::ReactNative::Composition::Experimental::CompositionTypeTraits<Microsoft::ReactNative::Composition::Experimental::MicrosoftTypeTag>::CompositionColorBrush': expected an expression instead of a type [E:\code\rnw\vnext\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]. Check your build configuration.
 i Gathering MSBuild data for telemetry.
 i Unable to find msbuildproperties.g.json
Command failed with error MSBuildError: 9:8>E:\code\rnw\vnext\Microsoft.ReactNative\Fabric\Composition\CompositionContextHelper.cpp(1335,71): error C2275: 'Microsoft::ReactNative::Composition::Experimental::CompositionTypeTraits<Microsoft::ReactNative::Composition::Experimental::MicrosoftTypeTag>::CompositionColorBrush': expected an expression instead of a type [E:\code\rnw\vnext\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]

Steps To Reproduce

  1. Clone RNW repo
  2. Install VS 2022 Preview (17.11)
  3. Make sure run-windows uses 17.11 (see Added MinimumVisualStudioVersion env variable to force run-windows to use a particular version of VS installed #13373)
  4. In packages/e2e-test-app-fabric, run yarn windows --release --logging

Expected Results

App builds and launches.

CLI version

14.0.0-alpha.2

Environment

info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.26100
  CPU: "(24) x64 AMD Ryzen Threadripper PRO 3945WX 12-Cores     "
  Memory: 52.51 GB / 63.86 GB
Binaries:
  Node:
    version: 18.18.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.22
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 9.8.1
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.11.35017.193 (Visual Studio Enterprise 2022)
    - 17.10.35013.160 (Visual Studio Enterprise 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Community Modules

No response

Target Platform Version

None

Target Device(s)

Desktop

Visual Studio Version

Visual Studio 2022

Build Configuration

Release

Snack, code example, screenshot, or link to a repository

msbuild.binlog.zip

Metadata

Metadata

Assignees

Labels

External Developer ToolingIssue caused by the tool chain, not by RNW itselfNew ArchitectureBroad category for issues that apply to the RN "new" architecture of Turbo Modules + FabricScenario: Visual Studiobug

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions