Skip to content

Update snippet TFMs from .NET 6 to .NET 8 #13431

Update snippet TFMs from .NET 6 to .NET 8

Update snippet TFMs from .NET 6 to .NET 8 #13431

Triggered via pull request November 22, 2024 23:29
Status Failure
Total duration 15m 21s
Artifacts

snippets5000.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
snippets-build: docs/standard/serialization/snippets/binaryformatter-event-source/csharp/Program.cs#L63
D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\Program.cs(63,13): error SYSLIB0011: 'BinaryFormatter' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011) [D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\binaryformatter-event-source.csproj]
snippets-build: docs/standard/serialization/snippets/binaryformatter-event-source/csharp/Program.cs#L63
D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\Program.cs(63,45): error SYSLIB0011: 'BinaryFormatter' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011) [D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\binaryformatter-event-source.csproj]
snippets-build: docs/standard/serialization/snippets/binaryformatter-event-source/csharp/Program.cs#L74
D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\Program.cs(74,13): error SYSLIB0011: 'BinaryFormatter' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011) [D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\binaryformatter-event-source.csproj]
snippets-build: docs/standard/serialization/snippets/binaryformatter-event-source/csharp/Program.cs#L74
D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\Program.cs(74,45): error SYSLIB0011: 'BinaryFormatter' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011) [D:\a\docs\docs\docs\standard\serialization\snippets\binaryformatter-event-source\csharp\binaryformatter-event-source.csproj]
snippets-build: samples/snippets/csharp/VS_Snippets_CLR/conceptual.formatting.overview/cs/icustomformatter1.cs#L27
D:\a\docs\docs\samples\snippets\csharp\VS_Snippets_CLR\conceptual.formatting.overview\cs\icustomformatter1.cs(27,31): error CS0121: The call is ambiguous between the following methods or properties: 'BitConverter.GetBytes(Half)' and 'BitConverter.GetBytes(short)' [D:\a\docs\docs\samples\snippets\csharp\VS_Snippets_CLR\conceptual.formatting.overview\cs\Formatting-Overview.csproj]
snippets-build: samples/snippets/csharp/VS_Snippets_CLR/conceptual.formatting.overview/cs/icustomformatter1.cs#L35
D:\a\docs\docs\samples\snippets\csharp\VS_Snippets_CLR\conceptual.formatting.overview\cs\icustomformatter1.cs(35,31): error CS0121: The call is ambiguous between the following methods or properties: 'BitConverter.GetBytes(Half)' and 'BitConverter.GetBytes(short)' [D:\a\docs\docs\samples\snippets\csharp\VS_Snippets_CLR\conceptual.formatting.overview\cs\Formatting-Overview.csproj]
snippets-build: samples/snippets/visualbasic/VS_Snippets_Misc/cancellation/vb/cancellationex1.vb#L7
D:\a\docs\docs\samples\snippets\visualbasic\VS_Snippets_Misc\cancellation\vb\cancellationex1.vb(7,8): error BC30179: module 'Example' and class 'Example' conflict in namespace 'cancellation'. [D:\a\docs\docs\samples\snippets\visualbasic\VS_Snippets_Misc\cancellation\vb\cancellation.vbproj]
snippets-build: samples/snippets/visualbasic/VS_Snippets_Misc/cancellation/vb/cancellationex4.vb#L8
D:\a\docs\docs\samples\snippets\visualbasic\VS_Snippets_Misc\cancellation\vb\cancellationex4.vb(8,7): error BC30179: class 'Example' and module 'Example' conflict in namespace 'cancellation'. [D:\a\docs\docs\samples\snippets\visualbasic\VS_Snippets_Misc\cancellation\vb\cancellation.vbproj]
snippets-build: samples/snippets/visualbasic/VS_Snippets_Misc/cancellation/vb/objectcancellation1.vb#L20
D:\a\docs\docs\samples\snippets\visualbasic\VS_Snippets_Misc\cancellation\vb\objectcancellation1.vb(20,8): error BC30179: module 'Example' and class 'Example' conflict in namespace 'cancellation'. [D:\a\docs\docs\samples\snippets\visualbasic\VS_Snippets_Misc\cancellation\vb\cancellation.vbproj]
snippets-build
Process completed with exit code 1.