Okay thanks for all the info (except the visual micro version which is in tools>options)
I think I have all the info now anyway.
We have two things:-
1)
You have verbose mode switched on and we see two errors at the end of the compile along with a note to say the compile failed. The two errors lines don't mean much but show you have an error in your code. If you switch "verbose mode" and "show build props" off now we have finished the test life will be easier for you.
Every so often you might get a couple of weak errors displayed by Visual Micro in that case you can check the compile using the Arduino ide. The source is compatible between the two ide's (but we will look at fixing the detail in this type of error report for the next release because it's a really cr.p one for vm. I think the problem is the location of the wrong code. Top of the file is where stuff is inserted into a temp copy for an Arduino compile so working out line numbers in relation to the real code gets trickier).
In this case I checked your code for, you as you can read in my earlier post, and your code is invalid.
In the Arduino Ide you code produces these errors:-
sketch_apr22a.ino:1:1: error: 'EventContainer' does not name a type
sketch_apr22a.ino: In function 'void setup()':
sketch_apr22a.ino:11:19: error: 'events' was not declared in this scope
sketch_apr22a.ino:11:25: error: 'container_create' was not declared in this scope
sketch_apr22a.ino:14:46: error: 'container_create_event' was not declared in this scope
sketch_apr22a.ino:17:54: error: 'container_add_listener' was not declared in this scope
sketch_apr22a.ino: In function 'void loop()':
sketch_apr22a.ino:33:27: error: 'events' was not declared in this scope
sketch_apr22a.ino:33:45: error: 'container_get' was not declared in this scope
sketch_apr22a.ino:33:59: error: 'event_send' was not declared in this scope
Error compiling.
2) 209 Errors
I re-read your first post and now realize that you were talking about intellisense error console errors. That is a visual studio C++ window that does not reflect the true Arduino compilation result. The intellisense and compile are two different things for Visual Micro due to the fact that Visual Studio does not know what to do with multiple .ino files.
To check the true result you have to compile because that is when Visual Micro can have full control and ensure the project is glued together correctly. Having said that normally I only expect to see 10 errors at most in the VS Error Window.
For now I suggest you close the VS Error Window and get your Arduino code fixed and the compile working.
Then revisit this post and we can see what's going on with your intellisense. In that case I will need to know which version of Visual Studio you are running.
This is intellisense and can be ignored for now:-
Quote:Almost all of the errors are CS2059, CS2061, CS2054, CS2084.
Hope this makes sense
Thanks again for the info