New Release - 0.5.0

Published
04 October 2017
Category
Release
Author
jericho

Breaking Changes

  • #18 Switch away from System.Net.Mail

Improvements

  • #17 Support Cake 0.22.2
  • #16 Multi-target net46 and netstandard1.6

Note

First, include a reference to this addin in your script like this:

#addin nuget:?package=Cake.SendGrid

Second, we highly recommend that you add the following 'using' statement in your script. Technically, this is not necesary, but it simplifies dealing with attachements:

using Cake.Email.Common;

Also, this addin is designed to take advantage of some of the new features released in CakeBuild version 0.22.0. Having said that, a bug was discovered in 0.22.0 and fixed in 0.23.0 therefore you need to ensure to ensure that version (or more recent). Your tools\package.config should be:

<packages>
    <package id="Cake" version="0.23.0" />
</packages>

Finally, and this is critical, you need to "opt-in" the new feature in CakeBuild that this addin depends on. If you are using the standard bootstrapper, you opt-in these feature like so:

.\build.ps1 --nuget_useinprocessclient=true --nuget_loaddependencies=true

Please do not hesitate to reach out in the GitHub discussions if you have any issues using this addin.