Visual Studio macro to read compilation errors and fix implicit conversions automatically in VB.NET
- by eckesicle
I am converting a large project in VB.NET that is using Option Strict Off into Option Strict On
Naturally I am running into the same compilation error over and over.
Strict On does not allow implicit conversion from Object to String/Integer/Double
Is it possible to to access the compilation errors with a macro and automatically append .ToString() to the erroneous implicit conversion.
Essentially my question is a duplicate off http://stackoverflow.com/questions/2532340/tools-to-convert-option-strict-off-code-into-option-strict-on but that question had no answers.
Cheers.