You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write out the source file for this project to point at raw.githubusercontent.com <WriteLinesToFile File="$(SourceLink)" Overwrite="true" Lines='{"documents": { "$(SourceLinkRoot)\\*" : "$(RemoteUri.Replace(".git", "").Replace("github.com", "raw.githubusercontent.com"))/$(LatestCommit)/*" }}' />
The text was updated successfully, but these errors were encountered:
Disable Stats Timer (addresses #92)
Include revision as part of product version in addition to suffix (addresses #91)
Include license file in NuGet (addresses #98)
Add Source Link to linker (addresses #102)
- Disable Stats Timer (fixes#92)
- Include revision as part of product version in addition to suffix (fixes#91)
- Include license file in NuGet (fixes#98)
- Add Source Link to linker (fixes#102)
This is ported from the v0.11 branch. We bump the version up to 0.12 (even though no such version exists in upstream) to signal we're no longer compatible with 0.11 (and RN 0.68).
Problem
Hermes crash dumps currently do not link to the repo's source code. This inhibits remote debugging experiences via processes like Watson.
Solution
Following the guidance at https://github.com/dotnet/designs/blob/main/accepted/2020/diagnostics/source-link.md#source-link-json-schema, we must create a sourcelink file and pass the
/sourcelink:<file>
compiler flag as described in https://docs.microsoft.com/en-us/cpp/build/reference/sourcelink?view=msvc-170 to our build script and/or cmake.Additional Context
Example in msbuild syntax:
Write out the source file for this project to point at raw.githubusercontent.com
<WriteLinesToFile File="$(SourceLink)" Overwrite="true" Lines='{"documents": { "$(SourceLinkRoot)\\*" : "$(RemoteUri.Replace(".git", "").Replace("github.com", "raw.githubusercontent.com"))/$(LatestCommit)/*" }}' />
The text was updated successfully, but these errors were encountered: