In my last blog post that I wrote, I wrote about a problem that I found. Powershell may chuck an error at you that says, This solution contains no resources scoped for a Web application.
I have found two very different methods of making sure that your SharePoint project is classed as a ‘web application’. If it is not classed as a web application, it can cause problems and you will not be able to deploy your solution to your web application.
There is a way to force deployment via Powershell, however I found a blog post that suggests changing a few controls in Visual Studio 2010 using ‘SafeControl‘.
You can find this blog SPFarm, here. The author is very knowledgeable and it helped me straight away to find out my problem and let me continue on with my deployment of a SharePoint project.
I hope you find it as useful as I did.