user1492491
user1492491

Reputation:

Using RavenDB Embedded on Asp.Net 5 (vNext)

The new Asp.Net edition features the kpm (k package manager). It seems to keep the dependencies packages on C:\Users\<UserName>\.kpm\packages.

And RavenDB dependencies are there too.

And then, this is how the project.json is defined. RavendDB Embedded referenced at the very end.

enter image description here

But then, the access to Lucene.Net.dll is being denied.

enter image description here

I had no problems with other dependencies so far, this is the only time an assembly reference had been denied from access.

Upvotes: 2

Views: 826

Answers (1)

Ayende Rahien
Ayende Rahien

Reputation: 22956

RavenDB is packaging some dlls internally, and it needs to save them to disk when it is loaded, that is why it is trying to delete that file (and then write to it again). If you grant permission to that folder, it should all just work for you.

Upvotes: 1

Related Questions