Skip to content

Conversation

@darthtrevino
Copy link
Contributor

@darthtrevino darthtrevino commented Jul 1, 2025

This PR follows up with #1640.

The issues referenced in that PR have all been resolved, but I needed to make a few changes to get slnx parsing working, including:

  • Bump TargetFramework to net9.0 in the CommandLine project
  • Bump RoslynVersion to 4.14.0
  • Include Microsoft.Build in the CommandLine project.

It's been a while since I've worked in a .NET project, so you might want to double-check my changes, and make sure this will work for users in .net 7 and 8 environments.

fixes #1639

@darthtrevino
Copy link
Contributor Author

@dotnet-policy-service agree company="Microsoft"

darthtrevino and others added 3 commits July 1, 2025 11:46
commit 219124e
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 22:02:34 2025 -0700

    dotnet format

commit f721781
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 21:57:24 2025 -0700

    add pragma disable

commit b645a59
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 21:47:40 2025 -0700

    remove net7.0 targets (deprecated)

commit 85b7920
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 21:42:00 2025 -0700

    conditional Microsoft.Build import

commit 7ce673f
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 21:20:28 2025 -0700

    drop net7.0

commit f26dd93
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 21:08:32 2025 -0700

    update dotnet 9.0.x install

commit c8f9262
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 21:02:57 2025 -0700

    leave roslynator.sln

commit 88581a4
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 20:55:47 2025 -0700

    test fix

commit 922110c
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 20:44:34 2025 -0700

    fix lint issue

commit 4782f89
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 20:41:52 2025 -0700

    fix lint violation

commit cf5a4ed
Merge: 27d7848 1384df8
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 20:36:51 2025 -0700

    Merge branch 'dathtrevino/feat/slnx_support' into task/slnx_everything

commit 27d7848
Author: Chris Trevino <chtrevin@microsoft.com>
Date:   Tue Jul 1 11:43:53 2025 -0700

    slnx everything
@josefpihrt
Copy link
Collaborator

Hey @darthtrevino,

Thank your for the PR.

If I may ask you please don't mix support for slnx in command-line tool with migrating this project to slnx. If you would like to migrate this project to slnx please open an issue first and discuss it. Thanks.

@darthtrevino
Copy link
Contributor Author

Yep, sure thing, I'll revert those changes

Copy link
Collaborator

@josefpihrt josefpihrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update changelog, also mentioning that Roslyn version was bumped for CLI (you can find it in changelog mentioned before).

@josefpihrt josefpihrt merged commit 6c761a6 into dotnet:main Aug 24, 2025
17 checks passed
@josefpihrt
Copy link
Collaborator

@darthtrevino Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support the .slnx Solution File Format in Roslynator CLI

3 participants