You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the latest build of .NET 8 Preview 4 SDK to build the vstest repo, it results in the following analyzer error:
/repos/dotnet/src/vstest/artifacts/source-build/self/src/src/Microsoft.TestPlatform.AdapterUtilities/ManagedNameUtilities/InvalidManagedNameException.cs(14,93): error SYSLIB0051: 'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051) [/repos/dotnet/src/vstest/artifacts/source-build/self/src/src/Microsoft.TestPlatform.AdapterUtilities/Microsoft.TestPlatform.AdapterUtilities.csproj::TargetFramework=net8.0]
This was caught by the Source-build bootstrapping build workflow which uses a source-built version of the latest SDK to build the product's repos.
The text was updated successfully, but these errors were encountered:
@vitek-karas We are multi-targetting our builds to the various tfms. What's the recommended approach here? Shall we exclude all serialization exception ctors for NET8+? Shall we start before that? Shall we ignore this issue at the moment?
When using the latest build of .NET 8 Preview 4 SDK to build the vstest repo, it results in the following analyzer error:
This was caught by the Source-build bootstrapping build workflow which uses a source-built version of the latest SDK to build the product's repos.
The text was updated successfully, but these errors were encountered: