This happened when I updated Unity and I tried to build even without code and says soething about "UnityEditor.Graphs" pls help
Severity Code Description Project File Line Suppression State Warning The primary reference "UnityEditor.Graphs" could not be resolved because it has an indirect dependency on the framework assembly "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5,Profile=Unity Subset v3.5". To resolve this problem, either remove the reference "UnityEditor.Graphs" or retarget your application to a framework version which contains "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Unity.TextMeshPro
BTW I am no profesional programer and this happened when I did the last update and I've tried to used previous versions of unity and the problem is still there thanks for reading. :) ,Severity Code Description Project File Line Suppression State Warning The primary reference "UnityEditor.Graphs" could not be resolved because it has an indirect dependency on the framework assembly "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5,Profile=Unity Subset v3.5". To resolve this problem, either remove the reference "UnityEditor.Graphs" or retarget your application to a framework version which contains "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Unity.TextMeshPro
Answer by jacobalmond · Sep 25, 2018 at 04:56 PM
I was just experiencing the same issue. I solved it by following the suggestion on this thread. (The suggestion is basically to update Visual Studio!)
However, an important thing to note is that after I folllowed the suggestion and I had updated Visual Studio, the error persisted when I re-opened the project's .SLN file and tried to compile it. I thought it hadn't fixed the problem, but then I tried opening one of the scripts from my Unity project directly, and it compiled fine (and the Attach to Unity and Play button worked too).
The .SLN file still seems to suffer from the same symptoms so I am just not going to use it. :)
Yeah after a full day of moving stuff and trying things I just reinstalled my Visual Studio added some extra features and was perfectly fine thank you for the answer. :)
Your answer
Follow this Question
Related Questions
How to properly set up unity for a portrait game? 0 Answers
Why does the canvas scale factor change when instantiating Prefab? 0 Answers
Rewarded Ads give multiple rewards instead of one (Video in the description) 2 Answers
My Unity.exe deleted (Unity 2019.3.11),My Unity.exe was deleted (Unity 2019.3.11) 0 Answers
How can I get a raycast to differentiate between the same object? 0 Answers