Ensuring your SharePoint project is classed as a ‘Web Application’

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.

Advertisements

One thought on “Ensuring your SharePoint project is classed as a ‘Web Application’

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s