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

D

ddfsdf

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...
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top