mystikos icon indicating copy to clipboard operation
mystikos copied to clipboard

[aspnetcore5] Microsoft.AspNetCore.Authentication.Test fails due to incorrect AppContext.BaseDirectory

Open vtikoo opened this issue 3 years ago • 1 comments

AppContext.BaseDirectory is the directory in which the managed assembly being run is situated at. The test relies on this property to retreive the certificate files required in the test.

According to https://github.com/dotnet/runtime/issues/7887, this is set by the host runner before invoking the managed code. In our case, probably the test runner needs to set this property.

vtikoo avatar Feb 09 '22 01:02 vtikoo

this looks more like a test environment problem.

paulcallen avatar Feb 14 '22 21:02 paulcallen