FluentEmail
FluentEmail copied to clipboard
PM Install of FluentEmail.SendGrid corrupts DLL versions and trashes project
I am installing with the following into a Web API and MVC project:
Install-Package SendGrid -version 9.2.0
Install-Package FluentEmail.Core -version 2.1.0
Install-Package FluentEmail.Smtp -version 2.0.4
Install-Package FluentEmail.Mailgun -version 2.1.0
Install-Package FluentEmail.SendGrid -version 2.0.1
The FluentEmail.SendGrid install partially switches the project to using 4.3.0 from 4.0 DLL's as seen in the package manager snippet.
PM> Install-Package FluentEmail.SendGrid -version 2.0.1
Attempting to gather dependency information for package 'FluentEmail.SendGrid.2.0.1' with respect to project 'WebSrv', targeting '.NETFramework,Version=v4.6.1'
...
Retrieving package 'System.Net.Http 4.3.0' from 'nuget.org'.
...
Removed package 'System.Net.Http.4.1.0' from 'packages.config'
Successfully uninstalled 'System.Net.Http.4.1.0' from WebSrv
...
Adding package 'System.Net.Http.4.3.0' to folder 'C:\Dat\Nsg\L\Web\Ng\NetIncidents3\packages'
Added package 'System.Net.Http.4.3.0' to folder 'C:\Dat\Nsg\L\Web\Ng\NetIncidents3\packages'
Added package 'System.Net.Http.4.3.0' to 'packages.config'
Successfully installed 'System.Net.Http 4.3.0' to WebSrv
...
Removing package 'System.Net.Http.4.1.0' from folder 'C:\Dat\Nsg\L\Web\Ng\NetIncidents3\packages'
Removed package 'System.Net.Http.4.1.0' from folder 'C:\Dat\Nsg\L\Web\Ng\NetIncidents3\packages'
...
Executing nuget actions took 1.06 min
Time Elapsed: 00:01:09.3584515
PM>
Now 16 different DLL's have yellow triangles with ! in the middle including System.Net.Http and web services now error out.