-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Improve incremental build times of the libraries subset #64000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| <Project> | ||
|
|
||
| <PropertyGroup> | ||
| <!-- NoTargets SDK needs a TFM set. Use the latest .NETCoreApp TFM that is supported by the SDK. | ||
| Only set a default if the project isn't multi-targeting. --> | ||
| <TargetFramework Condition="'$(TargetFramework)' == '' and '$(TargetFrameworks)' == ''">$(NetCoreAppToolCurrent)</TargetFramework> | ||
| <!-- NoTargets SDK needs a TFM set. Set a default if the project doesn't multi target. --> | ||
| <TargetFramework Condition="'$(TargetFramework)' == '' and '$(TargetFrameworks)' == ''">$(NetCoreAppCurrent)</TargetFramework> | ||
| </PropertyGroup> | ||
|
|
||
| </Project> | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -9,10 +9,17 @@ | |||||||
| <VSTestDependsOn>$(VSTestDependsOn);ResolveP2PReferences</VSTestDependsOn> | ||||||||
| <PackDependsOn>$(PackDependsOn);ResolveP2PReferences</PackDependsOn> | ||||||||
| <PublishDependsOn>$(PublishDependsOn);ResolveP2PReferences</PublishDependsOn> | ||||||||
| <GetTargetPathDependsOn>ResolveP2PReferences</GetTargetPathDependsOn> | ||||||||
| <!-- Filter out ProjectReferences which aren't compatible with the project's TargetFramework. --> | ||||||||
| <OmitIncompatibleProjectReferences>true</OmitIncompatibleProjectReferences> | ||||||||
|
||||||||
| <!-- Filter out ProjectReferences which aren't compatible with the above TargetFramework. --> | |
| <OmitIncompatibleProjectReferences>true</OmitIncompatibleProjectReferences> | |
| <FilterTraversalProjectReferences>true</FilterTraversalProjectReferences> |
The overall reason why this is necessary is already explained in dotnet/arcade#8459. Incompatible target frameworks (based on the BuildTargetFramework property) were filtered out in outer builds. Now that many projects don't have outer builds anymore and use the TargetFramework property instead, filtering needs to happen at a different point. Note that this is already implemented in main, this change here just moves it into a shard place as multiple traversal projects depend on filtering.
Uh oh!
There was an error while loading. Please reload this page.