Jack Marchetti
Jack Marchetti

Reputation: 15754

(ASP.NET) Automatic way to put all code-behind classes in a namespace

I just converted a WebSite to a Web application and put in a new namespace.

I now need to put all code behind files in this namespace.

is there an automatic way to do it or am I going to have to go to each page and do it manually?

Upvotes: 2

Views: 152

Answers (1)

Jamie Ide
Jamie Ide

Reputation: 49261

I think you're going to have to do it manually. ReSharper helps, although it's somewhat weak when it comes to ASP.NET, and you could use the trial version for a one-time conversion. It's a tedious chore best saved for a Friday afternoon.

Upvotes: 1

Related Questions