-
-
Notifications
You must be signed in to change notification settings - Fork 7
Resolve AssemblyDependencies
external help file: XpandPwsh.Cmdlets.dll-Help.xml Module Name: XpandPwsh online version: https://go.microsoft.com/fwlink/?LinkID=2097043 schema: 2.0.0
Resolve all referenced assemblies for a given assembly, reclusively.
Resolve-AssemblyDependencies [-AssemblyFile] <String> [-SkipGAC] [[-Locations] <String[]>] [<CommonParameters>]
Resolve all referenced assemblies for a given assembly. This is a dependency walker that will go through all types, methods forcing .NET to load the dependent assemblies.
PS C:\> Resolve-AssemblyDependencies -AssemblyFile "C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.ExpressApp.AuditTrail.dll" -SkipGAC -OutputType Assembly
GAC Version Location
--- ------- --------
False v4.0.30319 C:\Work\eXpandFramework\XpandPwsh\XpandPwsh\Cmdlets\bin\Fasterflect.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Mono.Cecil.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.ExpressApp.AuditTrail.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.ExpressApp.Logic.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.ExpressApp.Security.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.Persistent.Base.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.Utils.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.XAF.Modules.CloneModelView.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.XAF.Modules.ModelViewInheritance.dll
False v4.0.30319 C:\Work\eXpandFramework\expand\Xpand.dll\Xpand.Xpo.dll
Returns all the Xpand.ExpressApp.AuditTrail.dll dependent System.Reflection.Assembly that are not in GAC.
Path to the assembly.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
By default if an assembly fail to resolve a lookup will be in the same directory as the starting assembly. Using this parameter you may add multiple folder for assembly lookups.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return assemblies not in GAC.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.