Are you saying that Visual Studio compiles this project correctly for you with the Arduino 1.0.1 IDE?
There was a problem with Arduino 1.0.0 and Visual Studio?
yes it's happens with me it strange but true
may be i m doing some thing wrong with it..
May be i am not sure
But in opinion it has because when i tried to work with(Arduino 1.0.1) then i just change the path for new Arduino version and it work perfectly i dont know what is going on with it.
And the bed thing is when i try to compile any other library to visual studio 2010 with Arduino 1.0.0 so it's work perfectly but for USB library it not working
when i complies with arduino 1.0.1 this time every single library working fine.
Second bed thing for me this is first time when i m using visual studio so if you have any tutorial for debugging then it's good for me.