callstack / callstack/react-native-slider

RNSlider Windows has a built authoring issue on how it consumes RNW

未关闭
#365 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug report platform: Windows
主要语言
TypeScript
星标
1.4k
派生
295
平均合并
5 分钟
30 天内合并 PR
1

描述

```
\node_modules\react-native-windows\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets(12,5): warning MSB4011: "\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" cannot be imported again. It was already imported at "\node_modules\@react-native-community\slider\windows\SliderWindows\SliderWindows.vcxproj (80,5)". This is most likely a build authoring error. This subsequent import will be ignored.
```

The way RNW is being consumed from SliderWindows needs to be fixed/updated. The proper way is to consume via the RNW targets and props now.

I will likely open a PR to address this soon.

贡献指南

打开贡献指南

调研方向

从 windows/SliderWindows/SliderWindows.vcxproj 以及警告中显示的 RNW PropertySheets/External/Microsoft.ReactNative.Uwp.CppLib.targets 路径开始。检查 RNW 当前在那里是如何被使用的,并将其与 issue 中描述的 targets 和 props 方法进行比较。完成的标准是项目采用该方法,并且重复导入的构建警告不再出现。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。