91 references to SharedStrings
PresentationBuildTasks (91)
Microsoft\Build\Tasks\Windows\FileClassifier.cs (9)
273case SharedStrings.Library : 274case SharedStrings.Module : 275case SharedStrings.WinExe : 276case SharedStrings.Exe : 307outputItem.SetMetadata(SharedStrings.Link, inputItem.GetMetadata(SharedStrings.Link)); 308outputItem.SetMetadata(SharedStrings.LogicalName, inputItem.GetMetadata(SharedStrings.LogicalName)); 334string localizableString = fileItem.GetMetadata(SharedStrings.Localizable);
Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (36)
70_outputType = SharedStrings.WinExe; 109OutputPath + AssemblyName + (TaskFileService.IsRealBuild? SharedStrings.StateFile : SharedStrings.IntellisenseStateFile), 113OutputPath + AssemblyName + (TaskFileService.IsRealBuild? SharedStrings.LocalTypeCacheFile : SharedStrings.IntellisenseLocalTypeCacheFile), 466string localizationDirectives = SharedStrings.Loc_None; 472localizationDirectives = SharedStrings.Loc_None; 477localizationDirectives = SharedStrings.Loc_CommentsOnly; 482localizationDirectives = SharedStrings.Loc_All; 503case SharedStrings.Loc_None : 508case SharedStrings.Loc_CommentsOnly : 513case SharedStrings.Loc_All : 711string buildExtension = (LanguageSourceExtension == SharedStrings.CsExtension) 712? SharedStrings.CsBuildCodeExtension 713: SharedStrings.GeneratedExtension + LanguageSourceExtension; 715string intellisenseExtension = (LanguageSourceExtension == SharedStrings.CsExtension) 716? SharedStrings.CsIntelCodeExtension 717: SharedStrings.IntellisenseGeneratedExtension + LanguageSourceExtension; 728bamlFile = OutputPath + Path.ChangeExtension(relativeFilePath, SharedStrings.BamlExtension); 864string fileName = SharedStrings.GeneratedInternalTypeHelperFileName 865+ (TaskFileService.IsRealBuild? SharedStrings.GeneratedExtension : SharedStrings.IntellisenseGeneratedExtension) 968case SharedStrings.Exe: 969case SharedStrings.WinExe: 973case SharedStrings.Library: 974case SharedStrings.Module: 1546linkAlias = inputXamlItem.GetMetadata(SharedStrings.Link); 1547logicalName = inputXamlItem.GetMetadata(SharedStrings.LogicalName); 1594SharedStrings.Localizable, 1595SharedStrings.Link, 1596SharedStrings.LogicalName 1675locFile = Path.ChangeExtension(xamlRelativeFilePath, SharedStrings.LocExtension); 1710string strLocalizable = ti.GetMetadata(SharedStrings.Localizable); 1805return OutputPath + AssemblyName + SharedStrings.ContentFile 1806+ (TaskFileService.IsRealBuild? SharedStrings.GeneratedExtension : SharedStrings.IntellisenseGeneratedExtension)
Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (25)
56_outputType = SharedStrings.WinExe; 174(TaskFileService.IsRealBuild? SharedStrings.StateFile : SharedStrings.IntellisenseStateFile); 177(TaskFileService.IsRealBuild? SharedStrings.LocalTypeCacheFile : SharedStrings.IntellisenseLocalTypeCacheFile); 195(TaskFileService.IsRealBuild ? SharedStrings.StateFile : SharedStrings.IntellisenseStateFile); 391string localizationDirectives = SharedStrings.Loc_None; 397localizationDirectives = SharedStrings.Loc_None; 402localizationDirectives = SharedStrings.Loc_CommentsOnly; 407localizationDirectives = SharedStrings.Loc_All; 427case SharedStrings.Loc_None: 432case SharedStrings.Loc_CommentsOnly: 437case SharedStrings.Loc_All: 490OutputPath + AssemblyName + (TaskFileService.IsRealBuild? SharedStrings.LocalTypeCacheFile : SharedStrings.IntellisenseLocalTypeCacheFile), 651if (OutputType.Equals(SharedStrings.Exe) || OutputType.Equals(SharedStrings.WinExe)) 781string bamlFileName = Path.ChangeExtension(resolvedXamlfile, SharedStrings.BamlExtension); 797bamlItem.SetMetadata(SharedStrings.Localizable, localizable ? "True" : "False"); 798bamlItem.SetMetadata(SharedStrings.Link, linkAlias); 799bamlItem.SetMetadata(SharedStrings.LogicalName, logicalName); 815case SharedStrings.Exe : 816case SharedStrings.WinExe: 817case SharedStrings.Library :
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (5)
326resFile.GetMetadata(SharedStrings.Link), 327resFile.GetMetadata(SharedStrings.LogicalName), 401Path.GetExtension(sourceFilePath).Equals(SharedStrings.BamlExtension) && 402Path.GetExtension(path).Equals(SharedStrings.XamlExtension)) 405path = Path.ChangeExtension(path, SharedStrings.BamlExtension);
MS\Internal\Localization\LocalizationParserHooks.cs (1)
103string absoluteOutputPath = _compiler.TargetPath + _compiler.SourceFileInfo.RelativeSourceFilePath + SharedStrings.LocExtension;
MS\Internal\MarkupCompiler\MarkupCompiler.cs (8)
658SharedStrings.GeneratedExtension, SharedStrings.IntellisenseGeneratedExtension, 2956TargetPath + SharedStrings.GeneratedInternalTypeHelperFileName, 2957SharedStrings.GeneratedExtension, SharedStrings.IntellisenseGeneratedExtension, 3261TargetPath + AssemblyName + SharedStrings.ContentFile, 3262SharedStrings.GeneratedExtension, SharedStrings.IntellisenseGeneratedExtension,
MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (7)
210string linkAlias = taskItem.GetMetadata(SharedStrings.Link); 211string logicalName = taskItem.GetMetadata(SharedStrings.LogicalName); 392HashSet<string> localMarkupPages = new HashSet<string>(_mcPass1.PageMarkup.Select(x => x.GetMetadata(SharedStrings.FullPath)), StringComparer.OrdinalIgnoreCase); 465taskItem.GetMetadata(SharedStrings.Link), 466taskItem.GetMetadata(SharedStrings.LogicalName)); 534taskItem.GetMetadata(SharedStrings.Link), 535taskItem.GetMetadata(SharedStrings.LogicalName));