This repository was archived by the owner on Dec 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
OpenIdConnect.AzureAdSample Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ public Startup(IHostingEnvironment env)
2424 if ( env . IsDevelopment ( ) )
2525 {
2626 // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
27+ #pragma warning disable CS0618
2728 builder . AddUserSecrets ( ) ;
29+ #pragma warning restore CS0618
2830 }
2931
3032 builder . AddEnvironmentVariables ( ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ public Startup(IHostingEnvironment env)
2828 if ( env . IsDevelopment ( ) )
2929 {
3030 // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
31+ #pragma warning disable CS0618
3132 builder . AddUserSecrets ( ) ;
33+ #pragma warning restore CS0618
3234 }
3335
3436 builder . AddEnvironmentVariables ( ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ public Startup(IHostingEnvironment env)
2828 if ( env . IsDevelopment ( ) )
2929 {
3030 // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
31+ #pragma warning disable CS0618
3132 builder . AddUserSecrets ( ) ;
33+ #pragma warning restore CS0618
3234 }
3335
3436 builder . AddEnvironmentVariables ( ) ;
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ public Startup(IHostingEnvironment env)
3434 if ( env . IsDevelopment ( ) )
3535 {
3636 // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
37+ #pragma warning disable CS0618
3738 builder . AddUserSecrets ( ) ;
39+ #pragma warning restore CS0618
3840 }
3941
4042 builder . AddEnvironmentVariables ( ) ;
You can’t perform that action at this time.
0 commit comments