Windows Vista Forums

Less verbose [System.Reflection.Assembly]::LoadFrom() ?

  1. #1


    RCN Guest

    Less verbose [System.Reflection.Assembly]::LoadFrom() ?

    A newbie question..

    When I invoke [System.Reflection.Assembly]::LoadFrom() to load an assembly
    (Ionic.Zip.dll in this case) I get a ton of verbose "Evidence" output on the
    cmd line. Basically in an XML element called <RawData>... goes on and on.

    I understand this has to do with the security and permissions setting for
    the assembly. I'm wondering if I can suppress this output and perhaps speed
    things up.

    Many thanks for your help!

    RCN

      My System SpecsSystem Spec

  2.   


  3. #2


    Mike Pfeiffer Guest

    RE: Less verbose [System.Reflection.Assembly]::LoadFrom() ?

    [void] [System.Reflection.Assembly]::LoadFrom("c:\Ionic.Zip.dll")

    or

    [System.Reflection.Assembly]::LoadFrom("c:\Ionic.Zip.dll") | Out-Null

    "RCN" wrote:

    > A newbie question..
    >
    > When I invoke [System.Reflection.Assembly]::LoadFrom() to load an assembly
    > (Ionic.Zip.dll in this case) I get a ton of verbose "Evidence" output on the
    > cmd line. Basically in an XML element called <RawData>... goes on and on.
    >
    > I understand this has to do with the security and permissions setting for
    > the assembly. I'm wondering if I can suppress this output and perhaps speed
    > things up.
    >
    > Many thanks for your help!
    >
    > RCN

      My System SpecsSystem Spec

  4. #3


    RCN Guest

    RE: Less verbose [System.Reflection.Assembly]::LoadFrom() ?

    Perfect! Thanks Mike.

    "Mike Pfeiffer" wrote:

    > [void] [System.Reflection.Assembly]::LoadFrom("c:\Ionic.Zip.dll")
    >
    > or
    >
    > [System.Reflection.Assembly]::LoadFrom("c:\Ionic.Zip.dll") | Out-Null
    >
    > "RCN" wrote:
    >

    > > A newbie question..
    > >
    > > When I invoke [System.Reflection.Assembly]::LoadFrom() to load an assembly
    > > (Ionic.Zip.dll in this case) I get a ton of verbose "Evidence" output on the
    > > cmd line. Basically in an XML element called <RawData>... goes on and on.
    > >
    > > I understand this has to do with the security and permissions setting for
    > > the assembly. I'm wondering if I can suppress this output and perhaps speed
    > > things up.
    > >
    > > Many thanks for your help!
    > >
    > > RCN

      My System SpecsSystem Spec


Less verbose [System.Reflection.Assembly]::LoadFrom() ?
Similar Threads
Thread Forum
Re: .NET 3.5 - System.Reflection.Assembly does not release object (DLL .NET General
Error: "The referenced assembly is not installed on your system" Vista Speech error General Discussion
Assembly.LoadFrom fails on Vista,as does IE hosted user controls .NET General
[Reflection.Assembly]::LoadFile locks file PowerShell
WinFX Feb CTP - SvcUtil throws file not found exception for assembly file System.Runtime.Serialization, Version 3.0.0.0 Indigo