Namespace in generated code
m ((username removed) (log details removed): Moving to Documentation namespace)
(Updated Edited template to July 12, 2025.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
If you need to add additional namespaces to generated code, there is a property on the package called AdditionalNamespaces.  
If you need to add additional namespaces to generated code, there is a property on the package called AdditionalNamespaces.  


Line 5: Line 6:
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|2025}}

Latest revision as of 05:53, 20 January 2025

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.