After creating an assembly definition in unity, the editor signature in rider disappeared. How to return it without deleting the assembly definition?





0
6 comments

Hello,

Do the screenshots display the same view of the Explorer window? Could you please provide a screenshot of a full IDE window, please?

0

Hello, the pictures show the same project and the same folder

First before creating the assembly definition file, and then after

 

 

 

 

 

 

0

Hello,

Thank you for clarification. Regrettably, I still can't reproduce this behavior. Would you please the steps you took that have lead to project names disappearing?

Also please check if the Show Project Names setting is enabled in the Explorer window options menu (it should be enabled by default)

 

0

Hello.

I don't like the solution I came up with because it's not a solution but a problem.

I need a build definition file to reference a Unity project for writing unit tests.

You can check the error in the project I have attached. It contains the GameAssembly.asmdef file, if it is deleted, the Editor's plate is returned. I need the file itself, because without it you cannot write unit tests

https://disk.yandex.ru/d/6ShC1gqJ8v0StA

0

Hello,

Thank you for the example project. You observe this behavior because the assembly definition file is placed at the root of the Assets folder, which means that you have all the files in a single project defined by this asmdef. Rider shows these project name labels to indicate which assemblies are located in a particular directory/tree. If everything is in one project and no other assemblies are defined. So from the project model standpoint, your solution contains only one project. If no asmdef is present at the root of the folder, the Editor label is displayed for the Editor folder because Unity automatically generates a project for the Editor folder, it doesn't happen when the Editor folder is included in a custom assembly definition.

Please let me know if you have any further questions.

0

Please sign in to leave a comment.