Skip to main content

@nx-dotnet/core:library

NxDotnet Library Generator#

Generate a dotnet project under the library directory.

Options#

name#

  • (string): The name assigned to the library

tags#

  • (string): Add tags to the project (used for linting)

directory#

  • (string): A directory where the project is placed

template#

  • (string): The template to instantiate when the command is invoked. Each template might have specific options you can pass.

language#

  • (string): Which language should the project use?

testTemplate#

  • (string): Which template should be used for creating the tests project?

standalone#

  • (boolean): Should the project use project.json? If false, the project config is inside workspace.json