How to add reference to assembly in GAC

2 posts, 0 answers
  1. Mike
    Mike avatar
    21 posts
    Member since:
    Sep 2014

    Posted 09 Feb 2015 Link to this post

    Hi.
    How do you add a reference to an assembly located in the GAC (e.g. System.Windows.Forms).
    I have gone into the Settings -> Script Options -> Add Reference screen, and navigate to C:\Windows\Assembly, but it won't let me choose a file.
    Thanks.
  2. Ivaylo
    Admin
    Ivaylo avatar
    782 posts

    Posted 10 Feb 2015 Link to this post

    Hello Mike,

    You are using the wrong path. The correct one follows:

    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Windows.Forms

    Here is a short video demonstration (no audio).

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top