visual studio 2010 - MSBuild pre clean customization -
i working visual studio 2010. have directed project output specific folder contain dlls , exes when built. when clean solution, folder not getting cleaned, , dlls still present in it.
can tell me how handle clean solution command clear out folders want clean? tried working msbuild , handling beforeclean , afterclean targets, did not provide desired result.
the answer sergio should work think cleaner override beforeclean/afterclean targets. these hooks build/clean process provided microsoft. when clean, vs call targets : beforeclean;clean;afterclean , default first , last nothing.
in 1 of existing .csproj file can add following :
<target name="beforeclean"> <!-- stuff here --> </target>
Comments
Post a Comment