Skip to content

Commit 8017ded

Browse files
committed
Don't default to App_Data for UserSecrets.
1 parent 14bf7ba commit 8017ded

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UserSecrets/UserSecretsConfigBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private string GetSecretsFileFromId(string secretsId)
9494
if (!String.IsNullOrWhiteSpace(root))
9595
return Path.Combine(root, "Microsoft", "UserSecrets", secretsId, "secrets.xml");
9696

97-
return Path.Combine(Utils.MapPath(@"~\App_Data"), "UserSecrets", secretsId, "secrets.xml");
97+
return null;
9898
}
9999

100100
// This is an implementation detail and subject to change - but the secrets file is xml-based and fits this format:

0 commit comments

Comments
 (0)