SCG_CTP1.1_VSTemplate_CSharp301106 Released with a minor fix

Topics: SCG Releases, Release Notes, Announcement
Coordinator
Nov 30, 2006 at 1:08 AM
There is a very minor modification in this VSTemplates.

Fixes:
1. The _Util.GenerateOutputAsFile(Page, io) Method can create Directories as long the asp.net has permission on the output folder.

So you can define something like this now:

this.IOList.Add(new InputTemplateAndOutputPath("~/Templates/Example1Template.ascx", @"c:\temp\Example1.cs"));

this.IOList.Add(new InputTemplateAndOutputPath("~/Templates/Example1Template.ascx", @"c:\temp\somefolder\Example1.cs"));

Note: I have defined C:\Temp\ folder and c:\Temp\somefolder

This will now first check whether Folder exists and if does not exist it will create the folder.