Unity 3.5 framework DLL library compile error.

The project use to compile a long time ago. I don’t know if it is due to Unity update and something get removed, I get error when try to compile it today.

Your project does not reference “.NETFramework,Version=v3.5,Profile=Unity Subset v3.5” framework. Add a reference to “.NETFramework,Version=v3.5,Profile=Unity Subset v3.5” in the “TargetFrameworks” property of your project file and then re-run NuGet restore.

I don’t know what this error means, the project setting already have Unity 3.5 .net subset base class selected for the target frameworks property. There is no package in nuget to restore. The project don’t use other nuget library.

nvm, just Visual Studio issue. Fixed by clearing cache files and do a full rebuild.