Assembly from nuget has strong name but cause build error of 'strongly-named assembly is required'

0

I successfully installed 'LiveCharts.Wpf' & 'LiveCharts' packages from NuGet, I use them in my code but when I want to build the project I get this error:

Unknown build error, 'A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Note that those packages have a strong name. You can see it in the attached image:

LiveCharts.Wpf properties

Thanks.

c#
.net
wpf
nuget-package
strongname
asked on Stack Overflow May 23, 2018 by someone • edited May 23, 2018 by marc_s

2 Answers

0

I had similar issue, after publishing and trying to build a newer version with VS2017.
I switched, in the properties->publish -> application files, for the nuget settings to include.
From:
default setting in publish

To:
switched to include

answered on Stack Overflow May 23, 2018 by Tory
0

I still don't know what caused this problem, but I opened a new project and installed the packages with 'package manager console' and not from 'NuGet Package Manager' and it's work.

answered on Stack Overflow May 23, 2018 by someone

User contributions licensed under CC BY-SA 3.0