Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default assembly directory

    I need to add an additional directory to search for assemblies other than
    the "bin" directory.... how do I do this in the web.config file?


    Ryan Moore Guest

  2. Similar Questions and Discussions

    1. Assembly acessing StrongNamed assembly getting "Access Denied" intermitently
      I have an ASP.NET application that is using a code library our development team uses. The code library is a few web controls in a Strong Named...
    2. Active Directory Search fails ("The directory service is unavailab
      Hi all, I'm having one of those nerve wrecking errors, when trying to perform a simple search in an Active Directory. The objective of the code...
    3. Server cannot access application directory ... The directory does not exist or is not accessible because of security settings
      If you are using Windows XP in a Workgroup, rather than a Domain, then by default "Simple Filesharing" is turned on, and you won't see a security...
    4. Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
      Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading...
    5. Reading the public key inside a strongly signed assembly from the assembly itself???
      Hello, is it possible to programmatically read (and how) the public key that is embedded into an assembly that has been strongly signed??? What...
  3. #2

    Default Re: assembly directory

    Ryan,

    I haven't been able to find anything that says you can add a path to search
    for assemblies. The only thing I found says that the <add> tag is for naming
    an assembly in the \bin or GAC.


    <add>

    Adds an assembly reference to use during compilation of a dynamic resource.
    ASP.NET automatically links this assembly to the resource when compiling
    each code module.
    The value of <add> is an assembly name, not a DLL path. ASP.NET looks up the
    assembly name to find its physical DLL location. You can optionally specify
    the wildcard character * (an asterisk) to add every assembly within an
    application's private assembly cache, which is located either in the \bin
    subdirectory of an application or in the Microsoft® .NET Framework install
    directory (%windir%\Microsoft.NET\Framework\version\).

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche


    "Ryan Moore" <ryanmoore@hotmail.com> wrote in message
    news:OwU8igcXDHA.2424@TK2MSFTNGP12.phx.gbl...
    > It's not an assembly in the GAC, I just want to set up a seperate
    directory
    > for assemblies because I'm running multiple testing sites off of one
    virtual
    > website.... I've done it before, I just can't remember how, something
    like:
    >
    > <assemblies>
    >
    > <add assembly="premier/bin/*" />
    >
    > </assemblies>
    >
    >
    >
    >
    > "S. Justin Gengo" <sjgengo@aboutfortunate.com> wrote in message
    > news:O4hDddcXDHA.1832@TK2MSFTNGP09.phx.gbl...
    > > Ryan,
    > >
    > > If you need to share assemblies across applications it would be best to
    > > place them in the GAC Global Assembly Cache.
    > >
    > > I have some sample code and a link to a full article on my site,
    > > [url]www.aboutfortunate.com[/url], about how to register an assembly in the GAC.
    It's
    > > very easy to do.
    > >
    > > Just search the library for GAC or Global Assembly Cache.
    > >
    > > Sincerely,
    > >
    > > --
    > > S. Justin Gengo, MCP
    > > Web Developer
    > >
    > > Free code library at:
    > > [url]www.aboutfortunate.com[/url]
    > >
    > > "Out of chaos comes order."
    > > Nietzche
    > >
    > >
    > > "Ryan Moore" <ryanmoore@hotmail.com> wrote in message
    > > news:uiuPCWcXDHA.1900@TK2MSFTNGP10.phx.gbl...
    > > > I need to add an additional directory to search for assemblies other
    > than
    > > > the "bin" directory.... how do I do this in the web.config file?
    > > >
    > > >
    > >
    > >
    >
    >

    S. Justin Gengo Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139