Brian
Brian

Reputation: 45

How do you rename a folder/directory in your project solution in Visual Studio 2022?

I feel like this should be extremely straightforward and I'm not finding the options.

Every time I add a new folder to the solution it just creates it with the name "NewFolder" and I can't see an option to rename it.

Upvotes: 0

Views: 283

Answers (1)

Brian
Brian

Reputation: 45

I found my answer. I believe Visual Studio prevents you from renaming a folder until you build the solution (for .NET). I built the solution and then was given the option to rename after right-clicking the folder...

Upvotes: 1

Related Questions