Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.4

2019.4.28f1

2020.3

2021.1

2021.2

2022.1

Issue ID

1342170

Regression

No

Folder hierarchy not shown in Visual Studio Solution Explorer when a package is referenced on disk outside the Unity project

CodeEditors

-

How to reproduce:
1. Open the attached project's "case_13427170-Project.zip"
2. In the Project Window, open any of the Scripts (to open the Solution Explorer)
3. In the Visual Studio's Solution Explorer, view the package Assembly that's outside the Unity project

Expected result: Hierarchy with folders and scripts is listed
Actual result: Only files are listed

Reproducible with: 2019.4.28f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b2, 2022.1.0a2

  1. Resolution Note:

    Unfortunately, this is a limitation of Visual Studio itself: when a csproj references files that are not within the project directory, it can't produce a directory tree in the solution explorer.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.