© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
2 replies
Indeed
❔ .net cli use file-scoped namespace
Hi
!
Is there a way for the dotnet cli to use file
-scoped namespaces
? I have
.net 7
+ c
# 11 project but it does not do that sadly
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ Roslyn: Get file scoped namespace
C
C# / help
2y ago
✅ Namespace?
C
C# / help
3y ago
✅ namespace does not correspond to file location
C
C# / help
7mo ago
✅ ASP.NET Core DI: DbContext Not Shared in Scoped Services
C
C# / help
7mo ago