How get the default namespace of project csproj (VS 2008)
问题 I have VS 2008 and csproj project (C# Library). In properties of project, has an assembly name, and default namespace. Note: each class has a namespace. Is it possible, in runtime, get the value of default namespace ?? My target is use resources, and I need default namespace's value: Assembly assembly = Assembly.GetExecutingAssembly(); //foreach (string resourceName in assembly.GetManifestResourceNames()){} Stream syntaxModeStream = assembly.GetManifestResourceStream(pathToResources + "