react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

How to create a wpf project?

Open wyshmily opened this issue 9 years ago • 3 comments

Seems that the document mentioned wpf, but no words on how to target wpf.

wyshmily avatar Nov 22 '17 07:11 wyshmily

npm install --save-dev rnpm-plugin-wpf react-native wpf react-native start -----> to start the server react-native run-wpf --> in my case, this didnt work. Had to build from visual studio and run it. If you have the same problem, you can do this too by opening the file "Project Directory/wpf/yourproject.sln" and build (the wpf folder is made after running react-native wpf)

lunfardo avatar Nov 24 '17 06:11 lunfardo

react-native init samplewpfapp npm install --save-dev rnpm-plugin-windows npm install --save-dev rnpm-plugin-wpf react-native wpf /* creates wpf VS project*/ react-native run-wpf 

For me run-wpf doesn't work so manually

  1. react-native start /* to start the server */
  2. Build & Run samplewpfapp.sln in visual studio

praveen4zenith avatar Jun 05 '18 10:06 praveen4zenith

@ncomo11's suggestion looks right.

rozele avatar Jul 23 '18 21:07 rozele