assembly.load Questions

5

Solved

I'm trying to understand the differences between Assembly.Load and Assembly.ReflectionOnlyLoad. In the code below I am attempting to find all of the objects in a given assembly that inherit from a...
Hollingsworth asked 20/11, 2008 at 16:8

4

Solved

Let’s say that I have two C# applications - game.exe (XNA, needs to support Xbox 360) and editor.exe (XNA hosted in WinForms) - they both share an engine.dll assembly that does the vast majority of...
Mantle asked 30/8, 2009 at 8:50

1

Until recently I was loading my assembly by calling Assembly.LoadFrom and it was ok. But now I need to load it in a temporary appDomain but I keep having a FileLoadException when trying to load the...
Difficile asked 10/6, 2013 at 9:5

1

Solved

I'm trying to compile an assembly from my code with C# code provider. When I access the compiled assembly with compilerResult.CompiledAssembly, everything works. However, when I instead do Assembl...

4

Solved

At runtime, if a referenced assembly fails to load with e.g. "Strong name validation failed" (because it's test-signed), is there a way to provide a substitution assembly from another path that is ...
Malathion asked 2/10, 2009 at 3:9

2

Solved

I have some assembly that references NUnit and creates a single test class with a single test method. I am able to get the file system path to this assembly (e.g. "C:...\test.dll"). I would like to...
Kinetics asked 12/10, 2008 at 3:35

2

Solved

Weird behavior when mixing loading of assemblies using Assembly.LoadFrom and Assembly.Load: I have encountered a weird behavior when loading assemblies with Assembly.LoadFrom and later on with Asse...
Hoskinson asked 6/1, 2009 at 13:17
1

© 2022 - 2024 — McMap. All rights reserved.