Skip to content

Unable to build System.Runtime.WindowsRuntime #33721

Description

@stephentoub

I just did a clean, sync, and full rebuild. When I now try to build System.Runtime.WindowsRuntime, I get this error:

d:\repos\runtime\src\libraries\System.Runtime.WindowsRuntime\src>d:\repos\runtime\dotnet msbuild /t:rebuild
D:\repos\runtime\.dotnet
Microsoft (R) Build Engine version 16.6.0-preview-20126-02+13cfe7fc5 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\stoub\.nuget\packages\microsoft.dotnet.build.tasks.targetframework.sdk\5.0.0-beta.20167.1\build\Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.targets(84,5): error : Not able to find a compatible supported target framework for netstandard1.0 in Project System.Runtime.WindowsRuntime.csproj. The Supported Configurations are netcoreapp5.0, netstandard2.0 [d:\repos\runtime\src\libraries\System.Runtime.WindowsRuntime\src\System.Runtime.WindowsRuntime.csproj]
C:\Users\stoub\.nuget\packages\microsoft.dotnet.build.tasks.targetframework.sdk\5.0.0-beta.20167.1\build\Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.targets(84,5): error : Not able to find a compatible supported target framework for netstandard1.2 in Project System.Runtime.WindowsRuntime.csproj. The Supported Configurations are netcoreapp5.0, netstandard2.0 [d:\repos\runtime\src\libraries\System.Runtime.WindowsRuntime\src\System.Runtime.WindowsRuntime.csproj]
  Restore completed in 42.75 ms for d:\repos\runtime\src\libraries\restore\winrt\winrt.depproj.
  Restore completed in 8.25 ms for d:\repos\runtime\src\libraries\restore\winrt\winrt.depproj.

cc: @Anipik, @ViktorHofer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions