Skip to content

Commit 1b329aa

Browse files
committed
Keep the original code but disable the warning
In `BinaryMessageFormatter.cs`, we added the `#pragma warning disable SYSLIB0011` directive to suppress warnings about the use of deprecated APIs.
1 parent 32ac6fe commit 1b329aa

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Experimental.System.Messaging/Messaging/BinaryMessageFormatter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
using System.Runtime.Serialization.Formatters;
1111
using System.Runtime.Serialization.Formatters.Binary;
1212

13+
#pragma warning disable SYSLIB0011 // Type or member is obsolete
14+
1315
namespace Experimental.System.Messaging
1416
{
1517
/// <include file='doc\BinaryMessageFormatter.uex' path='docs/doc[@for="BinaryMessageFormatter"]/*' />

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ var queue = new MessageQueue(@"FormatName:Direct=TCP:192.168.1.100\MyPublicQueue
8787

8888
### v1.2.0 (2025-11-30)
8989

90+
- **Local changes**: Miscellaneous local updates ? cleaned up project files (`.csproj`) and updated targeting to `net8.0`, adjusted CI/build workflow and test project compatibility, and made minor documentation edits.
9091
- **Breaking Change**: Changed target framework from `netstandard2.0` to `net8.0`. Since MSMQ is a Windows-only technology, the original cross-platform targeting via .NET Standard was unnecessary. Mono has transitioned to WineHQ, .NET Framework already has native System.Messaging support, and other platforms (Silverlight, UWP, Unity) are not applicable targets for this library.
9192
- **License Correction**: Changed license from MIT to Ms-RL (Microsoft Reciprocal License) to properly comply with the original Microsoft Reference Source license terms.
9293
- **Documentation**: Revised terminology throughout the documentation. Replaced "counterfeit" with "unofficial port" to better reflect the legitimate nature of this community-maintained derivative work.

0 commit comments

Comments
 (0)