As advised by the Entity Framework Team I've tried to create a native image of EntityFramework.dll
with this command:
ngen install packages\EntityFramework.6.1.0-beta1\lib\net40\EntityFramework.dll
this results in the error 0x80131F06
(no native image for mscorlib.dll). When I now try to run ngen install mscorlib.dll
I get the error 0x800706BE
(RPC_S_CALL_FAILED - The remote procedure call failed).
I already used sfc /scannow
and it reports no broken files.
Any ideas what is wrong here?