1
Vote

Error: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information..

description

You can experience this exception (error)>

Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information..

When e.g. using the module in TFS Build server.

comments

kine wrote Jan 11, 2016 at 9:39 AM

Source: usage of Start-BitsTransfer cmdlet in Get-NAVCumulativeUpdateFile.ps1 is trying to load v2 .NET assembly.

Temporary solution: remove file Get-NAVCumulativeUpdateFile.ps1 on systems, where you do not need to download cumulative updates.