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"
(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
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>
> 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)
http://go-mono.com/forums/#nabble-td1835611
> 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 ?
(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.