I need to get a full path to the dll of an assembly that is NOT the executing assembly. For instance, can this be done by assembly name?
            Asked
            
        
        
            Active
            
        
            Viewed 114 times
        
    -3
            
            
         
    
    
        Michael Petch
        
- 46,082
- 8
- 107
- 198
 
    
    
        eYe
        
- 1,695
- 2
- 29
- 54
- 
                    1https://msdn.microsoft.com/en-us/library/system.reflection.assembly.getassembly(v=vs.110).aspx – Marco Fatica Nov 05 '15 at 20:03
1 Answers
2
             var location = Path.GetDirectoryName(typeof(YourType).Assembly.Location);
I'm sure there are a bunch of other ways to do this if you google around.
 
    
    
        robaudas
        
- 1,538
- 1
- 9
- 12