Questions tagged [assembly-resolution]
229 questions
0
votes
1 answer
Resolving type in referenced .NET assembly
I'm unable to reference certain types in a separate assembly. The strange thing is that, when I browse the referenced assembly in the object model, I can see the type I'm looking for there. But when I try to reference the type, the compiler gives…

McGarnagle
- 101,349
- 31
- 229
- 260
-1
votes
1 answer
Resolve an C++ assembly in C#
I have an C# WPF project, I need to add some c++ dll in that to use functions implemented inside it.
If I straight use
MyClassinDll myc = new MyClassinDll();
I get multiple not resolve file not found exception, writer of dll advice me to use…

murmansk
- 845
- 2
- 11
- 28
-1
votes
1 answer
Different versions of the same assembly
I am writing a wrapper for a library that got a drastic change in the API between one version and the other, so I need to create a contract that will allow me to access the two versions of the same API.
This is my project structure:
- Client.dll
-…

Raffaeu
- 6,694
- 13
- 68
- 110
-1
votes
3 answers
How would I force my executable to load an assembly from a different path?
I have the following deployment structure:
deployment/
Service1.dll
Service2.dll
Service3.dll
Common.dll
Host.exe
During startup, the 3 service dlls are copied to a temporary location, and I use Assembly.LoadFrom to load the…

Moo-Juice
- 38,257
- 10
- 78
- 128