Find Usages not finding usages in razor files

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


  2. Yanaki Yanakiev
    Admin
    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 >>

  3. DevCraft banner
Back to Top