Hi James,
Thanks for your reply.
I was using the config tool, but do not passing the name of config file in a command line parameter.
I will retry with passing name of config file in a command line and let you know.
Thanks.
---------------
Hi Jmaes,
I have tried and it failed with an error due to two class (small classes) are in a single class file.
I get below error.
Parsed Helpers\ViewStateHelper.cs
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at NArrange.Core.CodeArranger.MoveUsings(List`1 elements, NamespaceElement namespaceElement)
at NArrange.Core.CodeArranger.Arrange(ReadOnlyCollection`1 originalElements)
at NArrange.Core.FileArranger.ArrangeElements(ReadOnlyCollection`1 elements)
at NArrange.Core.FileArranger.ArrangeSourceFile(String inputFile, String outputFile)
at NArrange.Core.FileArranger.Arrange(String inputFile, String outputFile, Boolean backup)
at NArrange.ConsoleApplication.Program.Run(ILogger logger, CommandArguments commandArgs)
at NArrange.ConsoleApplication.Program.Main(String[] args)
Thanks.