-
Notifications
You must be signed in to change notification settings - Fork 36
Installation
sergeyshushlyapin edited this page Nov 7, 2014
·
12 revisions
Sitecore FakeDb is available on NuGet. To install the framework:
- Create a new
Class Library
project. - Add references to the following assemblies:
- Lucene.Net.dll
- Sitecore.Kernel.dll
- Sitecore.Logging.dll
- Sitecore.Nexus.dll
- Run the following command in the NuGet Package Manager Console:
Install-Package Sitecore.FakeDb
- 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" />
- [Optional] If you are using NCrunch, please ensure you have included
the
license.xml
file in the NCrunch Configuration. If you are using theFakeDb.Serialization
library, please ensure you have included theData
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.