diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.Compilation/BuildManager.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.Compilation/BuildManager.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs b/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs index 9fe98a37374..0a24fa386f1 100644 --- a/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs +++ b/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs @@ -862,11 +862,7 @@ namespace System.Web.Compilation { foreach (List <AssemblyBuilder> abuilders in assemblyBuilders.Values) { foreach (AssemblyBuilder abuilder in abuilders) { abuilder.AddAssemblyReference (GetReferencedAssemblies () as List <Assembly>); - try { - results = abuilder.BuildAssembly (virtualPath); - } catch (CompilationException ex) { - throw new HttpException ("Compilation failed for virtual path '" + virtualPath + "'.", ex); - } + results = abuilder.BuildAssembly (virtualPath); // No results is not an error - it is possible that the assembly builder contained only .asmx and // .ashx files which had no body, just the directive. In such case, no code unit or code file is added |