9 instantiations of WorkloadManifestCompositionException
Microsoft.NET.Sdk.WorkloadManifestReader (9)
WorkloadResolver.cs (9)
129
throw new
WorkloadManifestCompositionException
(Strings.DuplicateManifestID, manifestProvider.GetType().FullName, readableManifest.ManifestId, readableManifest.ManifestPath, existingManifest.ManifestPath);
153
throw new
WorkloadManifestCompositionException
(Strings.ManifestDependencyVersionTooLow, dependency.Key, resolvedDependency.Version, dependency.Value, manifest.Id, manifest.ManifestPath);
158
throw new
WorkloadManifestCompositionException
(Strings.ManifestDependencyMissing, dependency.Key, manifest.Id, manifest.ManifestPath);
174
throw new
WorkloadManifestCompositionException
(Strings.ConflictingWorkloadDefinition, workload.Key, manifest.Id, manifest.ManifestPath, conflictingManifest.Id, conflictingManifest.ManifestPath);
184
throw new
WorkloadManifestCompositionException
(Strings.ConflictingWorkloadPack, pack.Key, manifest.Id, manifest.ManifestPath, conflictingManifest.Id, conflictingManifest.ManifestPath);
205
throw new
WorkloadManifestCompositionException
(Strings.ConflictingWorkloadDefinition, redirect.Id, manifest.Id, manifest.ManifestPath, conflictingManifest.Id, conflictingManifest.ManifestPath);
218
throw new
WorkloadManifestCompositionException
(Strings.UnresolvedWorkloadRedirect, redirect.ReplaceWith, redirect.Id, manifest.Id, manifest.ManifestPath);
223
throw new
WorkloadManifestCompositionException
(Strings.CyclicWorkloadRedirect, cyclic.redirect.Id, cyclic.manifest.Id, cyclic.manifest.ManifestPath);
442
throw new
WorkloadManifestCompositionException
(Strings.MissingBaseWorkload, baseWorkloadId, workloadId, manifest?.Id, manifest?.ManifestPath);
5 references to WorkloadManifestCompositionException
Microsoft.NET.Sdk.WorkloadManifestReader.Tests (5)
ManifestTests.cs (4)
184
var
missingManifestEx = Assert.Throws<
WorkloadManifestCompositionException
>(() => missingManifestResolver.GetAvailableWorkloads().ToList());
196
var
inconsistentManifestEx = Assert.Throws<
WorkloadManifestCompositionException
>(() => inconsistentManifestResolver.GetAvailableWorkloads().ToList());
WorkloadResolverTests.cs (1)
60
Exception exc = Assert.Throws<
WorkloadManifestCompositionException
>(() =>