RKh
RKh

Reputation: 14161

Correcting Namespace in entire project

Originally few Forms were on the root folder of my Solution Explorer. Later I created a sub-folder and moved these Forms in that folder. Even though the application is working fine, but in few instances it gives NameSpace error.

Old Forms were like:

public partial class contentReportTubeMenu : System.Web.UI.Page

whereas, new forms have:

public partial class subFolderName_contentReportTubeMenu : System.Web.UI.Page

I am using VS-2005. Is there any built-in tool through which I can correct wrong namespaces of all entire project files.

Upvotes: 0

Views: 58

Answers (2)

Daniel Peñalba
Daniel Peñalba

Reputation: 31847

I recommend using Find&Replace tool (Ctrl+H). You can use Regular Expressions to match exactly what you want.

Upvotes: 0

SHug
SHug

Reputation: 688

Try using find and replace?

Ctrl + H

Upvotes: 1

Related Questions