Find Usages not finding usages in razor files

Thread is closed for posting
2 posts, 0 answers
  1. Chris
    Chris avatar
    1 posts
    Member since:
    Aug 2011

    Posted 04 Jan 2012 Link to this post

    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

    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?

  2. Yanaki Yanakiev
    Yanaki Yanakiev avatar
    16 posts

    Posted 06 Jan 2012 Link to this post

    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 >>

Back to Top