Does somebody know if there is a way to use PreBuildEvent and PostBuildEvent on the new Visual Studio 2015 Tools for Apache Cordova?
I tried this post, but it didn't work: Setting post-build event commands?
I faced similar issue and i needed to delete a folder on build in my Cordova app build with VS 2015 . I found a solution in this link https://stackoverflow.com/a/10605248/581157 Hope this helps.
To delete a folder on Biuld of the cordova app i added this to the jsproj file
<Target Name="BeforeBuild">
<Exec Command="CD $(ProjectDir)
RMDIR /S /Q platforms"/>
</Target>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With