Unity Issue Tracker - Files are not included in the “Assembly-CSharp.csproj” file when they are in the Editor folder
Closed
UUM-15873
Files are not included in the “Assembly-CSharp.csproj” file when they are in the Editor folder
Unity: Scripting
As Designed
2023.1.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
This is by design, "Editor" is a special folder -https://docs.unity3d.com/Manual/SpecialFolders.html - and any files under it will be linked to "Assembly-CSharp-Editor" :)
Steps to reproduce:
1. Open the user’s project
2. Notice the “IComponentEditor.cs” script at Assets → Physics → Editor
3. Open the project folder in Finder
4. Open the “Assembly-CSharp.csproj” file
Expected result: Line <Compile Include="Assets/Physics/Editor/IComponentEditor.cs" /> exists
Actual result: The line does not exist