13 references to SourceRoot
Microsoft.SourceLink.Common (13)
GenerateSourceLinkFile.cs (7)
51var mappedPath = root.GetMetadata(Names.SourceRoot.MappedPath); 57Log.LogError(Resources.MustEndWithDirectorySeparator, isMapped ? Names.SourceRoot.MappedPathFullName : Names.SourceRoot.Name, localPath); 64Log.LogError(Resources.MustNotContainWildcard, isMapped ? Names.SourceRoot.MappedPathFullName : Names.SourceRoot.Name, localPath); 69var url = root.GetMetadata(Names.SourceRoot.SourceLinkUrl); 79Log.LogError(Resources.MustContainSingleWildcard, Names.SourceRoot.SourceLinkUrlFullName, url);
src\sourcelink\src\Common\Utilities\Names.cs (6)
11public const string Name = nameof(SourceRoot); 23public const string MappedPathFullName = nameof(SourceRoot) + "." + nameof(MappedPath); 24public const string SourceLinkUrlFullName = nameof(SourceRoot) + "." + nameof(SourceLinkUrl); 25public const string RepositoryUrlFullName = nameof(SourceRoot) + "." + nameof(RepositoryUrl); 26public const string ScmRepositoryUrlFullName = nameof(SourceRoot) + "." + nameof(ScmRepositoryUrl); 27public const string RevisionIdFullName = nameof(SourceRoot) + "." + nameof(RevisionId);