Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

Loading assembly dependencies with Powershell

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 02-08-2007   #1 (permalink)
J.Marsch
Guest


 

Loading assembly dependencies with Powershell

Hello:

I'm poking around with using Powershell for some unit testing. I'm having a
little trouble with something:

I see that I can use [System.Reflection.LoadFrom()] to load an assembly, but
what if my assembly has dependencies? (since its code that was freshly
built, neither the dependencies nor the target assembly are in the GAC)

It would be really nice if I could load my "top level" assembly, and then
have all of the assemblies that it references be loaded automatically. Is
there a built-in or publically scripted way to do this, or will I need to
write my own?



My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly loading error Michael R. PowerShell 2 03-27-2008 10:06 AM
Using an interop assembly with interop dependencies Jeff PowerShell 8 10-11-2007 02:04 AM
Manual assembly loading necessary? l0b0 PowerShell 5 08-29-2007 03:17 AM
Problem loading an assembly referencing a non-.NET dll Jeremiah Buckley PowerShell 4 07-23-2007 12:42 AM
Loading 3rd party .NET assembly Marco Shaw PowerShell 5 12-08-2006 11:13 PM


Update your Vista Drivers Update Your Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008