Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# 4.0 namespace change many files
Message
 
À
29/03/2011 12:21:49
Information générale
Forum:
ASP.NET
Catégorie:
Solution Explorer
Versions des environnements
Environment:
C# 4.0
Divers
Thread ID:
01505372
Message ID:
01505590
Vues:
63
Oh how I wish. Neither Visual Studio nor Refactor! refactorings support renaming namespaces.

I think there are issues on how these tools can track changes once the namespace actually changes. Making replacements afterwards breaks the Code model in memory. Just a guess, but I'm sure it's occurred to the Refactor! folks before - it if it was more easily doable it could be done.

However, I typically use a search and replace in files and that works fairly well and is quick..

+++ Rick ---

>Bringing in stuff from other people's Prism samples, for example and need to reset namespaces.
>
>VS 2010 - seem to remember there is a clever way to change the namespace on a lot of files at once ( yeah, I know I can do a global search and replace but I thought there might be one place I can sync namespaces - or a 3rd party goody that does it )
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform