Re: assemblies...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Azerty123 (ikke_at_hier.com)
Date: 12/28/04

  • Next message: Cor Ligthert: "Re: Dynamic Properties"
    Date: Tue, 28 Dec 2004 09:23:40 GMT
    
    

    "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    news:%2304ZnPG7EHA.1288@TK2MSFTNGP10.phx.gbl...
    >
    >>I don't want others to reference my assemblies,
    >
    > What harm would that do? You can use CAS to prevent code from calling
    > into your assembly, but you can't stop anyone from referencing it.

    Well I don't want others to use my assemblies for free...
    I think you mean CodeAccessSecurityAttribute by CAS?
    I found a description how to use the
    StrongNameIdentityPermissionAttribute... so that's what I need...

    >
    > Oh and people generally don't reference assemblies directly in the
    > GAC, so whether or not you install your assembly in the GAC is
    > irrelevent here.
    >

    I know, but private assemblies can also be used in other software as long as
    they reside in the same folder...

    thnx

    >
    >
    > Mattias
    >
    > --
    > Mattias Sjögren [MVP] mattias @ mvps.org
    > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    > Please reply only to the newsgroup.


  • Next message: Cor Ligthert: "Re: Dynamic Properties"

    Relevant Pages

    • Re: Please explain why the GAC cannot be referenced
      ... Gac assemblies show up under the reference tab. ... Look through you referenced assemblies for the name of the assembly, ... Gac'd assemblies provide that function for you and the search order for assemblies starts at the gac to reduce performance issues. ... > old assembly from the GAC and install the newer version. ...
      (microsoft.public.dotnet.framework)
    • Re: Please explain why the GAC cannot be referenced
      ... A point I'll make here is that the GAC is really intended as a deployment ... So development tools generally don't refer to assemblies ... product install that developers typically don't want on the dev machine. ... reference assemblies from them that happen to be installed to the GAC. ...
      (microsoft.public.dotnet.framework)
    • RE: Trying to get reference from the GAC
      ... I had assumed there was a way to say "look in the GAC" without giving it the ... the system assemblies seems be particularly ... I don't think it is safe to redirect the reference ... Microsoft MSDN Online Support Lead ...
      (microsoft.public.vsnet.general)
    • Re: Please explain why the GAC cannot be referenced
      ... DLL in the GAC or in the individual projects, ... old assembly from the GAC and install the newer version. ... Now Im finding out that you cant reference the GAC, ... There are other locations that the framework will look for the assemblies as well, and those places are documented in the MSDN Library documentation. ...
      (microsoft.public.dotnet.framework)
    • Re: Please explain why the GAC cannot be referenced
      ... I know a lot of developers frown on using the GAC ... ... custom developed assemblies) ... I knew you could reference the GAC, ...
      (microsoft.public.dotnet.framework)