41 references to MSBuildNuGetProjectSystemUtility
NuGet.PackageManagement (41)
FileModifiers\Preprocessor.cs (2)
51
await
MSBuildNuGetProjectSystemUtility
.TryAddFileAsync(
92
await
MSBuildNuGetProjectSystemUtility
.DeleteFileSafeAsync(
FileModifiers\XdtTransformer.cs (1)
129
MSBuildNuGetProjectSystemUtility
.AddFile(msBuildNuGetProjectSystem, targetPath, document.Save);
FileModifiers\XmlTransformer.cs (2)
76
var transformDocument =
MSBuildNuGetProjectSystemUtility
.GetOrCreateDocument(xmlFragment.Name, targetPath, projectSystem);
81
MSBuildNuGetProjectSystemUtility
.AddFile(projectSystem, targetPath, transformDocument.Save);
Projects\MSBuildNuGetProject.cs (36)
204
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(ProjectSystem.TargetFramework, libItemGroups);
206
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(ProjectSystem.TargetFramework, referenceItemGroups);
208
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(ProjectSystem.TargetFramework, frameworkReferenceGroups);
210
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(ProjectSystem.TargetFramework, contentFileGroups);
212
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(ProjectSystem.TargetFramework, buildFileGroups);
214
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(ProjectSystem.TargetFramework, toolItemGroups);
217
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleLibItemsGroup);
219
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleReferenceItemsGroup);
221
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleFrameworkReferencesGroup);
223
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleContentFilesGroup);
225
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleBuildFilesGroup);
227
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleToolItemsGroup);
229
hasCompatibleProjectLevelContent =
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleLibItemsGroup) ||
230
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleFrameworkReferencesGroup) ||
231
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleContentFilesGroup) ||
232
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleBuildFilesGroup);
247
onlyHasCompatibleTools =
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleToolItemsGroup) && compatibleToolItemsGroup.Items.Any();
314
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleReferenceItemsGroup))
335
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleFrameworkReferencesGroup))
347
if (
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleContentFilesGroup))
349
await
MSBuildNuGetProjectSystemUtility
.AddFilesAsync(
358
if (
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleBuildFilesGroup))
399
if (
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleToolItemsGroup))
468
var compatibleToolItemsGroup =
MSBuildNuGetProjectSystemUtility
470
compatibleToolItemsGroup =
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleToolItemsGroup);
472
if (
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleToolItemsGroup))
500
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(packageTargetFramework, referenceItemGroups);
503
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(packageTargetFramework, contentFileGroups);
506
MSBuildNuGetProjectSystemUtility
.GetMostCompatibleGroup(packageTargetFramework, buildFileGroups);
509
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleReferenceItemsGroup);
511
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleContentFilesGroup);
513
=
MSBuildNuGetProjectSystemUtility
.Normalize(compatibleBuildFilesGroup);
531
if (
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleReferenceItemsGroup))
545
if (
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleContentFilesGroup))
551
await
MSBuildNuGetProjectSystemUtility
.DeleteFilesAsync(
561
if (
MSBuildNuGetProjectSystemUtility
.IsValid(compatibleBuildFilesGroup))