You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
I'm using VS 2013 Pro. I installed Etg.SimpleStubs via the package manager console. I'm getting: Error 1 The type or namespace name 'Etg' could not be found (are you missing a using directive or an assembly reference?)
I'm getting that in SimpleStubs.generated.cs:
using System;
using System.Runtime.CompilerServices;
using Etg.SimpleStubs;
Thanks,
Darren
Edit:
Okay so I downloaded the package and extracted the proper version, added a reference and it works. I'm running Windows 10.
Edit Again:
It's making stubs but I'm getting a compiler error.
public delegate float AdjustedFitness_Get_Delegate();
public StubIIndividual **AdjustedFitness_Get**(AdjustedFitness_Get_Delegate del, int count = Times.Forever, bool overwrite = false)
{
_stubs.SetMethodStub(del, count, overwrite);
return this;
}
The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'