[Mono-bugs] [Bug 558437] New: ASP.NET: CS0433: The imported type `ASP.controls_cart_ascx' is defined multiple times
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Nov 25 12:11:22 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=558437
http://bugzilla.novell.com/show_bug.cgi?id=558437#c0
Summary: ASP.NET: CS0433: The imported type
`ASP.controls_cart_ascx' is defined multiple times
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: dalamar81 at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; chromeframe; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
Acessing site causing exception.
Server Error in '/' Application
--------------------------------------------------------------------------------
CS0433: The imported type `ASP.controls_cart_ascx' is defined multiple times
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.Compilation.CompilationException: CS0433: The imported type
`ASP.controls_cart_ascx' is defined multiple times
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters
options) [0x002f9] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:784
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/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) [0x00010] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:1293
at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath
virtualPath) [0x002da] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:1256
at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00039] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:650
at System.Web.Compilation.PageCompiler.CreateConstructor
(System.CodeDom.CodeStatementCollection localVars,
System.CodeDom.CodeStatementCollection trueStmt) [0x00015] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/mcs/class/System.Web/System.Web.Compilation/PageCompiler.cs:90
at System.Web.Compilation.BaseCompiler.ConstructType () [0x00498] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/mcs/class/System.Web/System.Web.Compilation/BaseCompiler.cs:292
at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode ()
[0x00000]
at System.Web.Compilation.BuildManager+BuildItem.GenerateCode () [0x00016] in
/home/dalamar81/install/mono/2.4.2.3/mono-2.4.2.3-debug/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:163
--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433
Reproducible: Always
Steps to Reproduce:
The ASP.NET site contains this files:
MasterPage.master
MasterPage.master.cs
Default.aspx
Default.aspx.cs
Controls/Cart.aspx
Controls/Cart.aspx.cs
Controls/Product.aspx
Controls/Product.aspx.cs
--
MasterPage contains user control "Controls/Cart.aspx".
Also user control "Controls/Product.aspx" has reference to "Controls/Cart.aspx"
with this code:
<%@ Register Src="Cart.ascx" TagName="Cart" TagPrefix="uc2" %>
I opened file System.Web/System.Web.Compilation/AssemblyBuilder.cs and comment
the "#if DEBUG" derective to get more info.
After recompile mono the output was:
********************************************************************
********************************************************************
Compilation failed.
Output:
gmcs /target:library /lib:"/home/dalamar81/www/coralsite.dev.d-host.ru/Bin"
/debug+ /optimize- /warn:4 /out:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_
14e58cac.dll"
/r:"/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll"
/r:"/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d5
0a3a/System.Configuration.dll"
/r:"/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll"
/r:"/usr/local/lib/mono/gac/System.Drawing/
2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll"
/r:"/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll"
/r:"/usr/local/lib/mono/gac/Sy
stem.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll"
/r:"/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll"
/r:"/us
r/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll"
/r:"/usr/local/lib/mono/gac/System.Web.Extensions/3.5.0.0__31bf3856ad364e35/Syste
m.Web.Extensions.dll"
/r:"/usr/local/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll"
/r:"/usr/local/l
ib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll"
/r:"/usr/local/lib/mono/gac/System.Data.Linq/3.5.0.0__b77a5c561934e089/System.Data
Linq.dll"
/r:"/usr/local/lib/mono/gac/MySql.Data/6.1.3.0__c5687fc88969c44d/MySql.Data.dll"
/r:"/home/dalamar81/www/coralsite.dev.d-host.ru/Bin/DataAccess.dl
l" /r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Code.3362fc1e.dll"
/r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_19e9afe7.dll"
/r:"/tmp/dalamar81-temp-a
spnet-0/a7bc961a/App_Web_2e4c42ef.dll"
/r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_2e3b988c.dll"
/r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_7b46
9e0.dll"
/r:"/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll"
/r:"/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/
System.Configuration.dll"
/r:"/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll"
/r:"/usr/local/lib/mono/gac/System.Drawing/2.0.0
0__b03f5f7f11d50a3a/System.Drawing.dll"
/r:"/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll"
/r:"/usr/local/lib/mono/gac/System.
Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll"
/r:"/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll"
/r:"/usr/loc
al/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll"
/r:"/usr/local/lib/mono/gac/System.Web.Extensions/3.5.0.0__31bf3856ad364e35/System.Web
Extensions.dll"
/r:"/usr/local/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll"
/r:"/usr/local/lib/mo
no/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll"
/r:"/usr/local/lib/mono/gac/System.Data.Linq/3.5.0.0__b77a5c561934e089/System.Data.Linq
dll"
/r:"/usr/local/lib/mono/gac/MySql.Data/6.1.3.0__c5687fc88969c44d/MySql.Data.dll"
/r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Code.3362fc1e.dll" /r:"/
home/dalamar81/www/coralsite.dev.d-host.ru/Bin/DataAccess.dll"
/r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_19e9afe7.dll"
/r:"/tmp/dalamar81-temp-aspnet
-0/a7bc961a/App_Web_2e4c42ef.dll"
/r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_2e3b988c.dll"
/r:"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_7b469e0.d
ll" /nowarn:0169 --
"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_1984bbcc_1.cs"
"/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_1984bbcc_2.cs"
/home/dalamar81/www/coralsite.dev.d-host.ru/MasterPage.master(43,27): error
CS0433: The imported type `ASP.controls_cart_ascx' is defined multiple times
/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_19e9afe7.dll (Location of the
symbol related to previous error)
/tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_7b469e0.dll (Location of the
symbol related to previous error)
Errors:
/home/dalamar81/www/coralsite.dev.d-host.ru/MasterPage.master(43,27) : error
CS0433: The imported type `ASP.controls_cart_ascx' is defined multiple times
(0,0) : error : /tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_19e9afe7.dll
(Location of the symbol related to previous error)
(0,0) : error : /tmp/dalamar81-temp-aspnet-0/a7bc961a/App_Web_7b469e0.dll
(Location of the symbol related to previous error)
File name: /home/dalamar81/www/coralsite.dev.d-host.ru/MasterPage.master
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list