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