TypeLoadException: EventStore.ClientAPI.Embedded

When I reference EventStore.Client und EventStore.Client.Embedded in the same project, than i get the following exception:

System.TypeLoadException: Type ‘EventStore.ClientAPI.Embedded.EventStoreEmbeddedNodeConnection’ from assembly ‘EventStore.ClientAPI.Embedded, Version=20.6.0.0, Culture=neutral, PublicKeyToken=null’ is attempting to implement an inaccessible interface.
at EventStore.ClientAPI.Embedded.EmbeddedEventStoreConnection.Create(IPublisher queue, ISubscriber bus, IAuthenticationProvider authenticationProvider, AuthorizationGateway authorizationGateway, ConnectionSettings connectionSettings, String connectionName)
at EventStore.ClientAPI.Embedded.EmbeddedEventStoreConnection.Create(ClusterVNode eventStore, ConnectionSettings connectionSettings, String connectionName)
at EventStore.ClientAPI.Embedded.EmbeddedEventStoreConnection.Create(ClusterVNode eventStore, String connectionName)

Code to reproduce the problem:
var nodeBuilder = EmbeddedVNodeBuilder.AsSingleNode().OnDefaultEndpoints().RunInMemory();
var node = nodeBuilder.Build();
node.Start();

var connection = EmbeddedEventStoreConnection.Create(node);//Throws exception