Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeArea type mismatch #59

Open
AlexanderJohnston opened this issue Dec 28, 2018 · 0 comments
Open

RuntimeArea type mismatch #59

AlexanderJohnston opened this issue Dec 28, 2018 · 0 comments

Comments

@AlexanderJohnston
Copy link

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)': return type must be 'DeferredCallback' to match overridden member 'ContainerBuilder.RegisterCallback(Action)'
...
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant