Skip to content

Commit 6c66d3e

Browse files
authored
Update Native Module Setup documentation for 0.76+ (#993)
## Description This PR updates the Native Module setup doc with the steps for using the new `cpp-lib` template. ### Why To better reflect the current setup process for setting up a new RNW native module. ## Screenshots N/A ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/react-native-windows-samples/pull/993)
1 parent fd83101 commit 6c66d3e

File tree

6 files changed

+288
-97
lines changed

6 files changed

+288
-97
lines changed

.spelling

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Node.js
6161
non-ABI-safe
6262
non-UI
6363
npm
64+
npmjs.com
6465
NuGet
6566
NuGets
6667
nvs

docs/native-modules-autolinking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The information provided by `config` is described in [React Native Config Schema
2929
Autolinking is performed automatically as a part of the [run-windows command](run-windows-cli.md):
3030

3131
1. At build time, autolinking is performed first, before `msbuild.exe` is invoked and the build actually started. It uses the information provided by `config` to both generate and modify certain native files consumed by your app project.
32-
1. The `AutolinkedNativeModules.g.targets` file contains the necessary references to the dependency projects that must be built.
32+
1. The `AutolinkedNativeModules.g.props` and `AutolinkedNativeModules.g.targets` file contains the necessary references to the dependency projects that must be built.
3333
> Your app's solution file may also be modified to ensure the dependency projects will be built.
3434
3535
1. The `AutolinkedNativeModules.g.(cpp|cs)` files contain a `RegisterAutolinkedNativeModulePackages` method which registers all of the specified `IReactPackageProvider`s from the dependencies.

0 commit comments

Comments
 (0)