Created
September 1, 2018 13:25
-
-
Save tebeco/fdf6817864b78b470d729083196100d6 to your computer and use it in GitHub Desktop.
Enable User-secrets in Vs2017 without editing code or .gitignore or whatever
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
<Project Sdk="Microsoft.NET.Sdk.Web"> | |
<PropertyGroup> | |
<TargetFramework>netcoreapp2.1</TargetFramework> | |
<UserSecretsId>Foobar</UserSecretsId> | |
</PropertyGroup> | |
<ItemGroup> | |
<Content Include="$(AppData)\Microsoft\UserSecrets\$(UserSecretsId)\secrets.json" Link="secrets.json" /> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment