Reza on blogging [MVP]

THIS BLOG HAS MOVED TO: http://blogs.devhorizon.com/reza

Subscriptions

<January 2009>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

News



toronto.sharepoint.camp


Navigation

Post Categories

Other Bloggers

Personal Links

Monday, November 20, 2006 - Posts

Visual Studio 2005 Extensions for WSS 3.0 and Custom Master Page Problem

With the new VSeWSS tools for Visual Studio 2005, SharePoint developers can now create site definitions and deploy them as easy as 1-2-3 to the server without any copy and paste steps involved. Well, it is still in CTP and there are some serious bugs there, so we cannot expect it to work 100%. One thing that is strange is the fact the there is no direct way to have a custom master page in yor project. As soon as you change MasterPageFile="~masterurl/default.master" to anything else , you will get dozens of errors and warnings and project does not get compiled.

If you follow Todd's solution on how to create ghosted and unghosted master pages , you still have no chance to get this working.I changed Todd's solution and finally managed to add my own custom.master to the project. here are the steps:

1) Add a custom.master to the project (same-level as default.aspx)

In ONET.XML

2)Add the following tag inside the tag.


3)Scroll down to the section  and change it to

4) Inside the configuration Tag above , go to the section

and add:

It should look like this after you change it:

....

.....

5) Create a new Module section under the tag as shown below:



6) Build and deploy the project , custom.master should show up in the master page gallery of your site and custom.master page is in effect.

 


posted Monday, November 20, 2006 1:51 PM by admin with 0 Comments

Powered by Community Server, by Telligent Systems