microsoft / microsoft/react-native-windows

Autolinking should bail if there are two projects with the same name

Open
#8,052 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Autolinking Area: Developer Experience bug Workstream: Module Support
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

E.g.: @react-native-community/clipboard and @react-native-clipboard/clipboard
SLN files must not have two projects with the same name
Autolinking will happily write the two dependencies into the SLN file but msbuild will refuse to build the resulting solution file

Autolinking should instead fail with an appropriate error message

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Windows autolinking path that writes SLN files, using the duplicate project names described in the issue as the reproduction. Verify how @react-native-community/clipboard and @react-native-clipboard/clipboard are handled, then make completion mean that autolinking stops with an appropriate error before producing an invalid solution.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, react-native
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.