22 Dec

Powershell: Load assembly without locking file.

I have a set of PowerShell build scripts and ran into a case where I needed to load an assembly (to get the assembly?s version) and still (at a later time) work with the assembly file on disk. A typical way to load an assembly within PowerShell is to use the Assembly.LoadFrom(filePath) # Powershell [System.Reflection.Assembly]::LoadFrom($assemblyPath) […]

Read More