This issue still happens with the RTM as well. Upgrading to MVC5 is not really a good solution when it is not an option due to the age of the solution.
For now I have moved back to vs2013 as I just cant see past the red squiggles.
Create doctype and template in Umbraco, then go to VS and right click the view file and include in project. Wait maybe 10 seconds and you will see the change.
Views\Web.config namespaces not available in views in Visual Studio 2015 text editor
I'm using Visual Studio 2015 RC (I know...)
The namespaces specified in my Views\Web.config file are not coming into Intellisense.
In web.config, I have the following:
But in the text editor, I'm unable to use the Html extension methods those namespaces provide.
For example
gives me red squiglies under Action, unless I manually include the namespace like this right in the view file:
I'm also unable to use the @model syntax, so for my strongly typed partial views, instead of using:
I have to use:
This happened both with a project I created in VS 2013 and then opened in VS 2015 RC, and with a project I created from scratch in VS 2015 RC.
I'm guessing it's a Visual Studio issue. Has anyone else seen this? What can I try to fix it?
Hi Mitton,
I suggest you take a look at this post.
http://umbraco.com/follow-us/blog-archive/2015/2/19/umbraco-722-and-625-released
The reason is that VS2015 only supports MVC5 at the moment. Either upgrade umbraco to mvc5 or use VS2013 for intellisence.
Upgrading umbraco to MVC 5 causes issues for some people so its not recommended.
Best regards. R.
This issue still happens with the RTM as well. Upgrading to MVC5 is not really a good solution when it is not an option due to the age of the solution.
For now I have moved back to vs2013 as I just cant see past the red squiggles.
Comment author was deleted
Bump. Red squiggle hell here with VS2015, anyone get past it yet?
Comment author was deleted
Looks like there's something you can do: http://umbraco.com/follow-us/blog-archive/2015/7/29/upgrading-your-umbraco-site-to-mvc5-and-webapi2/
But it looks like trouble for some (see comments on blog).
Also, similar topic here: https://our.umbraco.org/forum/getting-started/installing-umbraco/69478-intellisense-in-vs-2015
Hi Kevin
Not seeing it now.
Create doctype and template in Umbraco, then go to VS and right click the view file and include in project. Wait maybe 10 seconds and you will see the change.
Regards
Gary
Don't work this workaround...I tried with a project with U7.3.3 ported from vs2013 to 2015
is working on a reply...