Skip to content

#2344 Upgrade solutions to Visual Studio 2026 format#2354

Merged
raman-m merged 11 commits intodevelopfrom
2344-upgrade-to-vs2026
Jan 29, 2026
Merged

#2344 Upgrade solutions to Visual Studio 2026 format#2354
raman-m merged 11 commits intodevelopfrom
2344-upgrade-to-vs2026

Conversation

@raman-m
Copy link
Copy Markdown
Member

@raman-m raman-m commented Jan 23, 2026

Closes #2344

Proposed Changes

  • Added new net10.0 TFM ❗ Example here → Ocelot.csproj
  • Added new .slnx files for Visual Studio 2026 ❗
  • Updated all packs to the latest versions including Microsoft.* packs ❗
  • Fixed and stabilized tests after addressing new behavior introduced in the latest system packages, resolving frequent cucumber test failures
  • Removed the deprecated StyleCop analyzer since Visual Studio IDE analyzers and .NET SDK CS analyzers work fine in VS2026
  • Updated all packages.lock.json files for build restore caching in CI/CD

@raman-m raman-m self-assigned this Jan 23, 2026
@raman-m raman-m added DevOps DevOps tasks: CI-CD, environments, and other scripts, configurations Core Ocelot Core related or system upgrade (not a public feature) NET10 .NET 10 release labels Jan 23, 2026
@raman-m raman-m added this to the .NET 10 milestone Jan 23, 2026
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Jan 23, 2026

Coverage Status

coverage: 93.632% (+0.1%) from 93.509%
when pulling 8eb0926 on 2344-upgrade-to-vs2026
into 55095d8 on develop.

@raman-m raman-m requested review from RaynaldM and ggnaegi and removed request for RaynaldM January 23, 2026 16:36
@raman-m raman-m merged commit 9f56430 into develop Jan 29, 2026
2 checks passed
@raman-m raman-m deleted the 2344-upgrade-to-vs2026 branch January 29, 2026 07:38
raman-m added a commit that referenced this pull request Jan 29, 2026
* Update all packs that include the new net10.0 TFM in the stack
* Prevent ArgumentNullException in DefaultMemoryCache<T>
* Fix tests by refactoring merging process when collection options are empty in opt creators
* Fix unit tests
* New solution files for Visual Studio 2026 and .NET 10 SDK
* Avoid analyzing the code with StyleCop.Analyzers, as the package is no longer developed or supported
* Reorganize MessageInvokerPoolTests
* ShouldHighlyLoadOnUnstableKubeProvider_WithRoundRobinLoadBalancing for discoveryType: PollKube
* Improve code coverage
* Update build.cake
* Update workflows
raman-m added a commit that referenced this pull request Feb 9, 2026
* Warning ASPDEPR008: 'IWebHostBuilder.Build()' is obsolete: 'IWebHost is obsolete. Use IHost instead.
For more information, visit https://aka.ms/aspnet/deprecate/008
raman-m added a commit that referenced this pull request Feb 9, 2026
* Warning ASPDEPR008: 'IWebHostBuilder.Build()' is obsolete: 'IWebHost is obsolete. Use IHost instead.
  For more information, visit https://aka.ms/aspnet/deprecate/008
raman-m added a commit that referenced this pull request Feb 25, 2026
* Dispose pattern for logging and Kube polling
* Fix HeaderTests to work seamlessly across .NET 8, 9, 10 frameworks
* Don't fail the build if code coverage drops below the threshold
* Re-enable problematic tests
* Fix xUnit1051 warnings
* Bump Ocelot.Testing pack to 25.0.0-beta.2
* Redesign PollKube discovery utilizing PeriodicTimer
* Skip PollKube tests that are still in development
* Fix line endings issue in values expected as strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Ocelot Core related or system upgrade (not a public feature) DevOps DevOps tasks: CI-CD, environments, and other scripts, configurations NET10 .NET 10 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update solutions to support the Visual Studio 2026 IDE project/solution format of ver. 18.x+

2 participants