Copied to clipboard

Flag this post as spam?

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


  • Tom 713 posts 954 karma points
    Nov 29, 2012 @ 02:30
    Tom
    0

    Intellisense in Razor Views when Linking?

    Hi Guys,

    I much prefer editing my views in visual studio. I've setup a web project where I can create extensions and the like.. in the csproj file I have an item group linking my cshtml files like so:

     

        <None Include="..\cms\Views\*.cshtml">

          <Link>umbraco\Views\%(FILENAME)</Link>

        </None>

    <None Include="..\cms\Views\Partials\*.cshtml">

    <Link>umbraco\Views\Partials\%(FILENAME)</Link>

    </None>

     

    If I link the files I lose intellisense. Just wondering if there's another way to have these views in my project with intellisense working?

Please Sign in or register to post replies

Write your reply to:

Draft