Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matthew Kirschner 323 posts 611 karma points
    Sep 03, 2014 @ 18:02
    Matthew Kirschner
    0

    Umbraco 6 Error - HttpConfiguration

    Hi, all.

    I'm having an issue installing Umbraco 6 -Version 6.2.2 on a Visual Studio 2013 Empty Mvc 4 template for .NET 4.0.

    The Error:

    Error 10 The type or namespace name 'HttpConfiguration' does not exist in the namespace 'System.Web.Http' (are you missing an assembly reference?) C:\Users\Kirschner\Documents\Visual Studio 2013\Projects\Umbraco6Mvc4v2\Umbraco6Mvc4v2\App_Start\WebApiConfig.cs 10 53 Umbraco6Mvc4v2

    My process:
    - Create an empty Mvc 4 template targeting .NET 4.0
    - Use package Manager Console to install UmbracoCms -Version 6.2.2
    - Update the defaultRenderingEngine to 'Mvc'
    - Compile, get the error above
    I've searched up and down and haven't found anyone with the same issue. I've tried doing the same process using Visual Studio 2012 and it actually worked. I then opened the solution up in VS2013 and, while it worked initially, it broke on later compilations without any change to the files. I know it has something to do with the reference to System.Web.Http but I have verified that this reference is present.
    Any help would be much appreciated.
Please Sign in or register to post replies

Write your reply to:

Draft