Using Visual Studio (2010), you can somehow combine Find All References
with the Replace All
feature.
I have inherited the VB.NET code written by the VB6 programmer, and I want to remove all references to IIF
and many other VB6 functions, as they cause several problems.
Does CodeRush or Resharper support this feature? It seems I could not find any documentation about this if they did.
Some of the functions that I can remove with the usual find and replace
, but others are more difficult to create a regular expression for.
I tried to remove the link to the Microsoft.VisualBasic.dll file, but the number of errors is very significant (the code was just copied for each new class created)
source share