Paths aren't resolving

Hi,

I'm new to Rider and so far I love the speed in comparison to VS2019 + Resharper
For now I have 2 issues but they could be the same issue.

If I use a path for a image for example I can't use root relative paths. If I start at the location of the current view it's working but that is not what I want. I need to be able to use a path like "~/img/img1.jpg".

The other has to do with partial views. I tried Html.Partial("~/Views/Partials/Partial.cshtml") and Html.Partial("Partial") but Rider just doesn't know where to look.

Maybe I'm missing a setting or something?

Thanks!

0
1 comment

Hello, would it be possible to provide a sample solution for taking a closer look at the issue? You can attach it with a new issue on our tracker. Please also make sure to specify Rider version and OS you are using. Thank you in advance!

0

Please sign in to leave a comment.