Closed GoogleCodeExporter closed 8 years ago
Original comment by marc.gravell
on 14 Jun 2011 at 10:42
Ok, here was my problem: The profiler wants a workspace to make a new profiled
connection, the workspace is created through this method (in
ObjectContextUtils.cs):
static MetadataCache()
{
workspace = new System.Data.Metadata.Edm.MetadataWorkspace(
new string[] { "res://*/" },
new Assembly[] { typeof(U).Assembly });
}
As you can see it will search in assembly of the type you want to create. Since
in my case the type of the model was not in the same assembly, the creation of
the workspace failed. Moving the DigidosEntities to the same assembly as the
edmx fixed it.
Original comment by john.lan...@gmail.com
on 13 Aug 2011 at 10:51
assuming this is by design then ...
Original comment by sam.saff...@gmail.com
on 15 Aug 2011 at 1:06
Original issue reported on code.google.com by
john.lan...@gmail.com
on 14 Jun 2011 at 10:30