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

Failed to resolve dependency of DLL #49

Open
gumbof0125 opened this issue Jun 19, 2019 · 2 comments
Open

Failed to resolve dependency of DLL #49

gumbof0125 opened this issue Jun 19, 2019 · 2 comments

Comments

@gumbof0125
Copy link

I am using VS2017, my Clickonce project's target framework is .Net Framework 4.5, and using ConfuserEx v1.0.0-custom now.

Now I want to publish my project as Clickonce with confusion (including all referenced file, that mean assembly).
Step for my case:

  1. Choose "Release build"
  2. Then confuse the output files (.exe and all .dll) from Release folder
  3. Select Preset as "Minimum" as rules only
  4. During the confusion, "LabCI.TA4CS.Chart.dll" must occur "Failed to resolve dependency of xx.dll" problem.

I don't know how to solve it. And I try to embed it into my .exe or make it don't be confused (But don't know whether work or not). So, Does ConfuseEX have any feature, coding or way as solution, or any other way to exclude this .dll file or embed it into .exe?

The error is shown below:
[ERROR] Failed to resolve dependency of 'LabCI.TA4CS.Chart.dll'.
Exception: dnlib.DotNet.AssemblyResolveException: Could not resolve assembly: WPFVisifire.Charts, Version=2.2.3.0, Culture=neutral, PublicKeyToken=99d724542e4db593
at dnlib.DotNet.Extensions.ResolveThrow(IAssemblyResolver self, IAssembly assembly, ModuleDef sourceModule) in C:\Gary\Project\TempFile\190416_ResearchOfConfuser\ConfuserEx-master\ConfuserEx-master\dnlib\src\DotNet\IAssemblyResolver.cs:line 114
at Confuser.Core.ConfuserEngine.Inspection(ConfuserContext context) in C:\Gary\Project\TempFile\190416_ResearchOfConfuser\ConfuserEx-master\ConfuserEx-master\Confuser.Core\ConfuserEngine.cs:line 267
Failed at 9:23 AM, 0:00 elapsed.

@XenocodeRCE
Copy link
Owner

Include the file WPFVisifire.Charts.dll in the same directory as LabCI.TA4CS.Chart.dll

@wozs
Copy link

wozs commented May 1, 2021

Include the file WPFVisifire.Charts.dll in the same directory as LabCI.TA4CS.Chart.dll

Thank you it worked.
Just put the .dll the program cant find where you set the base directory.

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

No branches or pull requests

3 participants