Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353429 - dev-lang/mono-2.8.1-r1 CS0433: The imported type `System.Web.Mvc.ViewMasterPage' is defined multiple times
Summary: dev-lang/mono-2.8.1-r1 CS0433: The imported type `System.Web.Mvc.ViewMasterPa...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Community Relations Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 19:24 UTC by Arsen Shnurkov
Modified: 2013-01-05 21:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arsen Shnurkov 2011-02-01 19:24:22 UTC
I am trying to view ASP .NET site, and get the following error:

/tmp/root-temp-aspnet-0/3ce2ff4c/App_Web_Main.Master.bbeb7be0.2908d82a_0.cs(38,82): error CS0433: The imported type `System.Web.Mvc.ViewMasterPage' is defined multiple times
/usr/lib64/mono/gac/System.Web.Mvc/2.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll (Location of the symbol related to previous error)
/usr/lib64/mono/gac/System.Web.Mvc/1.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll (Location of the symbol related to previous error)
 
I need to know, how to change the set of default libraries for the application:
The compile line was (and the library do linked two times, as above):

dmcs /target:library /lib:"/var/www/test/htdocs/Bin" /debug+ /optimize- /warn:4 /out:"/tmp/root-temp-aspnet-0/3ce2ff4c/App_Web_Main.Master.bbeb7be0.2908d82a.dll" ... /r:"/usr/lib64/mono/gac/System.Web.Mvc/2.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll" ... /r:"/usr/lib64/mono/gac/System.Web.Mvc/1.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll" /r:"/tmp/root-temp-aspnet-0/3ce2ff4c/App_global.asax_3539806.dll"  /nowarn:0169 /d:DEBUG  -- "/tmp/root-temp-aspnet-0/3ce2ff4c/App_Web_Main.Master.bbeb7be0.2908d82a_0.cs"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-01 19:27:33 UTC
(In reply to comment #0)
> I need to know, how to change the set of default libraries for the application:

That looks like a support question, so please use our forums[1] or IRC[2] to find the answer. If you happen to find an actual bug, then please do not hesitate to file a bug report about it.

[1] http://forums.gentoo.org/
[2] http://www.gentoo.org/main/en/irc.xml
Comment 2 Arsen Shnurkov 2011-02-01 19:29:14 UTC
web.config contains the following lines:

<compilation debug="true">
        <assemblies>
                <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                ...
</compilation>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
                <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
                <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
        </dependentAssembly>
</assemblyBinding>

Comment 3 Arsen Shnurkov 2011-02-01 19:30:45 UTC
> That looks like a support question

I doesn't believe that anybody at the irc or forums can answer it (I did the search in the internet and found the same question unanswered)
Comment 4 Arsen Shnurkov 2011-02-01 19:37:20 UTC
http://go-mono.com/forums/#nabble-td1835611
Comment 5 Arsen Shnurkov 2011-02-01 23:38:55 UTC
> If you happen to find an actual bug, then please do not
> hesitate to file a bug report about it.

I do have a bug - the application which works for windows doesn't work in mono.
And I provide the error message. Why on the earth you close this bug without actual knowledge of the solution ?
Comment 6 Alistair Bush (RETIRED) gentoo-dev 2011-08-19 08:22:04 UTC
(In reply to comment #5)
> > If you happen to find an actual bug, then please do not
> > hesitate to file a bug report about it.
> 
> I do have a bug - the application which works for windows doesn't work in mono.
> And I provide the error message. Why on the earth you close this bug without
> actual knowledge of the solution ?

Please test this with mono-2.10.4 and if it still fails, please provide an example project which reproduces the issue.