This project is read-only.


System.IO.DirectoryNotFoundException when template directory does not exist


As reported by Tony F:
A colleague found this bug in your Dynamic Templates plugin. I sent him a template and he installed the plugin and then tried to install the template. The error he got was:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents and Settings\hodginw\Application Data\wlwtemplates\OCOT - Audio - Podcast.wlwtemplate'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
I suspect that the template installation code requires the directory to exist. I also suspect that you missed this because most people try to create a template before trying to install one. If you create a template, the directory gets created.


jcheng wrote Sep 21, 2007 at 12:45 AM

Fixed in change set 7291.

wrote Sep 21, 2007 at 12:45 AM

wrote Sep 21, 2007 at 12:45 AM

wrote Feb 12, 2013 at 10:00 PM

wrote May 15, 2013 at 1:21 AM

wrote May 15, 2013 at 1:22 AM

wrote Jun 12, 2013 at 1:19 AM