winget-cli
winget-cli copied to clipboard
Microsoft.WindowsPackageManager.InProcCom NuGet package incorrectly listed as requiring .NETFramework
Brief description of your issue
When importing the package into a project via PackageReference, NuGet seems to think that it only supports .NETFramework,Version=v0.0.
NuGet.org similarly does not show native as a supported framework on the Frameworks tab.
I suspect this may be due to the lack of a build/native folder with an appropriate .props or .targets file to reference the included .winmd.
Steps to reproduce
- View NuGet listing for the package and nav to Frameworks tab
- View NuGet package contents: https://nuget.info/packages/Microsoft.WindowsPackageManager.InProcCom/1.8.1911
- Create a C++ project and import via PackageReference
Expected behavior
Package supports native as a target framework.
Actual behavior
Package only supports .NET Framework as a target framework.
Environment
n/a