Skip to content
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

Custom namespaces #79

Closed
BChapoulie opened this issue May 12, 2021 · 3 comments
Closed

Custom namespaces #79

BChapoulie opened this issue May 12, 2021 · 3 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@BChapoulie
Copy link

Hi,

I am developping a solution for a company and to follow the convention I'd like to name my project and have namespaces following the given schema: [Company name].[Project name].
However I can't create a project which name contains a dot in it. I've tried to change the assemblies and namespaces after the creation myself but I don't manage to make it work properly (issue with code generation for scenes at first and then issue with the Editor... even after deletion of it or renaming).
I've search some variables I can set for the .targets but I didn't find anything that seemed to get to what I want.
Is there any possibility to achieve my goal?

Thanks for your help.

@minolo minolo added the help wanted Extra attention is needed label May 17, 2021
@danielcaceresm
Copy link

Hi @BChapoulie !

Sorry for the delay.
You can change the namespace of all existing types, and customize the default namespace for the project. Also you can change the assembly name:

    <RootNamespace>MyWaveProject.Gh79</RootNamespace>
    <AssemblyName>MyWaveProject.Gh79</AssemblyName> 

Sadly, this is not possible now using the versions 3.2.0.7765-preview and 3.2.0.7787-preview, because there is a bug in the package WaveEngine.CodeScene. I have just tested with our last nightly build and it is fixed. We will release a new preview build soon.

The only thing you cannot modify is the name of the projects. As you have indicated the targets use it in a way that must be fixed. We have this bug in our backlog, but I don't know when it will be addressed.

Sorry for the inconvenience.

@BChapoulie
Copy link
Author

Hi,

Thanks for your reply.
The namespace and assembly name aren't really an issue in itself, just I will not follow the company conventions for now. I will keep looking on the updates to see if I can achieve this goal and will not miss to keep this issue updated.

@danielcaceresm
Copy link

Hi @BChapoulie,

The las release (3.3.0.8524-preview) allows to create projects with name containing dots.
I will close the issue, feel free to reopen it if you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants