Select to view content in your preferred language

Could not load file or assembly 'System.Drawing.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

5744
11
Jump to solution
09-21-2023 12:42 PM
DavisMiller
Occasional Contributor

All, my team is having issues migrating a Pro SDK solution from Pro 2.8 to Pro 3.1. We have ran the conversion tool with the SDK but we are still seeing assembly build errors. Does anyone have any ideas on how to get our assemblies happy? The specific error above suggests it cannot find the System.Drawing.Common assembly but we have confirmed it does exist at the right version.

Thanks,

Davis Miller 

0 Kudos
11 Replies
PauJuan
Emerging Contributor

Thanks Davis. In our case the solution was to downgrade both Microsoft.Extensions.Configuration.Json and System.Text.Json to 6.0.0. Despite that the NuGet manager recommends using 7.0.0 for both of them when targeting .NET6, and that we are using Microsoft.Extensions.Configuration at 7.0.0 as well. Somehow this is the only setup that works.

0 Kudos
DavisMiller
Occasional Contributor

Thanks Richard our team will try that 🙂 

0 Kudos