Template Export

I am trying to setup a template for our website, and I would like to use the template to automatically format the name of the class. I have used $safeitemname$ as the class name, and while this works, it creates a class name that may not be unique in the scope of the entire website. For example, if the class is declared as:

public partial class $safeitemname$ : Page

this can result in a class called Default. If I have another page called Default.aspx anywhere in the website, and I publish it in one DLL, I naturally get class name conflicts. Is there any way to add the directory name to the class, so we can avoid these conflicts

thanks a lot

simon




Answer this question

Template Export

  • Template Export