[Mono-list] Application does not run after moving to VS2010

Andrus kobruleht2 at hot.ee
Wed Apr 14 08:36:03 EDT 2010


After compiling web application with Visual Web Developer Express 2010  it 
does not run in Mono.
Exception below occurs.

If compiled with VWD2008 it runs OK and in .NET it also runs OK from VWD2010 
_IDE.

How to use Visual Web Developer Express 2010 with Mono ?

Andrus.

[System.Exception]: Compiler failed to produce the assembly. Output: ''
  at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch 
(System.CodeDom.Compiler.CompilerParameters options, System.String[] 
fileNames) [0x00334] in 
/root/src/mono-2.4.2.2/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs:308
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch 
(System.CodeDom.Compiler.CompilerParameters options, System.String[] 
fileNames) [0x00011] in 
/root/src/mono-2.4.2.2/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs:156
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile 
(System.CodeDom.Compiler.CompilerParameters options, System.String[] 
fileNames) [0x00014] in 
/root/src/mono-2.4.2.2/mcs/class/System/System.CodeDom.Compiler/CodeDomProvider.cs:119
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly 
(System.Web.VirtualPath virtualPath, 
System.CodeDom.Compiler.CompilerParameters options) [0x001a8] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:760
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly 
(System.Web.VirtualPath virtualPath) [0x00000] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:699
  at System.Web.Compilation.BuildManager.GenerateAssembly 
(System.Web.Compilation.AssemblyBuilder abuilder, 
System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath 
virtualPath, BuildKind buildKind) [0x00000] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:1294
  at System.Web.Compilation.BuildManager.BuildAssembly 
(System.Web.VirtualPath virtualPath) [0x002da] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:1258
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String 
virtualPath) [0x00039] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:652
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath 
(System.String virtualPath, System.Type requiredBaseType) [0x0000c] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:354
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String 
virtualPath, System.String inputFile, System.Web.HttpContext context) 
[0x00000] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.UI/PageParser.cs:156
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext 
context, System.String requestType, System.String url, System.String path) 
[0x00000] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web.UI/PageHandlerFactory.cs:45
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, 
System.String url, Boolean ignoreContextHandler) [0x00055] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web/HttpApplication.cs:1635
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, 
System.String url) [0x00000] in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web/HttpApplication.cs:1616
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x0071f] 
in 
/root/src/mono-2.4.2.2/mcs/class/System.Web/System.Web/HttpApplication.cs:1252



More information about the Mono-list mailing list