Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
Page Index Toggle Pages: 1
Send Topic Print
Pre and post build events support (Read 2417 times)
Junior Member

Posts: 10
Pre and post build events support
May 7th, 2015 at 1:37pm
Does Visual Micro supports   pre/post build events?
I found something like:

In platform.txt, pre and post build hooks can now be specified. Example: recipe.hooks.prebuild.0.pattern=echo "Hello {build.source.path}"
but can't make sense of it. My  platform is: Arduino ESP8266 platform
but I can't find any: recipe.hooks.prebuild. etc.
In VS Project->propertis->Build Events-> pre-build events, I tried enetering: time /T >time.txt but nothing happend.
Back to top
IP Logged
Visual Micro

Posts: 10657
United Kingdom
Re: Pre and post build events support
Reply #1 - May 7th, 2015 at 10:12pm

Visual Micro works the same as the arduino ide. Pre and post build events need to be defined in boards or platform.txt

It's on the list to also add support for VS events

If you change the txt files either click "tools>visual micro>reload tool chains", click rescan in the explorer or restart the ide

Back to top
IP Logged
Page Index Toggle Pages: 1
Send Topic Print