Skip to content

Commit 4b93594

Browse files
Add support for VS2022 (#853)
* Update to PackageReference * Migrage to PackageReferences * Migrate to PackageReferences * Simplify references. * Remove duplicate reference * Add test adapters * Add reference to try to get unit tests to run * Remove unnecessary references * Add skeleton Shared projects * Move files from CodeMaid to CodeMaidShared * Migrate resources and settings to shared * Update copyright statement * Remove empty group * Add skeleton VS2022 project * Remove experimental add * Flesh out links into VS2022 project * Update VS2022 targets * Update RootNamespace This seemed to fix the Resources.resx from the shared project not being available at runtime. * Update BuildTools * Add GetExecutingAssembly prior to any InitializeComponent call for VS2022 * Remove all explicit binding paths since the assembly name varies for VS2022. * Replace usage of FindPattern/ReplacePattern with IFindService (#847) * Replace usage of FindPattern/ReplacePattern with IFindService * Fix replace logic * cleanup * more cleanup * fix NU1605 warnings * fix test project build error * Remove ThreadHelper.ThrowIfNotOnUIThread These prevent Spade from loading which uses asynchronous background parsing for performance. * Fix inverted calculation This looks like it is intending to get the relative line offset, however it was subtracting the line position from the start of the line resulting in a negative number. These should(tm) be inverted so that the start of the line is subtracted from the place on the line. * Dogfood code cleanup via VS2022 * Dogfood code cleanup with VS2022 * Fix threading exceptions when running Solution cleanup (#851) * CodeMaid on CodeMaid * Re-fix inverted calculation Same as * Delete IntegrationTests * Delete IntegrationTests.testsettings * Updates to v12.0 Includes dropping VS2017 support, package upgrades, etc. * Revert 16.0 UI references, still refer to them as 15.0 in latest Co-authored-by: Oleg Tkachenko <olegtk@microsoft.com>
1 parent 46b82eb commit 4b93594

629 files changed

Lines changed: 2246 additions & 20558 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## vNext (11.3)
3+
## vNext (12.0)
44

55
These changes have not been released to the Visual Studio marketplace, but (if checked) are available in preview within the [CI build](http://vsixgallery.com/extension/4c82e17d-927e-42d2-8460-b473ac7df316/).
66

@@ -9,6 +9,7 @@ These changes have not been released to the Visual Studio marketplace, but (if c
99
- [x] [#797](https://github.com/codecadwallader/codemaid/pull/797) - Cleaning: Option to replace existing file headers (vs. default insert) - thanks [lflender](https://github.com/lflender)!
1010
- [x] [#815](https://github.com/codecadwallader/codemaid/pull/815) - Cleaning: Option to place file headers after C# using block - thanks [lflender](https://github.com/lflender)!
1111
- [x] [#828](https://github.com/codecadwallader/codemaid/pull/828) - Reorganizing: Option to include access levels in regions for methods only - thanks [lflender](https://github.com/lflender)!
12+
- [x] [#853](https://github.com/codecadwallader/codemaid/pull/853) - Visual Studio 2022 Support - thanks [olegtk](https://github.com/olegtk) and many others!
1213

1314
- [ ] Fixes
1415
- [x] [#800](https://github.com/codecadwallader/codemaid/pull/800) - Reorganizing: Fix dialog showing literal newline characters

CodeMaid.IntegrationTests/Cleaning/FileTypes/CPlusPlusTests.cs

Lines changed: 0 additions & 106 deletions
This file was deleted.

CodeMaid.IntegrationTests/Cleaning/FileTypes/CSHTMLTests.cs

Lines changed: 0 additions & 106 deletions
This file was deleted.

CodeMaid.IntegrationTests/Cleaning/FileTypes/CSSTests.cs

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)