.nupkg consists of the following files/folders:Method1() throws PlatformNotSupportedExceptionMethod1() outputs WinMethod1() outputs LinuxMethod1() is called — everything works as expected.RID and displays the fallback-binary from lib\ folder, where the method just throws, making "Go To Declaration" useless.RID and decompiles runtime-specific binary from runtimes\ folder.RID during package restore: dotnet restore -r win-x64, and unfortunately, it didn't do the trick.