
Adds automatic code clean up option, plus unit test runner now supports exporting test execution results to XML.
Features
- Unit Test Runner - The test runner now supports exporting test execution results to XML:
- Test name, namespace, state, execution duration (if available), and failure details (if the test has failed).
- Use the "Include XML documentation comments in export" to include each test’s XML doc comments in the report.
- Code Cleanup - Use the new Apply Code Cleanup when saving a document option to automatically clean up a file before it is saved.
- HTML and Razor Support - Structural highlighting is now available in HTML, C# Razor, and Aspx files.
- Naming Convention Improvements - Implemented separate naming convention options for private and non-private static fields.
Fixes
- Code Actions - Visual Studio hangs when collecting a list of code actions for a namespace declaration in .Net Core projects
- Code Cleanup throws an error when processing the "Apply built-in type style" rule
- Code Providers - The "Declare Field With Initializer" provider is not available when a constructor uses the "expressing body" syntax
- Code Providers - Implement ISerializable - Constructor should be private on sealed types
- Formatting - Initializer Formatting with a blank line separator has bad indentation
- Formatting - The "Base List->Wrap if long" rule incorrectly works for identifiers with short names
- Formatting - The "Property\Indexer\Event->Wrap if long" rule incorrectly formats setter code
- Formatting - The formatting engine incorrectly handles code constructions inside object initializers
- Formatting - Local functions are formatted incorrectly
- Navigation - Jump To File - The initial filter text should not get text from an identifier under the caret
- Refactorings - The "Reorder parameters" refactoring does not work after upgrade to VS 2017 15.8.0
- Refactorings - The "Implement IEquatable" refactoring on generic classes works incorrectly
- Refactorings - The "Extract String to Resource" refactoring doesn't consider the "Namespace references declaration style" option
- Refactorings - The "Inline Temp" refactoring creates nonsense code
- Templates - The "Stopwatch" template adds additional spaces before the local variable
- Unit Testing - Code Coverage - The progress bar at the bottom of the Code Coverage window keeps scrolling and never stops