Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run because of "Strong name" issue #116

Open
RoderickQiu opened this issue Jul 6, 2021 · 1 comment
Open

Cannot run because of "Strong name" issue #116

RoderickQiu opened this issue Jul 6, 2021 · 1 comment

Comments

@RoderickQiu
Copy link

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!!

@sourcechord
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants