Skip to content

Commit 96b6773

Browse files
authored
Fix incremental build issue with package files and doc file
The doc file for a project is not re-generated unless there are new APIs. This means it can be older than a package file (i.e. a .targets file) in the project, and remain so for a long time across many builds. This slows down builds unnecessarily, so remove. If package really needs a new build, you can always rebuild before Pack.
1 parent 1afd173 commit 96b6773

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
<ItemGroup>
9898
<!-- Consider the project out of date if any of these files changes -->
99-
<UpToDateCheck Include="@(PackageFile);@(None);@(Content);@(EmbeddedResource)" />
99+
<UpToDateCheck Include="@(None);@(Content);@(EmbeddedResource)" />
100100
<!-- We'll typically use ThisAssembly.Strings instead of the built-in resource manager codegen -->
101101
<EmbeddedResource Update="@(EmbeddedResource)" Generator="" Condition="'$(EnableRexCodeGenerator)' != 'true'" />
102102
</ItemGroup>

0 commit comments

Comments
 (0)