Questions tagged [fusion]

Fusion is the code name for the assembly loader in .NET. Alternatively, it is a compiler optimization that removes intermediate data structures from composed operations on those data structures (also known as "deforestation").

It is fusion's job to seek out assemblies and load them into the current app domain so that a program can execute. The Assembly binding log viewer shows where it looks to find assemblies, and any issues that may arrise in loading them.

225 questions
299
votes
41 answers

TypeLoadException says 'no implementation', but it is implemented

I've got a very weird bug on our test machine. The error is: System.TypeLoadException: Method 'SetShort' in type 'DummyItem' from assembly 'ActiveViewers (...)' does not have an implementation. I just can't understand why. SetShort is there in the…
Benjol
  • 63,995
  • 54
  • 186
  • 268
33
votes
3 answers

How to add an assembly manifest to a .NET executable?

How can i add an assembly manifest to my .NET executable? An assembly manifest is is an XML file that is added to a .NET portable executable (PE) with resource type RT_MANIFEST (24). Assembly manifests are used to declare a number of things about…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
23
votes
1 answer

Is it possible to make GHC optimize (deforest) generic functions such as catamorphisms?

I really like the idea of working with catamorphisms/anamorphisms in a generic way, but it seems to me it has a significant performance drawback: Suppose we want to work with a tree structure in the categorical way - to describe different folding…
Petr
  • 62,528
  • 13
  • 153
  • 317
20
votes
1 answer

Can fusion see through newtype wrappers?

Given: newtype MyVec = MyVec { unVec :: Data.Vector } deriving (Functor, etc) This will create (something like) this: instance Functor MyVec where fmap f = MyVec . Data.Vector.fmap f . unVec Will Vectors fusion rules fire and rewrite fmap f .…
fho
  • 6,787
  • 26
  • 71
16
votes
3 answers

Sensor fusioning with Kalman filter

I'm interested, how is the dual input in a sensor fusioning setup in a Kalman filter modeled? Say for instance that you have an accelerometer and a gyro and want to present the "horizon level", like in an airplane, a good demo of something like this…
Theodor
  • 5,536
  • 15
  • 41
  • 55
14
votes
2 answers

How can I fuse two maps over the same list?

We could fuse two traversals over the list xs in the expression (map f xs, map g xs) like so unzip (map (\x -> (f x, g x)) xs) Is there any reasearch on performing this kind of fusion automatically? (There's a risk to create a space leak here if…
tibbe
  • 8,809
  • 7
  • 36
  • 64
13
votes
2 answers

Why doesn't fusion log binding errors?

I have added the following to the registry key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion: EnableLog DWORD 1 LogFailures DWORD 1 If I start an ASP.NET web site from Visual Studio it throws a Parser Error: Could not load file or…
Michiel van Oosterhout
  • 22,839
  • 15
  • 90
  • 132
9
votes
2 answers

Alternative to Fusion Log Viewer?

Are there any alternative Fusion Log Viewer programs, other than Fuslogvw.exe, or directing the Fusion log output to your own directory and then examining the tons of HTM files by hand? My two main gripes are: I'd like an overview that showed which…
RenniePet
  • 11,420
  • 7
  • 80
  • 106
9
votes
5 answers

MVC4 Azure Publishing Error - Could not load file or assembly 'System.Web.Razor'

The project runs fine locally, its only when published I get the following error: Could not load file or assembly 'System.Web.Razor' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.…
jakhicks
  • 584
  • 1
  • 5
  • 8
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
2 answers

Fusion Log Assembly Binder Error - Bind result: hr = 0x1. Incorrect function

I am trying to get to the bottom of a strange behavior on one machine. I have a trivial console application that will run interactively, but when I invoke it via WMI, it will start and exit immediately. I enabled the Fusion log, since Procmon was…
Mark Richman
  • 28,948
  • 25
  • 99
  • 159
7
votes
1 answer

multi-sensors fusion using Kalman filter

I need to use the Kalman filter to fuse multi-sensors positions for gaussian measurement (for example 4 positions as the input of the filter and 1 position as output). It is possible to help me with some examples or tutorials because all the…
khaoula mannay
  • 93
  • 1
  • 1
  • 3
7
votes
2 answers

Fusion binding Post-policy ignoring bindingRedirect

I have a project with SignalR and Ext.net. Both require Newtonsoft.Json. SignalR requires Newtonsoft.Json 4.5.0.0 and Ext.net requires 4.0.8.0. My binding redirects are not working at all. In my web.config
awptimus
  • 431
  • 3
  • 10
7
votes
4 answers

How to register a non-strong-name assembly to be loaded as if it were in the GAC?

One of our partners provided us with an assembly we need to access from our application. Unfortunately, this is not strong-name so we can't install it to the GAC. And we can't place it in the same place as our executable. Is there a solution for…
Anzurio
  • 16,780
  • 3
  • 39
  • 49
6
votes
4 answers

How to solve: Custom MSBuild task requires assembly outside of AppBase

I have a custom Task that I want to execute when building my C# projects. This task is located in MyTask.dll, which references another assembly, MyCommon.DLL. The problem is that MyCommon.dll is located at "..\Common\MyCommon.dll" relative to…
aoven
  • 2,248
  • 2
  • 25
  • 36
1
2 3
14 15