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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -