The problem: Visual Studio 2010 solution, modules with Page Layouts, etc. Changes in Page Layouts were not updated after deployment. Old version kept on showing up.
Tried the following things:
- Manually retract, deleted, added and deployed WSP
- Checked 20 times in 14-hive if version in TEMPLATEFEATURES was the correct one
- Resetted IE cache settings
- Deleted web application (including IIS and content database)
Even after deleting whole web application AND deleting WSP, after adding and deployment of the WSP still the old version (of about two hours ago) was showing up as the Page Layout.
Changes in the masterpage (same gallery) were showing up correctly. Tried with other page layouts too (which were not used in pages), still no luck.
After a while I wanted to throw my laptop out of the window, but I did not. Googling brought me to the following page /_layouts/reghost.aspx (Site Settings -> Reset to Site Definition). Very, very strange, because the Page Layouts were not customized /unghosted. And even then, deleting content database will delete all unghosted items I would think, but I am not very sure now anymore….
In Page-Directive… This was added bij SPD.
<%@ Page language=”C#” Inherits=”Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=188.8.131.52,Culture=neutral,PublicKeyToken=71e9bce111e9429c” meta:webpartpageexpansion=”full” meta:progid=”SharePoint.WebPartPage.Document” %>