Screenshot by Lightshot -screenshot
This happened when I grabbed a script from another project of mines put it into unity and tried to open it from there. Any suggestions how to fix it ?
Screenshot by Lightshot -screenshot
This happened when I grabbed a script from another project of mines put it into unity and tried to open it from there. Any suggestions how to fix it ?
Hey I had this same issue. I discovered that the problem was that I had forgotten to import the UnityVS package into this new Unity project. After doing so, this error message was fixed and no longer happened.
I hope this helps if you are still having problems!
Scripts load up now properly.
if you click back on unity, it should notice the new file and regenerate the project. if not, try forcing a rebuild from the “Visual Studio Tools” drop down.
Thank you ,I forget it…
I was having this problem with Unity 2018.2.1f1, but updating Visual Studio Community 2017 to version 15.7.5 fixed it for me (I believe I was at 15.5.X before).