You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This is a support file to get the root file directory to resolve a relative path issues with Window vs Linux
// Basically, Windows uses the root file directory so, Redux/Problems, but Linux uses /bin/Debug/net6.0/Problems.
// This makes it so you can always just use the root(Widows on any system)
// E.G: string projectSourcePath = ProjectSourcePath.Value; will return the root path, then you can concatinate where ever you're going after like Problems/...
// Solution is based off StackOverflow (https://stackoverflow.com/a/66285728)
using System.Runtime.CompilerServices;
// Lets the test project (assembly name "redux-tests") see internal members:
// ProjectSourcePath below, and the top-level internal Program class used by
// WebApplicationFactory<Program> in redux-tests/Endpoints/EndpointFixture.cs.