Just in case somebody else stumbles upon this problem and my posting turns up in search:
This is partly expected behaviour but you can work around it by double clicking the line with the error message. Full reply from VisualMicro is here...
You can use VisualMicro as Plugin for Atmel Studio. This will work with Teensy 3.0 as target.
Step 1) http://www.visualmicro.com/page/Arduino-for-Atmel-Studio.aspx
Step 2) http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx
Thank you Paul, Arduin+Teensyduino works just fine.
Also if I enter the exact same compile command I get from AtmelStudio/VisualMicro into the shell I can see line numbers in the compile-error. So they seem to get cut out by VisualMicro or AtmelStudio. I will pester the VisualMicro-Guys about...
Thanks a lot for your description and for sharing - it works well for me.
On compile errors: Did you get AtmelStudio to mark the line that causes the compile error? Currently I do not get a line indication at all in the output-window so I will have to search by hand. Example:
Example...