Skip to content
sergeyshushlyapin edited this page Nov 7, 2014 · 12 revisions

Sitecore FakeDb is available on NuGet. To install the framework:

  1. Create a new Class Library project.
  2. Add references to the following assemblies:
- Lucene.Net.dll
- Sitecore.Kernel.dll
- Sitecore.Logging.dll
- Sitecore.Nexus.dll
  1. Run the following command in the NuGet Package Manager Console:
Install-Package Sitecore.FakeDb
  1. Open the App.config file added by the package and update path to the license.xml file using the LicenseFile setting if necessary. By default the license file path is set to the root folder of the project:
<setting name="LicenseFile" value="..\..\license.xml" />
  1. [Optional] If you are using NCrunch, please ensure you have included the license.xml file in the NCrunch Configuration. If you are using the FakeDb.Serialization library, please ensure you have included the Data folder as well.

To upgrade the framework run the following command in the NuGet Package Manager Console:

Update-Package Sitecore.FakeDb

Important:

You should always overwrite the App.config file if requested.

Clone this wiki locally