facebooktwittermenuarrow-up

GemBox Support Forum

Error MSB4062 when building with a runtime specified

GemBox.Spreadsheet version 47.0.1071 or 47.0.1069 added to a project causes a build error when building with a target runtime specified. There is no error for versions 47.0.1044 and below.

Steps to reproduce:

md GemBoxTest
cd GemBoxTest
dotnet new console
dotnet add package GemBox.Spreadsheet -v 47.0.1071
dotnet build -r win-x64

Hi,

Please try using this version instead:

dotnet add package GemBox.Spreadsheet -v 47.0.1085-hotfix

Does this solve your issue?

Regards,
Mario

Yes, it does. Thank you!