Chapter 6 - Template Export Issue
Hello,
I'm following along and having a problem with the template export piece. I created the Temporary.aspx file and changed the class name and the inherits piece in the markup view to:
$relurlnamespace$_$safeitemname$
After I export the template per the instructions and then try to create a new page using the new template, I see this in the code behind and in the inherits area of the new page:
$relurlnamespace$_TestPage
Is there a reason $relurlnamespace$ isn't getting replaced correctly? I also checked the Template Parameters page on MSDN for Visual Studio 2012 and I don't see a parameter called $relurlnamespace$. I've tried some of the others listed on that MSDN page, but they don't work either.
Any ideas?
|