I'm trying to add an in memory store for my ASP.NET 5 application.
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
services.AddEntityFramework()
.AddInMemoryStore()
.AddDbContext<MyDbContext>();
}
Though I'm getting the following error:
$ dnx . kestrel
* Assertion at loader.c:1189, condition `!mono_loader_get_last_error ()' not met
Stacktrace:
at <unknown> <0xffffffff>
at Nalie.Startup.ConfigureServices (Microsoft.Framework.DependencyInjection.IServiceCollection) <0x0003a>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
* Assertion at loader.c:1912, condition `!mono_loader_get_last_error ()' not met
Abort trap: 6