File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2929 </ItemGroup >
3030
3131 <ItemGroup >
32- <Constant Include =" UserSecretsId" Value = " $(UserSecretsId) " />
32+ <ProjectProperty Include =" UserSecretsId" />
3333 </ItemGroup >
3434
3535</Project >
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ public static class UserSecretsConfigurationExtensions
1414 /// <returns>The configuration builder.</returns>
1515 public static IConfigurationBuilder AddUserSecrets ( this IConfigurationBuilder configuration )
1616 {
17- if ( ! string . IsNullOrEmpty ( ThisAssembly . Constants . UserSecretsId ) )
18- return configuration . AddUserSecrets ( ThisAssembly . Constants . UserSecretsId , reloadOnChange : false ) ;
17+ if ( ! string . IsNullOrEmpty ( ThisAssembly . Project . UserSecretsId ) )
18+ return configuration . AddUserSecrets ( ThisAssembly . Project . UserSecretsId , reloadOnChange : false ) ;
1919
2020 return configuration ;
2121 }
You can’t perform that action at this time.
0 commit comments