ssannandeji / Zenject-2019

Dependency Injection Framework for Unity3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant add Zenject-TestFramework to Solution

kapyar opened this issue · comments

Hi,
I feel desperate at that time, I add Zenject-TestFramework to my Assembly-Editor and after I tried to run it unload this reference and project became red.

[TestFixture]
public class UnityIapManagerTests : ZenjectUnitTestFixture 
    {
        SignalBus _signalBus = null;

        [SetUp]
        public void SetUp()
        {
            SignalBusInstaller.Install(Container);
            _signalBus = Container.Resolve<SignalBus>();
            
        }

What I have missed?

Same problem here. Referencing Zenject-TestFramework in my Assembly Definition doesn't give me access to the Zenject namespace in Zenject-TestFramework.

EDIT: The problem seems to be that it doesn't work as a UPM package:
https://github.com/starikcetin/Extenject/tree/upm