User Profile

Collapse

Profile Sidebar

Collapse
lasida
lasida
Last Activity: Jan 28 '09, 05:33 AM
Joined: Nov 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • lasida
    replied to Could not load file or assembly
    in .NET
    sAssemblyName = "C:/Program Files/Myapplication/Myapplication.e xe";

    // load the given assembly...
    Assembly assem = Assembly.LoadFr om(sAssemblyNam e);
    AssemblyName[] a = assem.GetRefere ncedAssemblies( );
    foreach (AssemblyName assm in a)
    {
    Assembly ms = Assembly.LoadFr om(assm.Name);
    Console.WriteLi ne("name:...
    See more | Go to post

    Leave a comment:


  • lasida
    started a topic Could not load file or assembly
    in .NET

    Could not load file or assembly

    Hi,

    I have developed an application in C#. Now I'm working on a tool which is again written in c# which will give me all the assemblies referenced by my application. In the code i need to get each assembly recursively and load it. When I run my tool some of the assemblies are loaded successfully but it end up giving following exception:





    Can anyone help me out with this. Im totally stuck...
    See more | Go to post
No activity results to display
Show More
Working...