Skip to content

Conversation

@chullybun
Copy link
Collaborator

  • Enhancement: The Common-project related code-generated artefacts have all been updated to leverage global using and file scoped namespace declarations.
    • A new GlobalUsings.cs will need to be manually added to existing Common projects to enable; see this for an example and alter the last two namespaces accordingly.
    • The *.Common.csproj will need to be manually updated to include <LangVersion>Preview</LangVersion> and <ImplicitUsings>true</ImplicitUsings>.

- *Enhancement:* The `Common`-project related code-generated artefacts have all been updated to leverage `global using` and file scoped namespace declarations.
  - A new [`GlobalUsings.cs`](./templates/Beef.Template.Solution/content/Company.AppName.Common/GlobalUsings.cs) will need to be manually added to existing `Common` projects to enable; see [this](./templates/Beef.Template.Solution/content/Company.AppName.Common/GlobalUsings.cs) for an example and alter the last two namespaces accordingly.
  - The `*.Common.csproj` will need to be manually updated to include `<LangVersion>Preview</LangVersion>` and `<ImplicitUsings>true</ImplicitUsings>`.
@chullybun chullybun merged commit c89fe3b into master Oct 16, 2024
@chullybun chullybun deleted the v5.17.0 branch October 16, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant