Hi everyone!
I want to build an item template for a project which has the following file structure.
Web -> Templates -> Pages
Template output will be:
namespace Templates.Pages.Foo
{
[CustomAttribute(Page="~/Templates/Pages/Foo.aspx")]
public class Foo
{
}
}
I'm having trouble getting file structure. Here's what I have so far:
namespace $rootnamespace$
{
[CustomAttribute(
Page = "~/how_to_get_file_structure/$safeitemname$.aspx",
)]
public class $safeitemname$
{
}
}
Any help would be appreciated.