Gonzo Gonschior
Gonzo Gonschior

Reputation: 33

how to create folders in a C# class library

I want to build a class library with folders representing a namespace structure. When I import my class library into a project I can only see classes on the root level. No classes within folders are part of the class library anymore. Did I miss something?

Upvotes: 0

Views: 599

Answers (1)

Neil
Neil

Reputation: 11919

In Solution Explorer, press the "Show All Files" button.

enter image description here

Folders not included in the project will now appear, but be greyed out. Find the folders with the missing classes, right click and choose 'Include In Project'.

Upvotes: 1

Related Questions