Results 1 to 5 of 5

Thread: [RESOLVED] How to set reference assemblies?!

  1. #1

    Thread Starter
    Lively Member HOTFIX's Avatar
    Join Date
    Sep 2008
    Posts
    91

    Resolved [RESOLVED] How to set reference assemblies?!

    HI...

    How to set an application to check their reference assemblies first locally(root folder)then if fails globally(GAC)

    Regards...

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: How to set reference assemblies?!

    That's exactly what happens automatically.

  3. #3

    Thread Starter
    Lively Member HOTFIX's Avatar
    Join Date
    Sep 2008
    Posts
    91

    Re: How to set reference assemblies?!

    Quote Originally Posted by jmcilhinney View Post
    That's exactly what happens automatically.
    Thanks jmcilhinney for reply...


    is't automatically in both case (copy to local) true and false...

    Regards...

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: How to set reference assemblies?!

    Copy Local has no relevance at run time; only at compile time. All Copy Local does is control whether the referenced assembly is copied to the output folder or not. If you expect the assembly to be installed in the GAC when deployed then you would normally set it to False, otherwise set it to True. That doesn't change where the application looks for the assembly though.

  5. #5

    Thread Starter
    Lively Member HOTFIX's Avatar
    Join Date
    Sep 2008
    Posts
    91

    Re: How to set reference assemblies?!

    Quote Originally Posted by jmcilhinney View Post
    Copy Local has no relevance at run time; only at compile time. All Copy Local does is control whether the referenced assembly is copied to the output folder or not. If you expect the assembly to be installed in the GAC when deployed then you would normally set it to False, otherwise set it to True. That doesn't change where the application looks for the assembly though.



    Thanks for the clarification...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width