Can not build in Windows
lolohoang123 opened this issue · comments
Using:
"react-native": "0.71.7",
"react-native-windows": "0.71.13",
🪲 What is the observed behavior?
Run [npx react-native run-windows] got the error
The type or namespace name 'ReactNative' could not be found (are you missing a using directive or an assembly reference?) RNSoundModule D:\2.Source\SoundProject\node_modules\react-native-sound\windows\RNSoundModule\RNSoundModule\RNSound.cs
Tried to run [npx react-native autolink-windows --sln...]
but still got the erroe
🪲 What is the expected behavior?
// Please post your code
💡 Does the problem have a test case?
💡 If the bug is confirmed, would you be willing to create a pull request?
Is your issue with...
- iOS
- Android
- [ x] Windows
Are you using...
- [x ] React Native CLI (e.g.
react-native run-android
) : npx react-native run-windows - Expo
- Other: (please specify)
Which versions are you using?
- React Native Sound:
- React Native:
- iOS:
- Android:
- Windows:
Does the problem occur on...
- Simulator
- Device
If your problem is happening on a device, which device?
- Device: