summaryrefslogtreecommitdiff
path: root/build.proj
diff options
context:
space:
mode:
Diffstat (limited to 'build.proj')
-rw-r--r--build.proj7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.proj b/build.proj
index 465e49c471..eabe0e5b4b 100644
--- a/build.proj
+++ b/build.proj
@@ -11,6 +11,8 @@
<Import Project="dir.traversal.targets" />
+ <Import Project="$(ToolsDir)clean.targets" />
+
<!-- The following properties are in place to keep the behavior of build.cmd while we work on the dev workflow steps. -->
<PropertyGroup>
<!-- To disable the restoration of packages, set RestoreDuringBuild=false or pass /p:RestoreDuringBuild=false.-->
@@ -45,5 +47,10 @@
<Exec Command="$(DotnetRestoreCommand) $(SourceDir).nuget/init/init.csproj"
StandardOutputImportance="Low" />
</Target>
+
+ <Target Name="CleanAllProjects">
+ <Message Condition="Exists($(RootBinDir))" Importance="High" Text="Removing $(RootBinDir)"/>
+ <RemoveDir Directories="$(RootBinDir)" />
+ </Target>
</Project>