Could Not Load File Or Assembly Error in Hyper-V

Error

When trying to use the ‘Quick Create…’ option in Hyper-V, this error can appear.

Error

Could not load file or assembly Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies.

The located assembly’s manifest definition does not
match the assembly reference. (Exception from HRESULT:
0x80131040)

Fix(es)

Create a file, VMCreate.exe.config, in: C:\Program Files\Hyper-V with the following contents:

<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="13.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

More Information:

Microsoft Forum
Reddit

hyper-v vm