Skip to content

Support for TargetFramework=native0.0 #4318

Closed

Description

@nicholi

Only microsoft "documentation" I can find for this TFM is that it is listed here as a valid name: https://learn.microsoft.com/en-us/nuget/reference/target-frameworks

The last 3 published versions of Microsoft.NET.Test.Sdk have been adding an otherwise empty native0.0 TFM to it's .nuspec. No actual scripts/files seem to be setup with the TFM. Which is resulting in the harmless warning about an unknown platform from paket:

$ dotnet paket install
Paket version 10.3.1+bbc45f336c7f9bac95cf1d17267ab2383d029682
Installing into projects:
Created dependency graph (# packages in total)
Could not detect any platforms from 'native0.0' in '/home/user/.nuget/packages/microsoft.net.test.sdk/17.14.1/microsoft.net.test.sdk.nuspec', please tell the package authors

Pretty much the same as the warning we got for .net10 TFMs prior to .net10 support getting added.

I raised an Issue on their github to get some further clarifications, and it seems like the TFM is intended to be there, even though it does nothing in the actual package (as of right now). As the dev there mentioned it was a necessity for their build process/sln structure, so it won't be going away.

Should support for native get added to paket so it at least recognizes the TFM? As it seems intended to be fully supported by Microsoft, and some packages are beginning to add to it (though I suspect it will be quite rare). Or maybe it should just be explicitly ignored for now?

Otherwise the Microsoft.NET.Test.Sdk package installs just fine, and no issues using any dotnet tests. Just that extra yellow warning on every dotnet paket install.

Activity

  1. nicholi commented on Feb 5, 2026

    @nicholi
    ContributorAuthor

    I had actually totally missed that native is listed as supported framework identifier.

    * Native: `native` or `native({buildmode},{platform})`

    So it seems this is just not getting correctly identified by Paket. Maybe because they are using native0.0 rather than just native? Both are intended to be supported from what I can tell in docs and perusing the F# code. Will eventually try to debugging some more.

  2. changed the title [-]Support for TargetFramework=native[/-] [+]Support for TargetFramework=native0.0[/+] on Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions