adding a component in visual studio

Posted on 2005-05-14
Last Modified: 2010-04-17
i am trying to load a substitute for the smart navigator for, i have a site in with VB as the code behind.. i am trying to all the following to the custom toolbox
but i keep geting an error file assemblyname or it's dependencies not found.. lots of programmers are using this so what could be causing the problem??
Question by:rsbadhan
    1 Comment
    LVL 33

    Accepted Solution

    DOC: Help Topics for the AppDomain.Load Method and the Assembly.Load Method Are Not Complete;en-us;821624

    The existing help topics should also include the following information:

    To load an assembly, start any one of the four methods that appear in the "Summary" section. While any of these methods is starting, you pass a reference to an AssemblyName object by using the assemblyRef parameter. Before you pass the assemblyRef parameter to any of the four methods, you can set the CultureInfo, KeyPair, Name, and Version properties of your AssemblyName object. Additionally, you can set the CodeBase property of your AssemblyName object.

    In this scenario, the Name property and the CodeBase property might not be consistent with each other. To overcome any resultant differences, the .NET Framework first tries to locate the specified assembly by using the Name property. If this search is successful, the .NET Framework loads the located assembly. If the search is not successful, the .NET Framework tries to locate the specified assembly by using the CodeBase property. If the new search is also not successful, you receive a FileNotFoundException error message that contains the following information:

    File or assembly name YourAssembly, or one of its dependencies, was not found.

    Note YourAssembly is the value of the Name property of your AssemblyName object.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    no14 challenge 14 46
    sumHeights  challenge 17 50
    triangle challenge 4 34
    countAbc challenge 9 35
    Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now