Totem icon indicating copy to clipboard operation
Totem copied to clipboard

RuntimeArea type mismatch

Open AlexanderJohnston opened this issue 7 years ago • 0 comments

When I load Totem.Runtime from a freshly cloned repository I get the following error:

Project: Totem.Runtime File: F:\Code\Interview.Rover\Totem-dev\Source\Totem.Runtime\RuntimeArea.cs Line: 109

Error CS0508 'RuntimeArea.RegisterCallback(Action<IComponentRegistry>)': return type must be 'DeferredCallback' to match overridden member 'ContainerBuilder.RegisterCallback(Action<IComponentRegistry>)' ... Original:

public sealed override void RegisterCallback(Action<IComponentRegistry> configurationCallback)
{
    base.RegisterCallback(configurationCallback);
}

Expected:

public sealed override DeferredCallback RegisterCallback(Action<IComponentRegistry> configurationCallback)
{
    return base.RegisterCallback(configurationCallback);
}

My question is about wether or not anyone else is getting this error. It's possible that I restored the wrong versions of the NuGet packages. In this case it's an Autofac dependency.

AlexanderJohnston avatar Dec 28 '18 01:12 AlexanderJohnston