-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Unable to build Application if UWP app target UWP SDK >= 10.0.15063.0 #1207
Description
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
- Create a new react-native-windows project based on documentation provided from their Getting Started Guide
- yarn add react-native-code-push@latest
- Added CodePush.csproj to project sln
- Add Reference to UWP proj
- Set TargetPlatformVersion to 10.0.16299.0
- TargetPlatformMinVersion to 10.0.15063.0
- 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!)