Windows Insider SDK not working since 25936

yoyodyne01 46 Reputation points
2024-03-25T18:02:12.0833333+00:00

I'm trying to build a simple .NET 6.0 app - Just install the 25936 insider preview SDK then create a blank WPF/.NET 6.0 app and add to the .csproj:

<TargetFramework>net6.0-windows10.0.25936.0</TargetFramework><UseWindowsSdkPreview>true</UseWindowsSdkPreview>

It builds and generates the SDK nuget package here:

C:\Users\username.nuget\packages\microsoft.windows.sdk.net.ref\10.0.25936-preview

But that doesn't work for any 26xxx SDK. Download the 26085 preview SDK and change the TFM to

<TargetFramework>net6.0-windows10.0.26085.0</TargetFramework>
And you get:

error NU1102: Unable to find package Microsoft.Windows.SDK.NET.Ref with version (= 10.0.26085-preview)

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,377 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,672 questions
{count} votes

Accepted answer
  1. Hui Liu-MSFT 38,251 Reputation points Microsoft Vendor
    2024-03-29T06:56:00.8+00:00

    Hi,@yoyodyne01.

    Based on your description, you could report requirements for recently released SDK nuget packages here.

    Hope it helps you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful