32 references to SR
Microsoft.Extensions.DependencyModel (32)
CompilationLibrary.cs (2)
78throw new InvalidOperationException(SR.Format(SR.LibraryLocationNotFound, Name));
DependencyContextJsonReader.cs (28)
203throw new FormatException(SR.NoRuntimeTarget); 220throw new FormatException(SR.NoTargetsSection); 228throw new FormatException(SR.Format(SR.TargetNotFound, runtimeTargetName)); 359throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(targetName))); 382throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(targetLibraryName))); 461throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(name))); 465throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(version))); 488throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(libraryName))); 516throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(path))); 559throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(runtimePath))); 613throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(path))); 658throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(libraryName))); 712throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(type))); 739throw new FormatException(SR.Format(SR.RequiredFieldNotSpecified, nameof(runtime))); 776throw new InvalidOperationException(SR.Format(SR.LibraryInformationNotFound, nameWithVersion));
Resolution\ReferenceAssemblyPathResolver.cs (2)
56throw new InvalidOperationException(SR.Format(SR.ReferenceAssemblyNotFound, assembly, library.Name));