Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

C# Project filled with junk files

Discussion in '2018.2 Beta' started by JohnHudeski, Apr 19, 2018.

  1. JohnHudeski

    JohnHudeski

    Joined:
    Nov 18, 2017
    Posts:
    126
    I have noticed lately when I open older projects or make new ones my Solution is filled with so much junk files it makes navigating difficult

    PackageManager being a particularly infuriating solution added to the mix
    But the general bloating of my solution is annoying.
    Is this the case going forward?

    upload_2018-4-19_10-27-1.png
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,459
    Have you tried updating to the latest Visual Studio Tools For Unity? The reason I ask this is because I'm using VS2017 and I had the same but updating to v3.6.0.5 of VSTU solved the issue.
     
    Birudula and JohnHudeski like this.
  3. JohnHudeski

    JohnHudeski

    Joined:
    Nov 18, 2017
    Posts:
    126
    Made no difference
    Strange
    I opened the solution from the unity Asset menu and now it works
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
  5. steffen-itterheim

    steffen-itterheim

    Joined:
    Nov 10, 2015
    Posts:
    24
    Sometimes you just have to re-open the solution to get things fixed on VS side. Happens in particular (or used to?) when adding/removing Assembly Definition references.

    For more nagging issues (particularly when a VSTU update supposedly fixes something, but doesn't) it's best practice to close VS, delete all *.sln and *.csproj from the project folder and then double-click any script file to recreate the solution.
     
  6. JohnHudeski

    JohnHudeski

    Joined:
    Nov 18, 2017
    Posts:
    126
    This happened when opening old or new projects
    Even when the solution or library was deleted
     
  7. McDev02

    McDev02

    Joined:
    Nov 22, 2010
    Posts:
    664
    And how did you do that? I can only find Tools for Unity for 2015 or earlier versions. In VS2017 it shows me no way to Update it. I not just have Junk in the Solution but 90% of the project scripts are missing.
     
  8. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,459
    This post may help you.
     
    McDev02 likes this.