Do you know Redth’s Addin for Visual Studio for Mac to “Obliterate Output Paths”, because Clean doesn’t do, what one could expect? :-)

There’s a comfortable way of extending all projects within a solution to automagically “obliterate” right after a clean. Just add the following XML-snippet to your csproj:

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    
    <!-- ... -->

	<Target Name="ObliterateAfterClean" AfterTargets="Clean">
		<!-- obj -->
		<RemoveDir Directories="$(BaseIntermediateOutputPath)" />
        <!-- bin 
            BaseOutputPath seems have no default-value and thus is empty, when not set.
            TargetDir deletes only the "current" configuration.
        -->
		<RemoveDir Directories="bin" />
	</Target>
</Project>

Sources: