Skip to content

error NU1202: ___ does not support any target frameworks #228

Answered by Noggog
Noggog asked this question in Q&A
Discussion options

You must be logged in to vote

So far this typically is due to a corrupt local Nuget cache, which is the system that downloads the libraries patchers use when building.

Steps to try:

  • Close Synthesis
  • Open a command line
  • run dotnet nuget locals all -l
    This should return some output like this:
http-cache: C:\Users\Leviathan1753\AppData\Local\NuGet\v3-cache
global-packages: C:\Users\Leviathan1753\.nuget\packages\
temp: C:\Users\Leviathan1753\AppData\Local\Temp\NuGetScratch
plugins-cache: C:\Users\Leviathan1753\AppData\Local\NuGet\plugins-cache

This is where Nuget stores all its local files, some of which might be corrupt.

  • To purge them, run dotnet nuget locals all -c
    This will clear out all the folders listed above, so…

Replies: 1 comment

Comment options

Noggog
Oct 9, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by Noggog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant