Created
March 28, 2019 06:53
-
-
Save wullemsb/998ec3930fb6a1e241876d018fc6f15a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public IConfigurationRoot BuildConfiguration(string testDirectory) | |
{ | |
return new ConfigurationBuilder() | |
.SetBasePath(testDirectory) | |
.AddJsonFile("appsettings.json", optional: true) | |
.Build(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment