react-native-windows
react-native-windows copied to clipboard
ReactNative.Net46 project cannot be compiled with Release mode
Environment
-
react-native -v: react-native-cli: 2.0.1 react-native: 0.55.3 -
npm ls rnpm-plugin-windows: `-- [email protected] -
npm ls react-native-windows: `-- [email protected] -
node -v: v9.11.1 -
npm -v: 5.6.0 -
yarn --version: 1.6.0
Then, specify:
- Target Platform: WPF
- Target Platform Version(s): .NET 4.6
- Target Device(s): Desktop (Win 10)
- Development Operating System: Windows
- Visual Studio Version: Visual Studio 2017
Steps to Reproduce
react-native init react_native_windows_failed_build_wpf --version=0.55.3yarn add rnpm-plugin-windows --devreact-native wpf- Open
wpf\react_native_windows_failed_build_wpf.slnwith VS 2017 - Confirm all the projects can be compiled with the
Debugmode - Confirm all the projects CANNOT be compiled with the
Releasemode
Expected Behavior
- The
ReactNative.Net46project can be compiled with theReleasemode
Actual Behavior
- The
ReactNative.Net46project CANNOT be compiled with theReleasemode because some NuGet dependencies cannot be resolved as follows.
Error CS0234 The type or namespace name 'Reactive' does not exist in the namespace 'System' (are you missing an assembly reference?) ReactNative.Net46 `C:\Users\exKAZUu\Projects\react_native_windows_failed_build_wpf\node_modules\react-native-windows\ReactWindows\ReactNative.Net46\Bridge\Queue\DispatcherActionQueue.cs 5 Active
Reproducible Demo
https://github.com/exKAZUu/react_native_windows_failed_build_wpf.git
rozele thanks for your help. I am not able to run the exe set up on wind 8.1 device. it works on windows 7. It shows me the error, application stopped working when i run the app.