Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions MsgReader/MsgReader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The EML reader supports MIME 1.0 encoded files.</Description>
• Fixed OutOfMemory from untrusted RTF uncompressed-size (capped at 100 MB) and unbounded stream reads (capped at 256 MB).
• Fixed crash (IndexOutOfRange) on truncated property records.
⚠ Breaking: ATTACH_BY_REFERENCE attachments are no longer resolved automatically — call ResolveExternalReference() if you need their bytes.</PackageReleaseNotes>
<SignAssembly>False</SignAssembly>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>MSGReader.snk</AssemblyOriginatorKeyFile>
<FileVersion>6.2.0.0</FileVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down Expand Up @@ -103,10 +103,4 @@ The EML reader supports MIME 1.0 encoded files.</Description>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>MsgReaderTests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

</Project>
18 changes: 18 additions & 0 deletions MsgReaderTests/AssemblySigningTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MsgReader.Outlook;

namespace MsgReaderTests
{
[TestClass]
public class AssemblySigningTests
{
[TestMethod]
public void MsgReaderHasExpectedStrongName()
{
var token = typeof(Storage).Assembly.GetName().GetPublicKeyToken();
Assert.IsNotNull(token);
Assert.AreEqual("3B-A0-1C-F3-43-49-59-FA", BitConverter.ToString(token));
}
}
}
4 changes: 2 additions & 2 deletions MsgReaderTests/MsgReaderTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<IsPackable>false</IsPackable>
<AssemblyVersion>3.3.0.0</AssemblyVersion>
<FileVersion>1.3.0.0</FileVersion>
<SignAssembly>false</SignAssembly>
<SignAssembly>true</SignAssembly>
<LangVersion>10.0</LangVersion>
<AssemblyOriginatorKeyFile>..\MsgReaderCore\MSGReader.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\MsgReader\MSGReader.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ It supports all body types there are in MSG files, this includes:

MSGReader has only a few options to manipulate an MSG file. The only option you have is that you can remove attachments and then save the file to a new one.

MSGReader assemblies are strong-name signed with public key token `3ba01cf3434959fa`. The signed assembly has a different identity from earlier unsigned versions, so applications upgrading may need to rebuild their references.

If you realy want to write MSG files then see my MsgKit project on GitHub (https://github.com/Sicos1977/MsgKit)

Read properties from an Outlook (msg) message
Expand Down