You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Live Charts WPF未知构建错误求助:强名称程序集需求问题

Fixing the "Strongly-Named Assembly Required" Error with Live Charts in WPF (VS 2017)

Hey there, I get it—diving into a new library like Live Charts and hitting a cryptic build error right out the gate is super frustrating. Let’s break down what’s going on with that error:

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

First, here are some common troubleshooting steps you could try if you run into this again, even though you already found the fix:

  • Verify your Live Charts NuGet package: Make sure you’re using the official, signed version of the package. Sometimes unsigned or corrupted package installs can trigger this error. Try uninstalling and reinstalling the latest stable version from NuGet.
  • Check your project’s signing settings: Right-click your WPF project → Properties → Signing tab. If you’ve checked "Sign the assembly", double-check that your key file is valid and not corrupted. If you don’t need strong naming for your project, you could also try unchecking this option temporarily to see if it resolves the error.
  • Clean and rebuild your solution: Old build artifacts can cause weird, unexplained errors. Run Clean Solution followed by Rebuild Solution to wipe out cached files and start fresh.
  • Inspect your XAML at the error line: The error points to Line 11, Position 67—double-check that your Live Charts control reference there is correctly formatted, with no typos or mismatched version numbers.

The Fix That Worked for You

As you noted, completely reinstalling Visual Studio 2017 resolved the issue. This usually happens when some core VS components related to compilation or assembly signing get corrupted over time. A full uninstall (make sure to clean up leftover files using the official VS uninstaller if needed) and reinstall of the VS version you’re using will refresh those broken components and get your build working again.

内容的提问来源于stack exchange,提问作者gr1d3r

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 08:35:28