Fixing build warning (#208)

13:40:19.336     1>Startup.cs(30,17): warning CS0618: 'ConfigurationExtensions.AddUserSecrets(IConfigurationBuilder)' is obsolete: 'This method is obsolete and will be removed in a future version. The recommended alternative is .AddUserSecrets(string userSecretsId) or .AddUserSecrets<TStartup>().' [C:\Source\SignalR-Core\samples\ChatSample\ChatSample.csproj] [C:\Source\SignalR-Core\.build\makefile.proj]
This commit is contained in:
Pawel Kadluczka 2017-02-15 16:32:49 -08:00 committed by GitHub
parent 92b3cb1592
commit b1dafc2f34
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace ChatSample
if (env.IsDevelopment())
{
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
builder.AddUserSecrets();
builder.AddUserSecrets<Startup>();
}
builder.AddEnvironmentVariables();