assemblybinding

Assembly Binding Log Viewer (fuslogvw) not logging any bindings

ぐ巨炮叔叔 提交于 2020-02-26 06:16:27
问题 Assembly Binding Log Viewer (fuslogvw) is not logging bindings for any version of the framework installed on my machine. I tried using a custom log location, the default log location, the default category, and the native images category. Assembly Binding Log Viewer worked a few months ago. I'm on a 64-bit machine and am running C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\FUSLOGVW.exe 回答1: Going into Internet Explorer --> Tools --> Internet Options --> Browsing

Debug .NET assembly binding aka Find what dll is used and why

流过昼夜 提交于 2020-01-11 03:42:04
问题 We're having some mystery version mismatches on our referenced dll's loaded at runtime. Errors like: Could not load file or assembly X or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Is there any way to debug the assembly binding. In other words, how can I know the following details about loaded assemblies: Version Location Who/What caused the loading (my code, another .dll, ...) Well, just

Replacing dll to a newer version

那年仲夏 提交于 2019-12-29 09:27:07
问题 I have a Caliburn.Micro application with many projects. Several projects refer to the same dll in a separate folder. Now I needed to replace that dll with a newer version. I removed the reference from all projects and added it again. But I am getting a runtime error: Could you please help? P.S. I tried to use fuslogvw.exe, but it shows up empty: 回答1: I think you're using Visual Studio. First of all, check in the properties of all that FileHelpers referenced if the Specific Version is set to

Assembly Binding Redirection and Code Analysis

我只是一个虾纸丫 提交于 2019-12-20 08:34:17
问题 I'm using DotNetOpenAuth (which references System.Web.Mvc version 1.0.0.0) in a Mvc 3.0.0.0 project in Visual Studio 2010. I'm using assembly binding redirection as follows:- <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> Everything works fine, except code

.Net Assembly Binding Redirect with Differing Public Key Tokens

£可爱£侵袭症+ 提交于 2019-12-18 01:19:35
问题 Is it possible to perform an assembly binding redirect between different versions of a referenced assembly if the public key token is null on the older version and set on the newer version? For example, I have two assemblies... System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null and System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Should the following assembly binding redirect work in the Asp.Net web.config... <runtime> <assemblyBinding xmlns

How can I solve this System.Web.Helpers mismatch on Azure web deploy?

▼魔方 西西 提交于 2019-12-12 11:00:44
问题 I don't know why I can't seem to figure this out. I'm in a bit of DLL strong-naming hell. Here's what's happening: I'm using Visual Studio 2012 RC to make an MVC4 site targeting .NET 4.0 I'm attempting to use the Gravatar Razor helper in the Microsoft.Web.Helpers library It works on my machine, but after deploying to Azure via Git, I get the following exception on invoking the Gravatar helper: Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0, Culture=neutral,

Using relative path in assemblyBindig/linkedConfiguration element

白昼怎懂夜的黑 提交于 2019-12-10 03:59:27
问题 I'm trying to move assembly redirects from web.config into an external file. The reason for it is that I want to keep binding redirect in one place and use it on both debug and production configurations. It sort of works, but I'm strugling with specifying relative paths. <configuration> <!-- this works, but forces me to use the same path on dev and production machines --> <linkedConfiguration href="file://c:\data\web.runtime.config"/> <!-- none of those works --> <linkedConfiguration href=

How to operate with multiple assembly versions in private folders using config?

对着背影说爱祢 提交于 2019-12-07 07:46:15
问题 I have a scenario where I have multiple versions of the same assembly that I need to store in the application private folders, in a structure like this: .\My.dll // latest version, say 1.1.3.0 .\v1.1.1\My.dll // version 1.1.1.0 .\v1.1.2\My.dll // version 1.1.2.0 My problem is that the .Net runtime, when asked for one of the older versions, always finds the latest version and then fails due to build number mismatch before trying to probe for a better match. The assemblies are strong named and