wrong use file in razor view

i have this code in a razor mvc 3 view:

                        url: "@Url.Content("~/Amministrazione/VisualizzaProdottiPromo")",

the code is correct and the link is rendered correctly, but r# give me some error messages, like d:\sorge...\visualizzaprottipromo is not found, and propose to change with the path to the cshtml file, but this is wrong with mvc.

how can i remove this bug?


1 comment
Comment actions Permalink

R#6  is pretty much unusable with Razor at the moment - I am working on the basis that it's sufficiently bad that it must be obvious to JB, so I'm not bothering to file bugs.


Please sign in to leave a comment.