Visual Studio 2008 – SharePoint Master Pages Problem

7 01 2009

So here’s the scenario, your designing a SharePoint Application Page or similar and you want to inherit from one of the SharePoint Master Pages (e.g.application.master).

It seems if you choose to use VS2008 to do this, you will run into a problem. VS2008 will not display the aspx page in the designer and will throw an error that the masterpage cannot be found, correct the problem in code view. As far as I can tell there is no fix for this and you would need to design the page in code view which is quite frustrating.

I have found a few threads on MSDN detailing the problem, see here:

http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/c8035d00-afb8-4da1-889a-3d77b113572f/

The only real solution is to use VS2005, it will present you with a warning saying it cannot find the masterpage but will still show generic placeholders on the page and allow you to design the page in design view. This is what I am currently doing.

If anyone has a solution or a fix for the above problem, please let me know! 🙂

Advertisements

Actions

Information

2 responses

4 03 2009
Jeremy Thake

Did you ever find a way to cheat this in VS2008?

5 03 2009
alex350r

Sadly no, I have been designing the pages as standard aspx in Visual Studio and then moving them into a SharePoint based VS project after

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s




%d bloggers like this: