Namespace in generated code
m ((username removed) (log details removed): Moving to Documentation namespace)
(Automatically adding template at the end of the page.)
Line 5: Line 5:
In the Package.AdditionalNamespaces, you can give a comma-separated list of namespaces.
In the Package.AdditionalNamespaces, you can give a comma-separated list of namespaces.
[[Category:C-Sharp]]
[[Category:C-Sharp]]
{{Edited|July|12|2024}}

Revision as of 15:38, 10 February 2024

This page was created by Hans.karlsen@mdriven.net on 2021-08-25. Last edited by Edgar on 2025-01-20.

If you need to add additional namespaces to generated code, there is a property on the package called AdditionalNamespaces.

For code-generated ViewModels, the root class's package's AdditionalNamespaces is used.

In the Package.AdditionalNamespaces, you can give a comma-separated list of namespaces.