IHello everyone, I have a small problem, maybe someone can help me, i want to use dotnet user-secrets tool when i'm developing my .net core web app. I am done everything i read here: https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets. In this doc there is a tutorial for .net core with csproj files but i have project.json, i worked it out but when i try to type in command prompt 'dotnet user-secrets list' in my prject folder i only get:
Could not find a MSBuild project file in 'C:\WebApp\src\WebApp'. Specify which project to use with the --project option.
I tried it with --project option but i got the same, did i forget to do something ? Here You have part of my project.json
{
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0",
"type": "platform"
},
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
.......
},
.....
"tools": {
...
"Microsoft.Extensions.SecretManager.Tools": "1.0.0-msbuild3-final"
},
"userSecretsId": "ee5f10b0-829f-4257-9024-e5ee6e085823",
......
}