The header file is necessary, and while it doesn't really change when autolinking is run, autolinking should still (re)create the file, as it may have been deleted by the end user (or missing for another reason) and we claim in the file that it gets generated by the autolink command, when it clearly isn't.
Steps To Reproduce
Create a new C++ RNW project.
Delete AutolinkedNativeModules.g.h
Run autolink-windows or run-windows
Expected Results
The file gets recreated.
CLI version
npx react-native -v
Environment
npx react-native info
Target Platform Version
None
Target Device(s)
No response
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
Problem Description
The header file is necessary, and while it doesn't really change when autolinking is run, autolinking should still (re)create the file, as it may have been deleted by the end user (or missing for another reason) and we claim in the file that it gets generated by the autolink command, when it clearly isn't.
Steps To Reproduce
Expected Results
The file gets recreated.
CLI version
npx react-native -v
Environment
Target Platform Version
None
Target Device(s)
No response
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response