Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Unable to build Application if UWP app target UWP SDK >= 10.0.15063.0 #1207

@adam-bratin

Description

@adam-bratin

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

  1. Create a new react-native-windows project based on documentation provided from their Getting Started Guide
  2. yarn add react-native-code-push@latest
  3. Added CodePush.csproj to project sln
  4. Add Reference to UWP proj
  5. Set TargetPlatformVersion to 10.0.16299.0
  6. TargetPlatformMinVersion to 10.0.15063.0
  7. Run MSBuild.exe /t:clean;restore;Rebuild /p:Configuration=Release /p:Platform=x64 /p:AppxBundle=Never <project.sln>

Expected Behavior

The UWP should successfully build

Actual Behavior

"ReactNativeTest\windows\ReactNativeTest.sln" (clean;restore;Rebuild target) (1) ->
(Restore target) ->
ReactNativeTest\node_modules\react-native-code-push\windows\CodePush\CodePush.csproj :
error NU1201: Project ReactNative is not compatible with uap10.0 (UAP,Version=v10.0). Project ReactNative supports: ua
p10.0.10240 (UAP,Version=v10.0.10240) [ReactNativeTest\windows\ReactNativeTest.sln]
ReactNativeTest\node_modules\react-native-code-push\windows\CodePush\CodePush.csproj :
error NU1201: Project ReactNative is not compatible with uap10.0 (UAP,Version=v10.0) / win10-arm. Project ReactNative
supports: uap10.0.10240 (UAP,Version=v10.0.10240) [ReactNativeTest\windows\ReactNativeTe
st.sln]
ReactNativeTest\node_modules\react-native-code-push\windows\CodePush\CodePush.csproj :
error NU1201: Project ReactNative is not compatible with uap10.0 (UAP,Version=v10.0) / win10-arm-aot. Project ReactNat
ive supports: uap10.0.10240 (UAP,Version=v10.0.10240) [ReactNativeTest\windows\ReactNati
veTest.sln]
ReactNativeTest\node_modules\react-native-code-push\windows\CodePush\CodePush.csproj :
error NU1201: Project ReactNative is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x64. Project ReactNative
supports: uap10.0.10240 (UAP,Version=v10.0.10240) [ReactNativeTest\windows\ReactNativeTe
st.sln]
ReactNativeTest\node_modules\react-native-code-push\windows\CodePush\CodePush.csproj :
error NU1201: Project ReactNative is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x64-aot. Project ReactNat
ive supports: uap10.0.10240 (UAP,Version=v10.0.10240) [ReactNativeTest\windows\ReactNati
veTest.sln]
ReactNativeTest\node_modules\react-native-code-push\windows\CodePush\CodePush.csproj :
error NU1201: Project ReactNative is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x86. Project ReactNative
supports: uap10.0.10240 (UAP,Version=v10.0.10240) [ReactNativeTest\windows\ReactNativeTe
st.sln]
ReactNativeTest\node_modules\react-native-code-push\windows\CodePush\CodePush.csproj :
error NU1201: Project ReactNative is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x86-aot. Project ReactNat
ive supports: uap10.0.10240 (UAP,Version=v10.0.10240) [ReactNativeTest\windows\ReactNati
veTest.sln]

  STACK TRACE AND/OR SCREENSHOTS

Reproducible Demo

https://github.com/adam-bratin/ReactNativeTest

Environment

related to issue: microsoft/react-native-windows#1644

  • react-native-code-push version: react-native-code-push@^5.2.1
  • react-native version: react-native@0.53.0
  • iOS/Android/Windows version: Windows 10.0.16299.0
  • Does this reproduce on a debug build or release build? Release
  • Does this reproduce on a simulator, or only on a physical device? Physical Device

(The more info the faster we will be able to address it!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions