I tried that then my project wouldn't build because it references Microsoft.Office.InfoPath from Office 15
and I get the compiler error saying "The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)"
Same for LoadingEventArgs and XmlEventArgs, so I guess the Infopath DLL was different in 2010.
I am currently re-installing IP & VSTA 2010.
Oh, the joys of trying to use the latest technology in a big beaurocratic organisation :-(