Skip to content

[8.0] runtime-extra-platforms: ios and tvos - Trimming assemblies requires .NET Core 3.0 or higher #96793

Closed
@carlossanlop

Description

@carlossanlop

Error Blob

{
  "ErrorMessage": "Trimming assemblies requires .NET Core 3.0 or higher",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

/Users/runner/.dotnet/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. [/Users/runner/work/1/s/src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.csproj] [/Users/runner/work/1/s/src/tests/build.proj]
##[error]/Users/runner/.dotnet/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. [/Users/runner/work/1/s/src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.csproj]
    Nothing to do. None of the projects specified contain packages to restore.
/Users/runner/work/1/s/src/tests/build.proj(543,5): error MSB3073: The command ""/Users/runner/.dotnet/dotnet" restore -r tvos-arm64 Common/XUnitWrapperGenerator/XUnitWrapperGenerator.csproj  /p:SetTFMForRestore=true /p:TargetOS=tvos /p:TargetArchitecture=arm64 /p:Configuration=Release /p:CrossBuild=" exited with code 1.
##[error]src/tests/build.proj(543,5): error MSB3073: The command ""/Users/runner/.dotnet/dotnet" restore -r tvos-arm64 Common/XUnitWrapperGenerator/XUnitWrapperGenerator.csproj  /p:SetTFMForRestore=true /p:TargetOS=tvos /p:TargetArchitecture=arm64 /p:Configuration=Release /p:CrossBuild=" exited with code 1.

Build FAILED.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=521016
Error message validated: Trimming assemblies requires .NET Core 3.0 or higher
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/10/2024 6:05:59 PM UTC

Report

Build Definition Step Name Console log Pull Request
526413 dotnet/runtime Build Tests Log
526231 dotnet/runtime Build Tests Log
526046 dotnet/runtime Build Tests Log
525794 dotnet/runtime Build Tests Log
525544 dotnet/runtime Build Tests Log
525537 dotnet/runtime Build Tests Log
524696 dotnet/runtime Build Tests Log
523644 dotnet/runtime Build Tests Log
523004 dotnet/runtime Build Tests Log
520498 dotnet/runtime Build Tests Log
522376 dotnet/runtime Build Tests Log
521035 dotnet/runtime Build Tests Log
521016 dotnet/runtime Build Tests Log
520561 dotnet/runtime Build Tests Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 11 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-VM-meta-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-iosApple iOSos-tvosApple tvOSruntime-monospecific to the Mono runtime

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions