[Mono-bugs] [Bug 682869] New: mono-2-10 cannot build Test/System.Web.Routing/RouteTest.cs: "error CS1061: Type `System.Web.Routing.RouteCollection' does not contain a definition for `MapPageRoute' and no extension method `MapPageRoute' of type `System.Web.Routing.RouteCollection'..."

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Mar 26 19:03:04 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=682869

https://bugzilla.novell.com/show_bug.cgi?id=682869#c0


           Summary: mono-2-10 cannot build
                    Test/System.Web.Routing/RouteTest.cs: "error CS1061:
                    Type `System.Web.Routing.RouteCollection' does not
                    contain a definition for `MapPageRoute' and no
                    extension method `MapPageRoute' of type
                    `System.Web.Routing.RouteCollection'..."
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: david at dasz.at
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.16)
Gecko/20110323 Iceweasel/3.5.16 (like Firefox/3.5.16)

david at debian:~/mono/mono$ ./autogen.sh --prefix=/home/david/local/mono-$(git
describe) --enable-dependency-tracking --enable-nunit-tests --with-xen_opt=no
--with-sgen=yes --with-mcs-docs=no && time make && make check && make install

fails with:

make[8]: Entering directory
`/home/david/mono/mono/mcs/class/System.Web.Abstractions'
MCS     [net_2_0] System.Web.Abstractions_test_net_2_0.dll
Test/System.Web/HttpApplicationStateBaseTest.cs(48,32): warning CS0219: The
variable `x' is assigned but its value is never used
Test/System.Web/HttpFileCollectionWrapperTest.cs(82,37): warning CS0219: The
variable `f' is assigned but its value is never used
Compilation succeeded - 2 warning(s)
make[8]: Leaving directory
`/home/david/mono/mono/mcs/class/System.Web.Abstractions'
make[7]: Leaving directory
`/home/david/mono/mono/mcs/class/System.Web.Abstractions'
make[7]: Entering directory
`/home/david/mono/mono/mcs/class/System.Web.Routing'
make test-local
make[8]: Entering directory
`/home/david/mono/mono/mcs/class/System.Web.Routing'
MCS     [net_2_0] System.Web.Routing_test_net_2_0.dll
Test/System.Web.Routing/RequestContext.cs(56,40): warning CS0219: The variable
`rc' is assigned but its value is never used
Test/System.Web.Routing/RouteCollectionTest.cs(186,29): warning CS0219: The
variable `rd' is assigned but its value is never used
Test/System.Web.Routing/RouteCollectionTest.cs(211,29): warning CS0219: The
variable `vpd' is assigned but its value is never used
Test/System.Web.Routing/RouteCollectionTest.cs(224,29): warning CS0219: The
variable `vpd' is assigned but its value is never used
Test/System.Web.Routing/RouteCollectionTest.cs(237,37): warning CS0219: The
variable `vpd' is assigned but its value is never used
Test/System.Web.Routing/RouteTest.cs(113,31): warning CS0219: The variable `r'
is assigned but its value is never used
Test/System.Web.Routing/RouteTest.cs(179,29): warning CS0219: The variable `rd'
is assigned but its value is never used
Test/System.Web.Routing/RouteTest.cs(1286,43): error CS1061: Type
`System.Web.Routing.RouteCollection' does not contain a definition for
`MapPageRoute' and no extension method `MapPageRoute' of type
`System.Web.Routing.RouteCollection' could be found (are you missing a using
directive or an assembly reference?)
/home/david/mono/mono/mcs/class/lib/net_2_0/System.Web.Routing.dll (Location of
the symbol related to previous error)
Compilation failed: 1 error(s), 7 warnings
make[8]: *** [System.Web.Routing_test_net_2_0.dll] Error 1
make[8]: Leaving directory `/home/david/mono/mono/mcs/class/System.Web.Routing'
make[7]: *** [do-test] Error 2
make[7]: Leaving directory `/home/david/mono/mono/mcs/class/System.Web.Routing'
make[6]: *** [test-recursive] Error 1
make[6]: Leaving directory `/home/david/mono/mono/mcs/class'
make[5]: *** [test-recursive] Error 1
make[5]: Leaving directory `/home/david/mono/mono/mcs'
make[4]: *** [profile-do--net_2_0--test] Error 2
make[4]: Leaving directory `/home/david/mono/mono/mcs'
make[3]: *** [profiles-do--test] Error 2
make[3]: Leaving directory `/home/david/mono/mono/mcs'
make[2]: *** [mcs-do-test-profiles] Error 2
make[2]: Leaving directory `/home/david/mono/mono/runtime'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/david/mono/mono/runtime'
make: *** [check-recursive] Error 1


I'm trying to build 2.10.1-245-g71f131b from git://github.com/mono/mono.git
mono-2-10 branch.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: https://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