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 assembly #5

Open
sabotage3d opened this issue Jan 17, 2016 · 1 comment
Open

Failed to resolve assembly #5

sabotage3d opened this issue Jan 17, 2016 · 1 comment

Comments

@sabotage3d
Copy link

I am trying to translate a more complex C# program with depdencies. But it fails with failed to resolve assembly. Let me know if you need I can attach the files here. Also is it possible to do partial translation? | am running the command like this: alternative -v -R actions.exe ./output/
This is the output:
Executing alternative command --> translate Loaded Assembly Actions, Version=1.0.5859.41532, Culture=neutral, PublicKeyToken=null Decompiling assembly: Actions, Version=1.0.5859.41532, Culture=neutral, PublicKeyToken=null Output language is C++ Adding /Users/sab/projects/Actions/Actions/bin/Debug to resolver search directories Decompiling assembly: Urho.Desktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Output language is C++ Adding /Users/sab/projects/Actions/Actions/bin/Debug to resolver search directories Decompiling assembly: Urho, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Output language is C++ Adding /Users/sab/projects/Actions/Actions/bin/Debug to resolver search directories alternative: Failed to resolve assembly: 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) <0x7ee3d8 + 0x0022f> in <filename unknown>:0 at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) <0x7ee398 + 0x00038> in <filename unknown>:0 at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) <0x7ee248 + 0x0006b> in <filename unknown>:0 at AlterNative.Program.DecompileAssembly (Mono.Cecil.AssemblyDefinition adef, System.String outputDir, System.String location) <0x7ec788 + 0x00221> in <filename unknown>:0 at AlterNative.Program.DecompileAssembly (Mono.Cecil.AssemblyDefinition adef, System.String outputDir, System.String location) <0x7ec788 + 0x00247> in <filename unknown>:0 at AlterNative.Program.DecompileAssembly (Mono.Cecil.AssemblyDefinition adef, System.String outputDir, System.String location) <0x7ec788 + 0x00247> in <filename unknown>:0 at AlterNative.Program.Run () <0x726d38 + 0x00353> in <filename unknown>:0

@AlexAlbala
Copy link
Owner

Hi sabotage3d,

Just to make sure, are you placing the dependencies assemblies are located in the same folder than you executable "actions.exe"?

Thank you

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

2 participants