Web project requires missing web component ASP.NET Web pages with Razor syntax 3.0.0.0

后端 未结 5 1854
囚心锁ツ
囚心锁ツ 2021-02-18 21:29

I Migrate my project to mvc 5.0 and razor engin 3 with Microsoft Instruction

But when open my solution Get this: \"

相关标签:
5条回答
  • 2021-02-18 21:32

    I had this problem after installing Visual Studio 2012.

    What solved for me was installing the Visual Studio Updates:

    1. Tools> Extensions And Updates
    2. Select "Updates" in the accordion list on the left.
    3. Select "Product Updates".
    4. Update to the newest version (At the time of writing of this answer it was Update 4)
    0 讨论(0)
  • 2021-02-18 21:34

    For me was installing the Visual Studio Updates:

    Tools> Extensions And Updates
    Select "Updates" in the accordion list on the left.
    Select "Product Updates".
    Update to the newest version
    

    (At the time of writing of this answer it was Update 4)

    0 讨论(0)
  • 2021-02-18 21:37

    Solved: Follow the below steps, It worked for me: a)Install VS 2012 Update 4 (http://www.microsoft.com/en-gb/download/details.aspx?id=39305)

    b)ASP.NET and Web Tools 2013.1 for Visual Studio 2012 Download link Available here (http://blogs.msdn.com/b/webdev/archive/2013/11/18/announcing-release-of-asp-net-and-web-tools-2013-1-for-visual-studio-2012.aspx)

    c) Restart your dev box

    0 讨论(0)
  • 2021-02-18 21:45

    I solve this problem. VS 2012 support it.

    from install setup file here upgrade for Visual Studio 2012

    0 讨论(0)
  • 2021-02-18 21:53

    I Found The Problem, vs 2012 doesn't support it(see update section of this answer)

    From Here said:

    Unlike Razor V2 runtime and design time, VS2013 did not GAC these binaries. Instead, the binaries are installed in the project bin folder when corresponding NuGet package is installed, and in “%ProgramFiles (x86)%\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\Web\Razor\v3.0” to support design time.

    So we don't have these dlls in above path when upgrade to mvc5 /razor 3

    also read this stack question

    update: now support it , update vs from here

    0 讨论(0)
提交回复
热议问题