Open DamianEdwards opened 3 weeks ago
@DamianEdwards I was able to make this work by setting DCPDir in the app host project HealthChecksUI.csproj, rebuilt it and then ran the single test SamplesIntegrationTests.AppHostTests.AppHostRunsCleanly(appHostPath: "HealthChecksUI.AppHost.dll")
<DCPDir>c:\temp</DCPDir>
Hmmm neither I nor @karolz-ms could get this to work. Slightly confused now 🙃
Using the
<DcpPath>
property to override the directory to load dcp from doesn't work in tests usingAsprie.Hosting.Testing
, whether the property is set in the source app host project .csproj file, or the test project's .csproj file.