Skip to content

Fix duplicate comment numbering in NuGetAuditTests

00142c9
Select commit
Loading
Failed to load commit list.
Merged

Fix <NuGetAuditSuppress> with packages.config ignoring all suppressions after the first #7234

Fix duplicate comment numbering in NuGetAuditTests
00142c9
Select commit
Loading
Failed to load commit list.
Azure Pipelines / NuGet.Client CI succeeded Mar 25, 2026 in 13m 30s

Build #20260325.16 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 75,418 (98.37%)
  • Other: 1,249 (1.63%)
  • Total: 76,668

Annotations

Check failure on line 1 in NuGet.XPlat.FuncTest.Commands.Package.Update.PackageUpdateIOTests.UpdatePackageReferenceTests.UpdatePackageReference_FileBasedApp

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

NuGet.XPlat.FuncTest.Commands.Package.Update.PackageUpdateIOTests.UpdatePackageReferenceTests.UpdatePackageReference_FileBasedApp

Microsoft.Build.Exceptions.InvalidProjectFileException : The imported project file "/Users/runner/work/1/s/.test/Directory.Build.targets" could not be loaded. Root element is missing.  /Users/runner/work/1/s/cli/sdk/10.0.105/Microsoft.Common.CrossTargeting.targets
Raw output
   at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
   at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject[T1,T2](IElementLocation elementLocation, String resourceName, T1 arg0, T2 arg1)
   at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpression(String directoryOfImportingFile, ProjectImportElement importElement, String unescapedExpression, Boolean throwOnFileNotExistsError, List`1& imports)
   at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List`1& projects, SdkResult& sdkResult)
   at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement, SdkResult& sdkResult)
   at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
   at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
   at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
   at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
   at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
   at Microsoft.Build.Evaluation.Evaluator`4.Evaluate()
   at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(IEvaluatorData`4 data, Project project, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary`1 environmentProperties, ICollection`1 propertiesFromCommandLine, ILoggingService loggingService, IItemFactory`2 itemFactory, IToolsetProvider toolsetProvider, IDirectoryCacheFactory directoryCacheFactory, ProjectRootElementCacheBase projectRootElementCache, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, EvaluationContext evaluationContext, Boolean interactive)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext, Boolean interactive)
   at Microsoft.Build.Evaluation.Project..ctor(ProjectRootElement xml)
   at NuGet.CommandLine.XPlat.MSBuildAPIUtility.GetProject(String projectCSProjPath) in /Users/runner/work/1/s/src/NuGet.Core/NuGet.CommandLine.XPlat/Utility/MSBuildAPIUtility.cs:line 68
   at NuGet.CommandLine.XPlat.MSBuildAPIUtility.AddPackageReference(String projectPath, LibraryDependency libraryDependency, Boolean noVersion) in /Users/runner/work/1/s/src/NuGet.Core/NuGet.CommandLine.XPlat/Utility/MSBuildAPIUtility.cs:line 288
   at NuGet.CommandLine.XPlat.Commands.Package.Updat