U4-2181 - Replace references in all /umbraco masterpages so website builds

Created by Tom Witherington 02 May 2013, 11:11:36 Updated by Sebastiaan Janssen 06 May 2013, 11:25:22

One of things I regularly do, to make an Umbraco Website build in VS is a global find/replace

replace MasterPageFile="/umbraco/masterpages/umbracoPage.Master" with MasterPageFile="~/umbraco/masterpages/umbracoPage.Master"

Occurs 17 times and prevents build issue The virtual path '/umbraco/masterpages/umbracoPage.Master' maps to another application, which is not allowed.

Comments

Tom Witherington 02 May 2013, 11:21:57

Also, replace MasterPageFile="../../masterpages/umbracoDialog.Master" with MasterPageFile="~/umbraco/masterpages/umbracoDialog.Master" 13 occurences

These are most likely packages... MasterPageFile="../../masterpages/umbracoPage.Master" with MasterPageFile="~/umbraco/masterpages/umbracoPage.Master"

MasterPageFile="../../../masterpages/umbracoPage.Master" with MasterPageFile="~/umbraco/masterpages/umbracoPage.Master"

MasterPageFile="../masterpages/umbracoPage.Master with MasterPageFile="~/umbraco/masterpages/umbracoPage.Master


Sebastiaan Janssen 06 May 2013, 11:25:15

Sorry, we can't do that as it will break support for running in a virtual directory.


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Easy

Category: UI

Backwards Compatible: True

Fix Submitted: Inline code

Affected versions: 4.8.0, 4.9.0, 4.10.0, 4.11.0, 6.0.0, 4.9.1, 4.11.1, 4.11.2, 4.11.3, 4.11.4, 6.0.1, 4.11.5, 6.0.2, 4.11.6, 6.0.3, 6.0.4, 4.11.7, 6.1.1, 6.0.6, 4.11.9

Due in version:

Sprint:

Story Points:

Cycle: