瀏覽代碼

Small improvement

svn path=/trunk/mcs/; revision=12454
Miguel de Icaza 23 年之前
父節點
當前提交
eadff8e5ac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mcs/class/System.Web/System.Web.Compilation/CachingCompiler.cs

+ 1 - 1
mcs/class/System.Web/System.Web.Compilation/CachingCompiler.cs

@@ -29,7 +29,7 @@ namespace System.Web.Compilation
 			try {
 			try {
 				this.reference = File.GetLastWriteTime (result.OutputFile);
 				this.reference = File.GetLastWriteTime (result.OutputFile);
 			} catch (FileNotFoundException fnf){
 			} catch (FileNotFoundException fnf){
-				throw new FileNotFoundException (String.Format ("File: {0} at {1}", fnf.FileName, System.Environment.CurrentDirectory), fnf.FileName);
+				throw new FileNotFoundException (String.Format ("File: {0} at {1}", result.OutputFile, System.Environment.CurrentDirectory), fnf.FileName);
 			}
 			}
 		}
 		}