morimagine.blogg.se

Check .net version powershell
Check .net version powershell





check .net version powershell check .net version powershell check .net version powershell

I’ve found assembly version hell happens much more often to me since I started trying to use. (Get-AssemblyName -Recurse “Path\to\bin”).BindingRedirect > out.txt Long term If you write the generated redirects to a file, it’s easy to copy them into your web/app.config: function Get -AssemblyName ( $path, $Recurse ) # (Get-AssemblyName -Recurse "bin").BindingRedirect > out.txt Fixing assembly version errors Short term It can tell you what version of files you currently have installed, and generate binding redirects. When you’re trying to get your assembly references and binding redirects right, this function can really come in handy, it works directly on a file, or on directories and has the recurse switch available.







Check .net version powershell