Questions tagged [assembly-resolution]
229 questions
13
votes
1 answer
probing privatePath and subdirectories
In my application I would like to put DLL files in a subdirectory. I'm using the probing element in app.config and it works quite fine, but I've got an issue with localization assemblies.
…

ufo
- 674
- 2
- 12
- 35
13
votes
3 answers
visual studio express 2012 app.config remapping assembly
I moved a project from MVC 3 to MVC 4 a while ago now.
when I build, I get the messages
1> No way to resolve conflict between "System.Web.Mvc, Version=3.0.0.0 ..." and , Version=2.0.0.0
1> Consider app.config remapping of assembly…

Brent
- 4,611
- 4
- 38
- 55
12
votes
2 answers
Use types of same name & namespace in 2 .NET assemblies
Out of curiosity, I've created 2 assemblies which both have a class (Class1) with the exact same namespace (Library1). I then create another client referencing those 2 assemblies and try to create an instance of Class1.
The compiler, not…

Buu
- 49,745
- 5
- 67
- 85
11
votes
2 answers
Is it possible to create a binding redirect at runtime?
Once an application has started is there a way to create a binding redirect that will apply to all future assembly loads?

Simon
- 33,714
- 21
- 133
- 202
11
votes
3 answers
How is an assembly resolved in .NET?
How are assemblies resolved in .NET. I mean, how is an assembly with a fully qualified name resolved. I am confused about the public/private key tokens and strong naming. Thanks
EDIT: I have also read about delayed signing and stuff like that. Do…

P.K
- 18,587
- 11
- 45
- 51
10
votes
5 answers
How do I reference assemblies outside the bin folder in an ASP.net application?
I've a working XML Web service written in ASP.Net. Now I need to reference certain assemblies lying in a specific folder e.g. c:\NotMyCode
I do not want to copy/duplicate zillions of dlls in that folder into my bin folder.
I tried to keep the…

Gishu
- 134,492
- 47
- 225
- 308
9
votes
2 answers
Resolve assembly references from another folder
I am developing an application which references and uses some third party assemblies from a certain Vendor; in development box I have these 3 assemblies in a reference folder in my source tree and I can reference them and build the application,…

Davide Piras
- 43,984
- 10
- 98
- 147
9
votes
1 answer
Loading .NET Assembly From Memory Instead of Disk
I am having a perplexing problem trying to load a .NET assembly from memory instead of from the disk. If I compile the assembly and then load it from disk (either using LoadFile or LoadFrom), then the application works just fine.
However, if I…

user986713
- 143
- 1
- 1
- 6
9
votes
2 answers
Assembly Binding Error: Bind result: hr = 0x80070002. The system cannot find the file specified
I have a Visual Studio 2010 solution that contains a class library (ProjectA) and two Sharepoint projects (ProjectB & ProjectC). The dependency order is ProjectB references ProejctA and ProjectC references both ProjectA & ProjectB.
On one particular…

mundeep
- 2,727
- 1
- 22
- 24
8
votes
1 answer
.NET Fusion logger: What is the difference between Default and Native Images?
In the .NET fusion logger (FUSLOGVW.exe) what do the two options in the lower right of the screen do?
Log Categories
+ Default
+ Native Images
And how can I use either one to diagnose a mixed-mode assembly problem?

user403830
- 907
- 1
- 6
- 11
8
votes
1 answer
How to assembly redirect log4net to newer version
I just upgraded log4net in my project and am having some assembly binding issues because a component relies on an older version of log4net.
The version expected by the component is
log4net, Version=1.2.10.0, Culture=neutral,…

George Mauer
- 117,483
- 131
- 382
- 612
8
votes
4 answers
Where do I find Microsoft.VisualStudio.DebuggerVisualizers?
A project won't compile because of a missing assembly. The file that causes the error has a
using Microsoft.VisualStudio.DebuggerVisualizers;
The VisualStudio part is marked in red. What do I have to install to fix it? To me it sounds like…

Svish
- 152,914
- 173
- 462
- 620
8
votes
3 answers
Why is my project's assembly missing from the package when I debug?
I've got a SharePoint project that I've been debugging for some time without problems.
Today I added a feature receiver to the project's only feature. I've not yet changed anything about the empty receiver class that Visual Studio adds by…

lance
- 16,092
- 19
- 77
- 136
7
votes
3 answers
C# - 'Resources' DLL failing to be loaded as it doesn't exist - How might I find the reference so that I can remove it?
I have a C# Solution which spits out an executable binary on compilation. The binary depends on a library which is the product of another solution which I wrote, all code concerned I created.
Recently I played around with a number of project…

CityView
- 657
- 9
- 22
7
votes
3 answers
AssemblyResolve always get raised, asking for MyAssembly.resources
I have a WPF application, and I subscribe to the event AppDomain.AssemblyResolve (this event get raised whenever the runtime does not find an assembly), and I notice it gets call several times trying to resolve MyAssembly.resources, where MyAssembly…

Louis Rhys
- 34,517
- 56
- 153
- 221