Skip to content
This repository was archived by the owner on Jan 3, 2018. It is now read-only.
This repository was archived by the owner on Jan 3, 2018. It is now read-only.

Not Recognising IoC Injected Types At All #77

@jamsoft

Description

@jamsoft

I've just installed 0.7.3.0 into R# 9.1.1 Ultimate 2015.1.1

I have a Unity application that I'm working on and ReSharper is still telling me that types are not instantiated.

Consider this code, this class and the registration code are in the same project within Visual Studio 2012:

PageManager.cs
public class PageManager : IPageManager
{
...
}

PageManagerModule.cs
_container.RegisterType<IPageManager, PageManager>(new ContainerControlledLifetimeManager());

ReShaper is still underlining the PageManager class name and telling me:

"Class PageManager is never instantiated"

My Unity reference is "Microsoft.Practices.Unity" and I'm using version 2.1.505.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions