Explorar o código

CodeCheck script message and doc update (#34693)

* Removed non existing doc reference

* BuildErrors doc update

* Update docs/BuildErrors.md

Co-authored-by: Doug Bunting <[email protected]>
Volodymyr S %!s(int64=4) %!d(string=hai) anos
pai
achega
90c3c97c8d
Modificáronse 2 ficheiros con 5 adicións e 1 borrados
  1. 4 0
      docs/BuildErrors.md
  2. 1 1
      eng/scripts/CodeCheck.ps1

+ 4 - 0
docs/BuildErrors.md

@@ -80,6 +80,10 @@ When attempting to restore servicing tags e.g. `v3.1.7`,  the NuGet.config file
 
 The `darc-int-...` feeds in NuGet.config are used only when building internally and are not needed after the tags are created. Delete all such entries in the file and retry.
 
+## Error: Generated code is not up to date in eng/ProjectReferences.props.
+
+After some project additions or moves, you may need to update the two `DotNetProjects Include` lists in `eng/Build.props`
+
 ## Warning: Requested Microsoft.AspNetCore.App v&hellip; does not exist
 
 You have likely attempted to build projects or execute tests which require the just-build Microsoft.AspNetCore.App

+ 1 - 1
eng/scripts/CodeCheck.ps1

@@ -186,7 +186,7 @@ try {
         foreach ($file in $changedFiles) {
             if ($changedFilesExclusions -contains $file) {continue}
             $filePath = Resolve-Path "${repoRoot}/${file}"
-            LogError "Generated code is not up to date in $file. You might need to regenerate the reference assemblies or project list (see docs/ReferenceAssemblies.md and docs/ReferenceResolution.md)" -filepath $filePath
+            LogError "Generated code is not up to date in $file. You might need to regenerate the reference assemblies or project list (see docs/ReferenceResolution.md)" -filepath $filePath
             & git --no-pager diff --ignore-space-change $filePath
         }
     }