-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with target framework moniker #379
Comments
There are some threads like dotnet/sdk#14553 - I have no idea how to fix this (they claim the TFMs are equivalent). If you come across an actionable thread please let me know. |
I checked a couple others: https://www.nuget.org/packages/ModernWpfUI/0.9.7-preview.2#supportedframeworks-body-tab Those all have -windows7.0 |
Ran a quick test with ILSpy - which is targeting net6.0-windows (see ILSpy.csproj). I cleaned out all bin/obj directories, and then went into C:\Users\YOURUSERNAMEHERE.nuget\packages\avalonedit\6.1.3.50\lib and deleted everything but the net6.0-windows7.0 directory. Then hit Rebuild. The build works a-ok, and ILSpy.deps.json shows me the following after Build:
|
Manual installation of RoslynPad and building it later (after nuget cache it inside .nuget directory) also works for me. Something is broken inside VS<->NuGet. Visual Studio simple down't download RoslynPad.Editor.Windows) May be it is only for Visual Studio? |
Recently I detected problem with TargetFrameworkMoniker in RoslynPad. It have only net6.0-windows7 and cannot be used in standard net6.0-windows projects. roslynpad/roslynpad#450
AvalonEdit nuget also has net6.0-windows7 and net5.0-windows7 target framework moniker which will be not consumed by projects with net6.0-windows moniker - they will use netcoreapp3.1. AvalonEdit project itself has correct net6.0-windows target framework moniker, but nuget package has other monikers, why?
The text was updated successfully, but these errors were encountered: