13 references to Resources
Microsoft.DotNet.PackageValidation.Tests (13)
Microsoft.DotNet.PackageValidation.Tests.Resources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
Resources
)));
Validators\BaselinePackageValidatorTests.cs (4)
41
Assert.Contains(DiagnosticIds.TargetFrameworkDropped + " " + string.Format(
Resources
.MissingTargetFramework, ".NETStandard,Version=v2.0"), log.errors);
63
Assert.Contains(string.Format(
Resources
.BaselineTargetFrameworksIgnored, "netcoreapp3.1"), log.info);
91
Assert.Contains(string.Format(
Resources
.BaselineTargetFrameworksIgnored, "portable-net45+win8+wp8+wpa81"), log.info);
93
string.Format(
Resources
.BaselineTargetFrameworkIgnoredButPresentInCurrentPackage, "portable-net45+win8+wp8+wpa81"),
Validators\CompatibleTFMValidatorTests.cs (8)
36
Assert.Equal(DiagnosticIds.CompatibleRuntimeRidLessAsset + " " + string.Format(
Resources
.NoCompatibleRuntimeAsset, ".NETCoreApp,Version=v3.1"), log.errors[0]);
53
Assert.Contains(DiagnosticIds.CompatibleRuntimeRidLessAsset + " " + string.Format(
Resources
.NoCompatibleRuntimeAsset, ".NETStandard,Version=v2.0"), log.errors);
72
Assert.Contains(DiagnosticIds.CompatibleRuntimeRidLessAsset + " " + string.Format(
Resources
.NoCompatibleRuntimeAsset, ".NETCoreApp,Version=v2.0"), log.errors);
73
Assert.Contains(DiagnosticIds.CompatibleRuntimeRidSpecificAsset + " " + string.Format(
Resources
.NoCompatibleRidSpecificRuntimeAsset, ".NETCoreApp,Version=v2.0", "win"), log.errors);
89
Assert.Contains(DiagnosticIds.ApplicableCompileTimeAsset + " " + string.Format(
Resources
.NoCompatibleCompileTimeAsset, ".NETStandard,Version=v2.0"), log.errors);
123
Assert.Contains(DiagnosticIds.ApplicableCompileTimeAsset + " " + string.Format(
Resources
.NoCompatibleCompileTimeAsset, ".NETStandard,Version=v2.0"), log.errors);
140
Assert.Contains(DiagnosticIds.CompatibleRuntimeRidLessAsset + " " + string.Format(
Resources
.NoCompatibleRuntimeAsset, ToolsetInfo.CurrentTargetFramework), log.errors);
175
Assert.Contains(DiagnosticIds.ApplicableCompileTimeAsset + " " + string.Format(
Resources
.NoCompatibleCompileTimeAsset, ".NETStandard,Version=v2.0"), log.errors);