ImportDependency
0.3.1
Apteco PS Modules - PowerShell import dependencies
Module to import dependencies from the PowerShell Gallery and NuGet.
Please make sure to have the Modules WriteLog and PowerShellGet (>= 2.2.4) installed.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2025 Apteco GmbH. All rights reserved.
Package Details
Author(s)
- florian.von.bracht@apteco.de
Tags
Functions
Import-Dependency Get-PSEnvironment
PSEditions
Dependencies
Release Notes
0.3.1 Added check of vcredist, powershellget and packagemanagement version
0.3.0 Re-publication as module rather than a script
Support for PowerShell Core for Windows and Linux, possibly MacOS
Support for Windows ARM64 architecture
Added function Get-PSEnvironment to get information about the current PowerShell environment
0.2.0 Added support for loading runtimes with Windows ARM64 architecture
0.1.4 Removed to not load WriteLog module as it is already required here
Changed Get-LogfileOverride to new parameter KeepLogfile as WriteLog is loaded
in this script and Get-LogfileOverride will always be the default value
0.1.3 Change the last message to VERBOSE instead of INFO
0.1.2 Fixed temporary module and script path loading
0.1.1 Improved the missing module load
0.1.0 Improving documentation, adding PATH variables, missing modules will not throw an error anymore
0.0.8 Added a parameter switch to suppress warnings to host
0.0.7 Added a note in the log that a runtime was only possibly loaded
0.0.6 Checking 64bit of OS and process
Output last error when using Kernel32
Adding runtime errors to log instead of console
0.0.5 Make sure Get-Package is from PackageManagement and NOT VS
0.0.4 Make sure to reuse a log, if already set
0.0.3 Minor Improvements
Status information at the end
Differentiation between .net core and windows/desktop priorities
0.0.2 Fixed a problem with out commented input parameters
0.0.1 Initial release of this script
FileList
- ImportDependency.nuspec
- Private\Get-CurrentRuntimeId.ps1
- Public\Get-PSEnvironment.ps1
- Private\Get-BestFrameworkPath.ps1
- Private\Update-BackgroundJob.ps1
- Public\Import-Dependency.ps1
- ImportDependency.psd1
- Private\Get-BestReferencePath.ps1
- ImportDependency.psm1
- Private\Get-BestRuntimePath.ps1