InvalidOperationException: Could not find 'UserSecretsIdAttribute' on assembly
<p>After deploying ASP.NET Core app to azure and opening the site, I get the following error:</p>

<blockquote>
  <p>InvalidOperationException: Could not find 'UserSecretsIdAttribute' on
  assembly '******, Version=1.0.0.0, Culture=neutral,
  PublicKeyToken=null'.</p>
</blockquote>

<p>The exception details also include that the error happens at Startup.cs on this line of code:</p>

<blockquote>
  <p>builder.AddUserSecrets();</p>
</blockquote>

<p>Thank you</p>