Questions tagged [assembly-resolution]
229 questions
0
votes
3 answers
How can it be that .Net cannot find the System assembly?
I'm having the following error while executing some integration tests:
The assembly with display name 'System' failed to load in the 'Load' binding context of the AppDomain with ID 4. The cause of the failure was: System.IO.FileNotFoundException:…

Ignacio Soler Garcia
- 21,122
- 31
- 128
- 207
0
votes
2 answers
AppDomain.CurrentDomain.AssemblyResolve does not fire while loading plug-in for main software. Why?
The plug-in (let us call it PLUGIN) I am developing is using two assembly files from the main software (let as call it PARENT) it is written for. As soon as the PARENT is updated to a new version (and it happens several times a week) I want my…

Tony Stark
- 2,318
- 1
- 22
- 41
0
votes
1 answer
How a native C++ plug-in DLL can load a private assembly located in a specific directory
I have a native C++ DLL which is used as a plug-in in another application. This DLL has an embedded manifest and depends on a private assembly located in a folder external to the application. The application fails to load my plug-in DLL because my…
user227068
0
votes
3 answers
FxCop: control assembly referenced by analyzed assembly not being loaded
FWIW: Windows 7 64bit, Compact Framework v3.5, FxCop v1.36 (running fxcopcmd.exe)
I'm having problems getting FxCop 1.36 to run correctly. I'm analyzing a compact framework application with the globalization rules from…

Derick Bailey
- 72,004
- 22
- 206
- 219
0
votes
1 answer
PowerShell Runspace in Silverlight Class Library (shared with WPF class library)
I have a Silverlight Library project that is linked to from a WPF application (shared .xaml and .cs code).
I am trying to add a class to start powershell runspace and execute some commands. Yet I cannot add the reference to the Silverlight library…

Saher Ahwal
- 9,015
- 32
- 84
- 152
0
votes
1 answer
Tests under TestDriven.NET not picking up updated fuslogvw settings
If there's a dup of this, I'll be upvoting it but until someone finds it for me.... This is a Things I've Learned Today [that nobody seems to have blogged about] entry...
With TestDriven.NET, I was continually getting the following output from an…

Ruben Bartelink
- 59,778
- 26
- 187
- 249
0
votes
0 answers
Can .NET Fusion loader load assembly reference different than that in manifest?
I thought I knew how .NET runtime loads the assembly references at runtime, but this situation has raised doubts for myself.
I have an assembly Client.exe that refers to an assembly Thirdparty.dll (version 5.1.0.0).
Client.exe refers to assembly…

theraneman
- 1,620
- 4
- 18
- 32
0
votes
2 answers
.NET Automatic include of assembly
Not sure if this can be done, but here goes anyways.
I've written an N-tier application that's going to be implemeneted by end users. I wanted to expose 1 class only in a Project I called Myapp.client. Now, I want end users to ONLY have to include…

Fox
- 891
- 3
- 9
- 30
0
votes
1 answer
Assembly could not be loaded - deploying to Azure - Microsoft.Activities.Extensions
I have a workflow project in my solution that referenced Microsoft.Activies.Extensions.dll 2.0.2.16
I used the NuGet Package Manager to upgrade to the current version 2.0.6.9
Deploying the web role that references the workflow project .dll to the…

parliament
- 21,544
- 38
- 148
- 238
0
votes
1 answer
Enter string, display entered string and convert string upper case to lower case?
I'm stuck on enter string, display entered string and convert string upper case to lower case.
I have to use emu8086.inc but I don't know how to convert this code below to accept string instead of number/integer. Anybody willing to guide further on…

missy
- 1
- 1
0
votes
2 answers
How to statically declare a type at compile time by AssemblyQualifiedName in C#
Possible Duplicate:
When must we use extern alias keyword in C#?
I have an assembly which is composed mostly of files shared from other projects in the solution. In other words, the whole solution would be about 10 MB, but I export a small…

Bryce Wagner
- 2,640
- 1
- 26
- 43
0
votes
1 answer
Prevent app from crashing without giving info when dll is missing
If some dll required by my VB.NET program is missing, when I run it, it crashes with the typical Windows error message, and does not provide any information about the error.
So, I thought of validating that all dependencies are satisfied before…

dario_ramos
- 7,118
- 9
- 61
- 108
0
votes
0 answers
Assembly resolve failed event fires when EF ObjectContext is created
I have found a strange thing. If you create an EF datacontext you get some assembly resolve failed events like this:
Any EF will do my sample has: var db = new NorthwindEntities();
System.Xml.resources, Version=4.0.0.0, Culture=hu-HU,…

Laszlo Boke
- 1,319
- 1
- 10
- 22
0
votes
2 answers
How can attach to AppDomain.CurrentDomain.AssemblyResolve in a DLL
I have a dll that other applications use. It relies on a 3rd party dll that updates fairly regularly. As long as the version I need or greater is present then I am happy.
But Visual Studio forces the exact version I need on the apps that use my…

Vaccano
- 78,325
- 149
- 468
- 850
0
votes
1 answer
Reference errors after installing VS2012RC
We use dmake for our build machines and VS2010 for building locally. Everything worked fine, then I installed VS2012 RC (ultimate).
It's building ok in Visual Studio, although I get a bunch of these warnings:
There was a mismatch between the…

JoeB
- 2,743
- 6
- 38
- 51