React-native-slider: SliderWindows.vcxproj doesn't get consumed correctly with autolinking for react-native-windows applications

Created on 13 Jan 2021  路  3Comments  路  Source: callstack/react-native-slider

Environment

Description

SliderWindows.vcxproj can be manually linked to enable slider support. Autolinking does not seem to resolve the package/native project correctly. I believe moving forward, autolinking will be the preferred developer experience for consuming windows NativeModules.

Reproducible Demo

  1. Create a react-native-windows project.
  2. Add #@react-native-community/[email protected] as a dependency
  3. Run npx react-native autolink-windows --logging for your project

Observed outcome:

SliderWindows.vcxproj does not get added to the project solution file. Its package provider does not get added to the AutolinkedNativeModules.g.cpp file.

Expected outcome:

SliderWindows.vcxproj gets added to the project solution file. It's package provider gets added to the AutolinkedNativeModules.g.cpp file.

bug report

All 3 comments

@michalchudziak This one can be closed, PR is merged, I didn't link it in time.

@rectified95 Sorry for the delay, but thank you for this!
I will close this issue.

Was this page helpful?
0 / 5 - 0 ratings