Xunit with LitiumApplicationTestBase

Hi

I’we been having trouble using LitiumApplicationTestBase in my Xunit project.

Been reading both: Setting up a test project and Education/Developer Education/Tasks/Test project at main · LitiumAB/Education · GitHub

However the moment I include the LitiumApplicationTestBase class i get:

System.NullReferenceException
Object reference not set to an instance of an object.
   at System.Web.Hosting.HostingEnvironment.RegisterVirtualPathProviderInternal(VirtualPathProvider virtualPathProvider)

Any idea what it could be?

Litium version: 7.4.2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.