Search Unity

VS Warnings. How do I get rid of "Could not locate assembly"

Discussion in 'Scripting' started by Thimble2600, Sep 22, 2017.

  1. Thimble2600

    Thimble2600

    Joined:
    Nov 27, 2015
    Posts:
    165
    Hi there,

    I've noticed I have a staggering amount of Warnings so I'm cutting down on unused codes. One particular warning I'm getting over and over however is

    "Could not resolve this reference. Could not locate the assembly "Boo.Lang". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors."

    Google searches indicate that it's likely to do with the project folder's location changing. I keep my projects in my OneDrive folder and this hasn't changed since the project was created. Is it possible the files being synced online could be causing trouble?

    If anyone has any ideas on how I can remove this warning, please do share.
     
  2. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    You probably just deleted a script written in Boo and your Visual Studio solution is holding onto the reference that Unity is no longer updating. In Visual Studio, on the right hand side by your scripts, click on References, right click on Boo.Lang and choose Remove. Do this for all your projects (Editor, First Pass, etc.) if you have them in your solution.

    That should clear it up.