Skip to content

Commit 8f50e5d

Browse files
committed
Acrolinx
1 parent e6d85f0 commit 8f50e5d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/msbuild/errors/msb3823.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This article describes the MSB3823 error code.
3434
-->
3535
## Description
3636

37-
There is a difference in how non-string resources are serialized and deserialized between .NET Framework and .NET Core. In .NET Framework applications, resources are both deserialized and then preserialized, which is not efficient but was meant to handle diverse serialization and deserialization techniques. In .NET Core, the extra steps are avoided. However, you can also opt-in to preserialization for .NET Framework projects, by setting the property mentioned in the error message.
37+
There's a difference in how nonstring resources are serialized and deserialized between .NET Framework and .NET Core. In .NET Framework applications, resources are both deserialized and then preserialized, which isn't efficient, but was meant to handle diverse serialization and deserialization techniques. In .NET Core, the extra steps are avoided. However, you can also opt in to preserialization for .NET Framework projects, by setting the property mentioned in the error message.
3838

3939
## Resolution
4040

docs/msbuild/errors/msb3825.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ This article describes the MSB3825 warning code.
3434
-->
3535
## Description
3636

37-
This warning occurs with .NET 8 and earlier. The .NET type <xref:BinaryFormatter>, previously commonly used for serializing and deserializing arbitrary .NET types, is not considered secure, because it allows arbitrary .NET types to be injected into an assembly via the deserialization process.
37+
This warning occurs with .NET 8 and earlier. The .NET type <xref:BinaryFormatter>, previously commonly used for serializing and deserializing arbitrary .NET types, isn't considered secure, because it allows arbitrary .NET types to be injected into an assembly via the deserialization process.
3838

39-
.NET 9 handles BinaryFormatter using a secure algorithm, so there is no issue when using .NET 9.
39+
.NET 9 handles BinaryFormatter using a secure algorithm, so there's no issue when using .NET 9.
4040

4141
## Resolution
4242

43-
If you upgrade to .NET 9, you won't get this warning and your app won't be exposed to the security risk if it uses `BinaryFormatter`.
43+
If you upgrade to .NET 9, you won't get this warning, and your app won't be exposed to the security risk if it uses `BinaryFormatter`.
4444

4545
For .NET 8 and earlier, see the [migration guide](https://aka.ms/binaryformatter-migration-guide) for alternatives to `BinaryFormatter`.
4646

0 commit comments

Comments
 (0)