Why not look for yourself? Open Microsoft.Common.Targets (found in% windir% \ Microsoft.NET) and you will see a section like this:
<PropertyGroup> <CleanDependsOn> BeforeClean; CleanReferencedProjects; UnmanagedUnregistration; CoreClean; CleanPublishFolder; AfterClean </CleanDependsOn> </PropertyGroup> <Target Name="Clean" Condition=" '$(_InvalidConfigurationWarning)' != 'true' " DependsOnTargets="$(CleanDependsOn)" />
Keep reading to see exactly what each of these subgoals does. (Some, of course, are just stubs for the user to override).
Personally, I like to see that, from behind me, my masquerade parachutist is sitting behind me. To this end, I would recommend increasing the amount of information recorded in the Output window. Tools โ Options โ Projects and Solutions โ Build and Run โ MSBuild Verbosity โ Change from โMinimumโ to โNormalโ or โDetailedโ.
Repeat the cleaning operation and see the result! Correlation of what you see in * .targets files is a good way to start learning about MSBuild.
Richard Berg Oct 21 '09 at 20:13 2009-10-21 20:13
source share