Cannot run because of "Strong name" issue
RoderickQiu opened this issue · comments
I'm using FluentWPF in an app using WPF with .Net Framework 4.7.2 and is signed with "strong name" (https://docs.microsoft.com/en-us/dotnet/standard/assembly/strong-named) as I'm preparing to add a deskband feature. However, once I've added it with a strong name, it stops running and the following error was recorded:
TRANSLATED
Failed to load file or assembly "FluentWPF, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null" or one of its dependencies. A strong name assembly is required. (Exception from HRESULT: 0x80131044)"
ORIGIN
未能加载文件或程序集“FluentWPF, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。需要强名称程序集。 (异常来自 HRESULT:0x80131044)”
I've tried to build a copy from the source code and signed it a strong name myself, but it just seemed that it didn't work...
TRANSLATED
Could not load file or assembly "FluentWPF, PublicKeyToken=null" or one of its dependencies. The found assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
ORIGIN
未能加载文件或程序集“FluentWPF, PublicKeyToken=null”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)
I also tried to link it as another project in the solution but it seemed my dotnet knowledge is not enough (yeah I'm stll learning) and I could not cope with the namespace problem.
So I'm seeking if the "strong name" error can be solved. THANKS for help!!
Hi @RoderickQiu
Sorry for responding so late, and thanks for the feedback.
I'm not so familiar with Strong name
, but recognized the needs for it.
I'll support it in furure release. Please wait for a while.