Visual Studio Code – Steps needed to have a .NET Console Application read secrets.json in Visual Studio
I'm following the docs for Configuration in .Net, and having trouble getting it working with User Secrets in Visual Studio 2022 (.Net 6.0). Thus far I've: Installed Microsoft.Extensions.Configuration.UserSecrets, and Microsoft.Extensions.Hosting. Confirmed that <UserSecretsId> was added to the .csproj file Code…