Skip to content

Added support for Visual Studio 2026 - #1716

Merged
RalfKoban merged 91 commits into
masterfrom
VS2026
Jun 8, 2026
Merged

Added support for Visual Studio 2026#1716
RalfKoban merged 91 commits into
masterfrom
VS2026

Conversation

@RalfKoban

@RalfKoban RalfKoban commented Nov 12, 2025

Copy link
Copy Markdown
Owner
  • Add support for Visual Studio 2026

  • Switch test project to .NET 10

(resolves #1515)

@RalfKoban RalfKoban moved this to In progress in MiKo Analyzers Nov 12, 2025
@RalfKoban
RalfKoban requested a review from Copilot November 12, 2025 15:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for Visual Studio 2026 to the MiKo-Analyzers project by creating new project variants and updating package dependencies to accommodate the next major version of Visual Studio.

Key Changes:

  • Created new VS2026-specific project files (MiKo.Analyzer.2026, MiKo.Analyzer.CodeFixes.2026, MiKo.Analyzer.Package.2026, MiKo.Analyzer.Vsix2026)
  • Updated package references to Roslyn 5.0 preview and .NET 10.0
  • Extended conditional compilation directives throughout shared code to include VS2026 support

Reviewed Changes

Copilot reviewed 38 out of 38 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
appveyor.yml Updated CI build image from VS2022 to VS2026
README.md Updated documentation to include VS2026 support
MiKo.Analyzer.sln Added new VS2026 projects to solution structure
MiKo.Analyzer.Vsix2026/* New VSIX extension project for VS2026
MiKo.Analyzer.Package.2026/* New NuGet package project for VS2026
MiKo.Analyzer.Codefixes.2026/* New code fixes project for VS2026
MiKo.Analyzer.2026/* New analyzer project for VS2026
MiKo.Analyzer.Tests/MiKo.Analyzer.Tests.csproj Updated test framework to .NET 10.0
MiKo.Analyzer.Shared/* Extended conditional compilation to support both VS2022 and VS2026
MiKo.Analyzer.2022/* Updated package version constraints to use version ranges
BenchmarkConsole/BenchmarkConsole.csproj Updated Roslyn package to 5.0 preview

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread MiKo.Analyzer.sln Outdated
@RalfKoban
RalfKoban requested a review from Copilot November 12, 2025 15:47

This comment was marked as resolved.

@RalfKoban RalfKoban added the waiting for 3rd party Issue currently cannot be solved as it depends on a 3rd party tool label Jan 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 47 out of 47 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread MiKo.Analyzer.Package.2026/ReadMe.txt Outdated
Comment thread MiKo.Analyzer.2026/ReadMe.txt Outdated

<ItemGroup>
<ProjectReference Include="..\MiKo.Analyzer.2026\MiKo.Analyzer.2026.csproj" />
<ProjectReference Include="..\MiKo.Analyzer.Codefixes.2026\MiKo.Analyzer.Codefixes.2026.csproj" />

Copilot AI Apr 29, 2026

Copy link

Choose a reason for hiding this comment

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

The 2026 package project references a CodeFixes csproj path that does not exist in the repo (the actual file is MiKo.Analyzer.CodeFixes.2026.csproj with capital F). This will break builds on case-sensitive file systems and tooling that validates project references. Update the ProjectReference to match the real filename.

Suggested change
<ProjectReference Include="..\MiKo.Analyzer.Codefixes.2026\MiKo.Analyzer.Codefixes.2026.csproj" />
<ProjectReference Include="..\MiKo.Analyzer.CodeFixes.2026\MiKo.Analyzer.CodeFixes.2026.csproj" />

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

fixed

Comment thread MiKo.Analyzer.sln
Comment thread README.md Outdated
Comment thread MiKo.Analyzer.Package.2026/MiKo.Analyzer.Package.2026.csproj Outdated
@RalfKoban RalfKoban removed the waiting for 3rd party Issue currently cannot be solved as it depends on a 3rd party tool label Jun 8, 2026
@RalfKoban RalfKoban moved this from On hold to In progress in MiKo Analyzers Jun 8, 2026
@RalfKoban
RalfKoban merged commit dd4923f into master Jun 8, 2026
1 check passed
@RalfKoban
RalfKoban deleted the VS2026 branch June 8, 2026 08:08
@github-project-automation github-project-automation Bot moved this from In progress to Done in MiKo Analyzers Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add support for Visual Studio 2026

2 participants