-
Notifications
You must be signed in to change notification settings - Fork 584
Labels
status: help wantedrequesting help from the communityrequesting help from the communitytype: bugbug in the librarybug in the library
Description
Issue Summary
I tried to use SendGrid.Extensions.DependencyInjection
in an ASP.NET WebForms application (the project already has a DI container) and the .csproj
builds fine, however aspnet_compiler.exe
complains:
D:\git\me\project\WebApp\web.config(214): error ASPCONFIG: Could not load file or assembly 'SendGrid.Extensions.DependencyInjection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f047e93159395ca' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, o
r it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
[FileLoadException]: Could not load file or assembly 'SendGrid.Extensions.DependencyInjection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f047e93159395ca' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully
signed with the correct private key. (Exception from HRESULT: 0x80131045)
Steps to Reproduce
- Create an ASP.NET WebForms project.
- Add the NuGet package
SendGrid.Extensions.DependencyInjection
to the project and build. - Perform precompilation with
aspnet_compiler.exe
- You'll get that error message.
Technical details:
- sendgrid-csharp version: 9.21.0
SendGrid.Extensions.DependencyInjection
version: 1.0.0.- csharp version: 8.0 (VS2019)
iammichelleau and theprateik
Metadata
Metadata
Assignees
Labels
status: help wantedrequesting help from the communityrequesting help from the communitytype: bugbug in the librarybug in the library