[Draft] Foundry Agents: temp PR for net10 migration #54078
Draft
Azure Pipelines / net - pullrequest (Build Test Windows2022_NET100_Coverage_Record_PackageRef_b2)
failed
Nov 21, 2025 in 8m 29s
Build Test Windows2022_NET100_Coverage_Record_PackageRef_b2 failed
Annotations
Check failure on line 66 in Build log
azure-pipelines / net - pullrequest (Build Test Windows2022_NET100_Coverage_Record_PackageRef_b2)
Build log #L66
C:\hostedtoolcache\windows\dotnet\sdk\10.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: Assets file 'D:\a\_work\1\s\artifacts\obj\CodeGenerationLibrary\project.assets.json' doesn't have a target for 'net10.0'. Ensure that restore has run and that you have included 'net10.0' in the TargetFrameworks for your project. [D:\a\_work\1\s\sdk\batch\Microsoft.Azure.Batch\tools\CodeGenerationLibrary\CodeGenerationLibrary.csproj::TargetFramework=net10.0]
Check failure on line 67 in Build log
azure-pipelines / net - pullrequest (Build Test Windows2022_NET100_Coverage_Record_PackageRef_b2)
Build log #L67
C:\hostedtoolcache\windows\dotnet\sdk\10.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: Assets file 'D:\a\_work\1\s\artifacts\obj\ObjectModelCodeGenerator\project.assets.json' doesn't have a target for 'net10.0'. Ensure that restore has run and that you have included 'net10.0' in the TargetFrameworks for your project. [D:\a\_work\1\s\sdk\batch\Microsoft.Azure.Batch\tools\ObjectModelCodeGenerator\ObjectModelCodeGenerator.csproj::TargetFramework=net10.0]
Check failure on line 68 in Build log
azure-pipelines / net - pullrequest (Build Test Windows2022_NET100_Coverage_Record_PackageRef_b2)
Build log #L68
C:\hostedtoolcache\windows\dotnet\sdk\10.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: Assets file 'D:\a\_work\1\s\artifacts\obj\ProxyLayerParser\project.assets.json' doesn't have a target for 'net10.0'. Ensure that restore has run and that you have included 'net10.0' in the TargetFrameworks for your project. [D:\a\_work\1\s\sdk\batch\Microsoft.Azure.Batch\tools\RoslynParser\ProxyLayerParser.csproj::TargetFramework=net10.0]
Check failure on line 76 in Build log
azure-pipelines / net - pullrequest (Build Test Windows2022_NET100_Coverage_Record_PackageRef_b2)
Build log #L76
D:\a\_work\1\s\sdk\batch\Microsoft.Azure.Batch\tests\IntegrationTestCommon\CertificateBuilder.cs(75,40): error SYSLIB0057: 'X509Certificate2.X509Certificate2(byte[], string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057) [D:\a\_work\1\s\sdk\batch\Microsoft.Azure.Batch\tests\IntegrationTestCommon\Microsoft.Azure.Batch.IntegrationTestCommon.csproj::TargetFramework=net10.0]
Check failure on line 77 in Build log
azure-pipelines / net - pullrequest (Build Test Windows2022_NET100_Coverage_Record_PackageRef_b2)
Build log #L77
D:\a\_work\1\s\sdk\batch\Microsoft.Azure.Batch\tests\IntegrationTestCommon\IntegrationTestCommon.cs(114,13): error SYSLIB0014: 'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014) [D:\a\_work\1\s\sdk\batch\Microsoft.Azure.Batch\tests\IntegrationTestCommon\Microsoft.Azure.Batch.IntegrationTestCommon.csproj::TargetFramework=net10.0]
Loading