I have added to target to my custom .targets file which is imported in my custom project file following the instruction in this post at MSDN Forums:
<!-- Support for Pre-Build and Post-Build-->
<Exec Command="$(PreBuildEvent)" Condition=" '$(PreBuildEvent)' != '' "/>
<Exec Command="$(PostBuildEvent)" Condition=" '$(PostBuildEvent)' != '' "/>
<!-- Build target -->
<Target Name="Build" DependsOnTargets="$(BuildDependsOn)"></Target>
The Post- and Pre-build Event property page is showed but it is disabled. What have I forgot?
¡Thank you very much!