0
Nuget経由でSendGridに関連するパッケージをインストールしました。ローカルでは、これは完全に機能します。それが展開され、働いているしかし、一度、私は次の例外がスローされ得る:Azureで失敗した新しいNugetパッケージをインストールする(ASP.NET)
Exception Thrown: System.IO.FileLoadException: Could not load file or assembly 'SendGrid.SmtpApi, Version=1.1.3.0, Culture=neutral, PublicKeyToken=55aa52d3c3c0d2b2' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'SendGrid.SmtpApi, Version=1.1.3.0, Culture=neutral, PublicKeyToken=55aa52d3c3c0d2b2' at SendGrid.SendGridMessage..ctor() at seshpicker.Controllers.AccountController.<ForgotPassword>d__18.MoveNext() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
私は新しいNuget Sendgridパッケージはおそらくに展開されていないので、これはかもしれ信じています。しかし、私は彼らがAzureに住んでいるときにどこに行かなければならないのか分かりません。他のすべてのパッケージがどこに格納されているのかわからない。
私のローカルマシンでは、ビジュアルスタジオソリューションファイルと同じディレクトリにpackagesというフォルダの下に格納されています。また、ビルド内に参照を含めました。
誰にもアイデアはありますか?