-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
This target picks the intellisense file from the Microsoft.Private.Intellisense package :
runtime/eng/intellisense.targets
Lines 43 to 51 in 88f2547
| <!-- Replace the compiler generated xml file in the obj folder with the one that comes from the intellisense package. --> | |
| <Target Name="ChangeDocumentationFileForPackaging" | |
| BeforeTargets="CopyFilesToOutputDirectory;DocumentationProjectOutputGroup" | |
| Condition="'$(UseCompilerGeneratedDocXmlFile)' != 'true' and '$(IntellisensePackageXmlFilePath)' != ''"> | |
| <ItemGroup> | |
| <DocFileItem Remove="@(DocFileItem)" /> | |
| <DocFileItem Include="$(IntellisensePackageXmlFilePath)" /> | |
| </ItemGroup> | |
| </Target> |
Because of using that prebuilt asset, the earliest output in the output directory dates back to when the package was last updated which results in incremental build issues.
WARNING: Potential build performance issue in 'System.Text.RegularExpressions.csproj'. The project does not appear up-to-date after a successful build: Input 'C:\git\runtime2\Directory.Build.props' is newer (10/3/2023 3:15:00 PM) than earliest output 'C:\git\runtime2\artifacts\bin\System.Text.RegularExpressions\Debug\net9.0\System.Text.RegularExpressions.xml' (9/18/2023 11:26:32 PM), not up-to-date. See https://aka.ms/incremental-build-failure.