これを参照として使用し、両方をインストールしました(nugetを使用)
Install-Package RavenDB.Client -Version 1.0.992
と
インストール-パッケージRavenDB-組み込み-バージョン1.0.919
(公式リンクでは、 Install-Package RavenDB-Embeddedの使用を推奨しています。ただし、そのnugetコマンドは、エラーInstall-Package:Unable to find package'RavenDB-Embedded'で失敗します。)
しかし、コード
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client.Document;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
var Store = new DocumentStore { ConnectionStringName = "RavenDB" };
var instance = new EmbeddableDocumentStore { ConnectionStringName = "RavenDB" };
}
}
}
EmbeddableDocumentStoreを認識しません。EmbeddableDocumentStoreの名前空間は何ですか?