Specify platform specific framework version
Currently playing around with the Bluetooth component of https://github.com/inthehand/32feet
But I cant get it to run in Linqpad 7 as the portable version of the package is loaded, and this version does not have the features I'm interested in.
Is there a way to specify a more specific framework for the query so the correct nuget package build is loaded, as done in a csproj (<TargetFramework>net6.0-windows7.0</TargetFramework>
) ?
I suppose the windows specific versions only really make sense here, given LP only runs on windows....
Comments
Having a similar issue, did you ever figure out how to set the TargetFramework? Joe, is this possible?
No I did not find a way unfortunately.
For NuGet package resolution, LINQPad uses the following target framework:
net{version1}-windows-{version2}
version1 is the .NET version you select in the toolbar dropdown
version2 is your Windows version as returned by
Environment.OSVersion.Version
, such as 10.0.22631.0