Ability to generate lib with "last folder name" different from project name #834
jvskriubakken
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When generating a lib I would like to be able to give the lib a shorter folder name than project name
However the lib generator, given the following arguments:
nx g @nx-dotnet/core:lib app-a-cs-feature-a --language=C# --template=classlib --testTemplate=none --directory=app-a/cs
generates:
I do not like the whole path to the lib being prefix to the "last-folder-name". I would like to avoid that, but as I experience, nx-dotnet resolves the project name from the last folder name, if not the project name is specified in a project.json. Maybe nx-dotnet should resolve the project name from the name of the .csproj file instead?
Beta Was this translation helpful? Give feedback.
All reactions