ASP.NET MVC on IIS 7.5

前端 未结 28 2274
北荒
北荒 2020-11-22 11:33

I\'m running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently decided to have VS run/debug my apps on IIS rather than the dev server that comes with it. <

28条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 12:21

    To solve this problem without having to resort to 32 bit mode you will have to update the source code for this project

    public static void RegisterUrlRoutesFromAttributes(RouteCollection routes)
    {
        // Enumerate assembly for UrlRoute attributes.
        List routeParams = new List();
        AppDomain.CurrentDomain.GetAssemblies()
            .ToList()
            .ForEach(assembly => routeParams.AddRange(GetRouteParamsFromAttributes(assembly)));
    

    I have raised this issue as a discussion on the discussion board at the IT cloud codeplex project.

    http://itcloud.codeplex.com/discussions/262000

提交回复
热议问题