c# webapp template - how to custom a template so it automatically adds files within directories?

Discussion in 'ASP .Net' started by ddfsdf, Oct 11, 2005.

  1. ddfsdf

    ddfsdf Guest

    I have tried to create a custom template for a c# web application.
    If I want to add files to the project - I add them to the Templates.inf
    file, and the wizard renders and creates them for me, the problem is
    I want my files to be added into directories
    (e.g I want to add the file: folder1\myWebForm.aspx and not just
    myWebForm.aspx).
    The wizard uses the projectItems.AddFromTemplate function, which does not
    get a "folder\\file" as parameter...
    ddfsdf, Oct 11, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    6
    Views:
    428
    S. Justin Gengo [MCP]
    Feb 10, 2006
  2. mark4asp
    Replies:
    1
    Views:
    501
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Apr 3, 2007
  3. Andrew
    Replies:
    7
    Views:
    415
    Andrew
    Jun 28, 2009
  4. TimG
    Replies:
    1
    Views:
    103
    Scott Mitchell [MVP]
    May 8, 2005
  5. Adam Petrie
    Replies:
    8
    Views:
    306
    Adam Petrie
    Oct 11, 2004
Loading...

Share This Page