Hi!
I have an interesting problem. If I use VS to deploy .xap file to my WinPhone, everything is fine.
But, if I build my solution using MSBuild, I get .xap-file, but I can not deploy it. I get such error:
"Deployment optimization failed due to an invalid assembly. Rebuild your source projects and try again"
I use Windows Phone Application Deployment.