Upgrade Calculator C# to 0.80.x dependencies
@HariniMalothu17 已经在做这个了。
开始于 2025年8月25日。
评估
这个 Issue 还没有评估数据。
描述
⚠️ Copilot Instructions (Read Carefully)
You MUST follow the description in this issue EXACTLY as written.
- Do not paraphrase, reinterpret, summarize, or add anything extra.
- Preserve all wording, formatting, code blocks, commands, and file names verbatim.
- If the description includes a README or steps, use it literally.
- Do not auto-complete or generate additional “helpful” suggestions.
- If something is unclear, stop and use exactly what is written — do not guess.
👇 The full description starts here. Copy and follow it exactly:
⚠️ Copilot: Do not paraphrase or reinterpret. Use the following content verbatim.
Do not re-interpret or suggest alternatives.
Upgrade the Calculator C# sample to use React Native Windows 0.80.x dependencies, ensuring the app builds and runs correctly
Setup
See ../README.md#Setup.
Run
See ../README.md#Run.
Upgrade
To upgrade this sample to the latest version of RNW:
-
Open a command prompt and navigate to the
samples/Calculatorfolder:cd .. -
Delete this folder:
rd /s /q csharp -
Create a new React Native app and change version to version you want to upgrade to (replace 'version' with desired version - for latest version, use 'latest'):
npx @react-native-community/cli@latest init Calculator --template @react-native-community/template@latest --skip-git-init -
Add
yarn.lockfile to app directory (otherwiseyarn add react-native-windows@latestwill throw an error) -
Add Windows support:
cd Calculator yarn add react-native-windows@latest npx @react-native-community/cli@latest init-windows --template old/uwp-cs-app --overwrite -
Rename the folder to csharp
cd .. ren Calculator csharp -
Restore these original app files:
cd csharp git restore README.md git restore App.tsx -
Verify the new app builds and runs:
npx @react-native-community/cli@latest run-windows -
Look at the Package.appxmanifast and change the publisher name to "CN=React Native Windows Sample". Revert all changes made to GUID values in the project and solution files.
-
Update this readme with the new major version at the top.
- 主要语言
- C#
- 星标
- 544
- 派生
- 218
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/react-native-windows-samples 的其他 Issue
-
bug documentation Needs: Triage :mag:
难度 2/5 1-3 小时 新手友好度 78/100
-
bug documentation Needs: Triage :mag:
难度 2/5 1-3 小时 新手友好度 72/100
-
Document node 18 dependecies可能已有人在做 @Danielweng0902 于 122 天前认领。 未关闭documentation enhancement good first issue good first issue: easy
难度 1/5 1 小时以内 新手友好度 82/100
microsoft/react-native-windows-samples#861 · 2 条评论 ·
-
Update the sample projects to be compatible with react-native-windows 0.82.0-preview.8可能重新可做 @iamAbhi-916 于 259 天前认领,目前没有进行中的 PR。 未关闭enhancement Workstream: Gallery and Samples
microsoft/react-native-windows-samples#1141 · 已指派 1 人 ·
-
Update CI pipeline to windows-latest when main has changes ready可能重新可做 @vineethkuttan 于 346 天前认领,目前没有进行中的 PR。 未关闭bug
microsoft/react-native-windows-samples#1099 · 已指派 1 人 ·
查看 microsoft/react-native-windows-samples 的全部 Issue
相似的 Issue
-
has-image has-license has-readme new-tool ready-to-approve repo-verified
难度 1/5 1 小时以内 新手友好度 76/100
shanselman/TinyToolTown#862 ·
维护者通常 5 天内回复
-
S: Untriaged
难度 2/5 1-3 小时 新手友好度 72/100
space-wizards/space-station-14#46497 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
nightscout/nocturne#2135 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
Devolutions/UniGetUI#5541 ·
维护者通常 1 天内回复