File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -727,10 +727,11 @@ as:
727
727
</Target >
728
728
```
729
729
730
- There is no ` $(IncrementalCleanDependsOn) ` property, what do you do?
730
+ Then use the [ ` $(IncrementalCleanDependsOn) ` property used in ` Microsoft.Common.CurrentVersion.targets ` ] [ msbuild_incrementalcleandependson ] .
731
731
732
- Since using ` BeforeTargets ` and ` AfterTargets ` is a no-no, we have
733
- modified ` $(CoreBuildDependsOn) ` so you can run a target * before*
732
+ If you are on an older version of the SDK where ` $(IncrementalCleanDependsOn) ` property defined is not used, * and*
733
+ since using ` BeforeTargets ` and ` AfterTargets ` is a no-no, you can instead
734
+ modify ` $(CoreBuildDependsOn) ` to run a target * before*
734
735
` IncrementalClean ` :
735
736
736
737
``` xml
@@ -758,3 +759,4 @@ See the following links about this problem:
758
759
[ clean ] : https://github.com/Microsoft/msbuild/issues/2408#issuecomment-321082997
759
760
[ msbuild_issue ] : https://github.com/Microsoft/msbuild/issues/3916
760
761
[ msbuild_repro ] : https://github.com/jonathanpeppers/MSBuildIncrementalClean
762
+ [ msbuild_incrementalcleandependson ] : https://github.com/dotnet/msbuild/commit/fdddb27ebec8f6a51513b6e869f039a32d3a8c39
You can’t perform that action at this time.
0 commit comments