This is a migrated thread and some comments may be shown as answers.

Find Usages not finding usages in razor files

1 Answer 30 Views
Code Navigation and Search
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 04 Jan 2012, 11:42 AM
I've just downloaded and installed the just code trial and cannot get anything to work for razor files, for example in a cs file I may have

public class MyModel
{
    public string Name { get; set; }
}


and somewhere in a cshtml file I'll have

@model MyModel
@Model.Name


When in the cs file when I try to find usages for Name it will not show the location in the razor file

Is this a known problem?


1 Answer, 1 is accepted

Sort by
0
Yanaki Yanakiev
Telerik team
answered on 06 Jan 2012, 04:12 PM
Hello Chris,

Find usage works with code like yours.
Can you provide more details for your project?(web site/app) It will be best if you open a support ticket and provide us with a sample project where this behavior is reproducible so we can help you .


All the best,
Yanaki Yanakiev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Code Navigation and Search
Asked by
Chris
Top achievements
Rank 1
Answers by
Yanaki Yanakiev
Telerik team
Share this question
or