Error while deploying a WSP with CAS using the new Visual Studio 2010 SharePoint Developer Tools (and fix too)
If you’re working with SharePoint 2010 solutions that deploy assemblies to BIN the right way (with CAS policies that is), you might have noticed that an error occurs during the deployment of the WSP to SharePoint with the new Visual Studio 2010 SharePoint Developer Tools.
Basically it is impossible to deploy the WSP to SharePoint and benefit of all the new cool functionality that the new development tools provide.
The great news is, that the team responsible for the tools found this error as well and immediately provided a fix which solves this issue! Big thanks to Mike Morton and Phil Hoff for providing the fix!