You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: src/Microsoft.Extensions.Configuration.UserSecrets/build/netstandard1.0/Microsoft.Extensions.Configuration.UserSecrets.targets
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ Licensed under the Apache License, Version 2.0.
Condition="'$(GenerateUserSecretsAttribute)'=='true' and '$(UserSecretsId)'!='' and '$(DesignTimeBuild)'!='true'"
23
-
Inputs="$(MSBuildAllProjects)"
24
-
Outputs="$(GeneratedUserSecretsAttributeFile)" />
23
+
Condition="'$(GenerateUserSecretsAttribute)'=='true' and '$(DesignTimeBuild)'!='true'" >
24
+
<WarningText="The assembly attribute 'UserSecretsIdAttribute' could not be generated because the 'UserSecretsId' property was empty or missing. UserSecretsIdAttribute may be required for .AddUserSecrets() to function correctly."
0 commit comments