Skip to content

Commit

Permalink
Update package info
Browse files Browse the repository at this point in the history
  • Loading branch information
Kees van Spelde committed Jun 22, 2024
1 parent f511044 commit 54d3c6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
14 changes: 6 additions & 8 deletions MsgReaderCore/MsgReader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<RootNamespace>MsgReader</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>5.6.0</Version>
<AssemblyVersion>5.6.0.0</AssemblyVersion>
<Version>5.6.1</Version>
<AssemblyVersion>5.6.1.0</AssemblyVersion>
<Authors>Kees van Spelde</Authors>
<Company>Magic-Sessions</Company>
<Copyright>(c)2013-2024 - Kees van Spelde</Copyright>
Expand All @@ -18,14 +18,12 @@
<PackageTags>Outlook MSG Signed EML Contact Appointment Task</PackageTags>
<Description>Read Outlook MSG and EML files without using Outlook. The MSGReader supports MSG E-Mail (also signed), Contact, Appointment, Task, Sticky notes and Contact files.
The EML reader supports MIME 1.0 encoded files.</Description>
<PackageReleaseNotes>*** WARNING THIS VERSION BREAKS YOUR CODE **
*** USE .ToLocalTime() on all DateTimeOffset properties to get local time again !!! ***

- Updated all DateTime properties to DateTimeOffset
- Upgraded nuget packages</PackageReleaseNotes>
<PackageReleaseNotes>- Updated nuget package
- Fixed issue where the property MessageLocalId did throw and exception in some special cases
- Fixed detection logic for html and text body parts in EML messages</PackageReleaseNotes>
<SignAssembly>False</SignAssembly>
<AssemblyOriginatorKeyFile>MSGReader.snk</AssemblyOriginatorKeyFile>
<FileVersion>5.6.0.0</FileVersion>
<FileVersion>5.6.1.0</FileVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>Outlook-icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
4 changes: 2 additions & 2 deletions MsgReaderCore/Outlook/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ public RegionInfo MessageLocalId
else
_messageLocalId = new RegionInfo(lcid.Value);
}
catch (Exception exception)
catch (Exception)
{
_messageLocalId = _messageLocalId = new RegionInfo(lcid.Value);
}
Expand Down Expand Up @@ -2101,7 +2101,7 @@ private void SetEmailSenderAndRepresentingSender()
{
Logger.WriteToLog("Parsing sender display name Exchange Active Directory string");

var parts = tempDisplayName.Split(new[] { '/' }, StringSplitOptions.RemoveEmptyEntries);
var parts = tempDisplayName.Split(['/'], StringSplitOptions.RemoveEmptyEntries);
if (parts.Length > 0)
{
// ReSharper disable once UseIndexFromEndExpression
Expand Down

0 comments on commit 54d3c6b

Please sign in to comment.