IntentArchitect / Support

A repository dedicated to handling issues and support queries
3 stars 0 forks source link

CSharpFileBuilder - File scoped namespaces #51

Closed Magicza closed 1 year ago

Magicza commented 1 year ago

Ask a question

Are file scoped namespaces for csharp supported by the new builder?

garethbaars commented 1 year ago

Hi @Magicza,

While the CSharpFileBuilder doesn't explicitly support file scoped namespaces, you can use the Roslyn Weaver Settings (under the application's Settings tab) to control your preference throughout your project via the Namespace Declaration Style property.

Please see image below: image

After setting it to Prefer use of file scoped namespace declarations, you'll need so save and rerun the Software Factory Execution.

Hope this helps.

Magicza commented 1 year ago

Perfect thanks for the feedback