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
Improve detection of git root by leveraging SourceLink
The built-in .NET SDKs incorporate source control information already. If we find that, we don't really need to read from the file system the HEAD branch.
<WarningCode="TA001"Text="A valid SourceLink provider does not seem to be installed for the current repository/project. Some values may be empty."Condition="'$(SourceLinkUrl)' == ''" />
72
73
73
74
<PropertyGroupCondition="'$(RepositoryBranch)' == '' and '$(RepositoryRoot)' != ''">
74
-
<!-- We may not be in CI at all. If we got a git repo root, we can directly read HEAD -->
0 commit comments