Questions tagged [assemblybinding]

Questions about problems with .NET assembly binding (the mechanism by which the framework selects which assembly file to load when a class is referenced by a program being executed). For specific questions about Fuslogvw.exe (the Fusion Log Viewer tool for diagnosing assembly binding issues), tag with [fuslogvw].

Questions about problems with .NET assembly binding (the mechanism by which the framework selects which assembly file to load when a class is referenced by a program being executed). For specific questions about Fuslogvw.exe (the Fusion Log Viewer tool for diagnosing assembly binding issues), tag with .

Links (some of which are very old, but they remain useful)

82 questions
0
votes
1 answer

MEF - wrong assembly version

I have a web app that uses MEF, Webapi and OData. For MEF I created a helper class that loads the catalog on demand (at first access) The following is MEF integration code. Public Shared ReadOnly Property Catalog As AggregateCatalog Get …
0
votes
1 answer

ASP.NET MVC 2: Why does my app reference both versions (1 and 2)?

I opened up the DLL for an ASP.NET MVC 2 project of mine in Reflector, and noticed that there are two references to System.Web.Mvc - one for version 1.0.0.0, and one for 2.0.0.0. I don't seem any references to v1 anywhere in the csproj file, nor in…
Daniel Schaffer
  • 56,753
  • 31
  • 116
  • 165
0
votes
1 answer

Could not load file or assembly 'xxxLib' or one of its dependencies. BadImageFormatException

From what I've read in different posts, this is an error related to 32-bit and 64-bit applications. However, all of my projects are being built in x64. xxxLib, is an old library that is being used by the three projects that was recently updated to…
Luis Lavieri
  • 4,064
  • 6
  • 39
  • 69
0
votes
1 answer

Loading dlls from a different directory using "probing"

When compiling a C# project which has external references, the referenced dlls are being copied to the project's output path (next to the exe). When running the application, it expects to find the dlls next to the exe. I'm looking for a way to…
Idanis
  • 1,918
  • 6
  • 38
  • 69
0
votes
3 answers

MissingMethodException when running application on different computer

I have a problem where I compiled my application on Visual Studio 2010 while targetting the .NET Framework 3.5, deployed it to a client server, only to find it gives me the following error: ************** Exception Text…
0
votes
0 answers

How do I make mshtml load CustomMarshalers?

I'm working on a legacy c# application that uses .Net framework 4. The app uses the WebBrowser control and references "Microsoft HTML Object Library" (mshtml). The current version is deployed to Server 2003 and will only run if .Net framework 2 SDK…
0
votes
0 answers

Elusive processor architecture mismatch during publish of a web application

Our team is developing a web application targeted to x64. All its project references and their dependencies are targeting x64 (I verified the .csproj files and the assemblies). There are no latebound references in configuration files. Everything…
Kit
  • 20,354
  • 4
  • 60
  • 103
1 2 3 4 5
6