-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assembly definition root namespace behaviour #2427
Comments
Could you provide an example, please? This should generate a |
The root namespace in the csproj file is the same as in the assembly definition. The problem is that asmdef parent directories work as namespace providers for the project files. For example, I have two files:
The asmdef has the As a workaround I manually disable the |
Running into this exact problem at the moment as well Is there any workarounds for that? JetBrains Rider 2024.1.2 / Unity 2022.3.30 |
Setting the asmdef root namespace doesn't exclude parent directories from namespace providers. So, it just sets a new namespace prefix.
As I remember, it should replace all parent directories. At least that behaviour is described in the source code comment and I believe it used to work this way.
My environment:
com.unity.ide.rider
3.0.26The text was updated successfully, but these errors were encountered: