Skip to main content
deleted 44 characters in body
Source Link
Cristi Vulturar
  • 2.3k
  • 2
  • 7
  • 28

You should make sure that your Test project has at least the following references:

<packages>
  <package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
  <package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
  <package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
  <package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>

If you do not care about having extra DLL references youYou only need to add two nuget packages to makein your test project worksolution with the dependencies: Sitecore.Nexus and Microsoft.Extensions.DependencyInjection.

You should make sure that your Test project has at least the following references:

<packages>
  <package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
  <package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
  <package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
  <package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>

If you do not care about having extra DLL references you only need to add two nuget packages to make your test project work: Sitecore.Nexus and Microsoft.Extensions.DependencyInjection

You should make sure that your Test project has at least the following references:

<packages>
  <package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
  <package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
  <package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
  <package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>

You only need to add two nuget packages in your solution with the dependencies: Sitecore.Nexus and Microsoft.Extensions.DependencyInjection.

added 13 characters in body
Source Link
Cristi Vulturar
  • 2.3k
  • 2
  • 7
  • 28

You should make sure that your Test project has at least the following references:

<packages>
  <package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
  <package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
  <package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
  <package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>

If you do not care about having extra DLL references you can add only need to add two nuget packages to make youyour test project work: Sitecore.Nexus and Microsoft.Extensions.DependencyInjection

You should make sure that your Test project has at least the following references:

<packages>
  <package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
  <package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
  <package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
  <package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>

If you do not care about having extra DLL references you can add only two nuget packages to make you test work: Sitecore.Nexus and Microsoft.Extensions.DependencyInjection

You should make sure that your Test project has at least the following references:

<packages>
  <package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
  <package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
  <package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
  <package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>

If you do not care about having extra DLL references you only need to add two nuget packages to make your test project work: Sitecore.Nexus and Microsoft.Extensions.DependencyInjection

Source Link
Cristi Vulturar
  • 2.3k
  • 2
  • 7
  • 28

You should make sure that your Test project has at least the following references:

<packages>
  <package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
  <package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
  <package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
  <package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
  <package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>

If you do not care about having extra DLL references you can add only two nuget packages to make you test work: Sitecore.Nexus and Microsoft.Extensions.DependencyInjection