merken / Prise

A .NET Plugin Framework.
https://merken.github.io/Prise
MIT License
361 stars 39 forks source link

[BUG] System.IO.FileNotFoundException: Could not load file or assembly 'System.Reflection.DispatchProxy #27

Closed merken closed 4 years ago

merken commented 4 years ago

When running a netcoreapp2.1 project using Prise 1.7.0, the following error occurs: System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Reflection.DispatchProxy, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.'

merken commented 4 years ago

A temporary solution is to reference System.Reflection.DispatchProxy directly in the project that references Prise 1.7.0:

    <PackageReference Include="Prise" Version="1.7.0" />
    <PackageReference Include="System.Reflection.DispatchProxy" Version="4.7.0" />
merken commented 4 years ago

Fixed in V 1.7.5