* XmlSiteMapProvider.cs: set the base ResourceKey to the name of
our associated site map file, so that localization works
correctly. Fixes bug #412493
svn path=/trunk/mcs/; revision=108985
+2008-07-28 Marek Habersack <mhabersack@novell.com>
+
+ * XmlSiteMapProvider.cs: set the base ResourceKey to the name of
+ our associated site map file, so that localization works
+ correctly. Fixes bug #412493
+
2008-07-26 Gert Driesen <drieseng@users.sourceforge.net>
* HttpCachePolicy.cs: Only add Expires header if expire date is
throw new InvalidOperationException ("Request is missing - cannot map paths.");
if (File.Exists (file)) {
+ ResourceKey = Path.GetFileName (file);
+
watcher = new FileSystemWatcher ();
watcher.NotifyFilter |= NotifyFilters.Size;
watcher.Path = Path.GetFullPath (Path.GetDirectoryName (file));