-
Notifications
You must be signed in to change notification settings - Fork 0
V5.0.0/dotnet ten launch #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c594228
e716598
92b7fc8
2ab2f99
d570df3
1d615ca
cb90457
bc83052
90e8023
7d57107
4ab822a
7cfdc02
fcd5517
7161105
cea12ee
e05e956
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Availability: .NET 9, .NET 8 and .NET Standard 2.0 | ||
| Availability: .NET 10, .NET 9 and .NET Standard 2.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Availability: .NET 9 and .NET 8 | ||
| Availability: .NET 10 and .NET 9 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -27,7 +27,7 @@ jobs: | |||||
| strategy: | ||||||
| matrix: | ||||||
| configuration: [Debug, Release] | ||||||
| uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v2 | ||||||
| uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v3 | ||||||
| with: | ||||||
| projects: src/**/*.csproj | ||||||
| configuration: ${{ matrix.configuration }} | ||||||
|
|
@@ -42,7 +42,7 @@ jobs: | |||||
| strategy: | ||||||
| matrix: | ||||||
| configuration: [Debug, Release] | ||||||
| uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v2 | ||||||
| uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v3 | ||||||
| with: | ||||||
| configuration: ${{ matrix.configuration }} | ||||||
| version: ${{ needs.build.outputs.version }} | ||||||
|
|
@@ -55,19 +55,20 @@ jobs: | |||||
| matrix: | ||||||
| os: [ubuntu-24.04, windows-2022] | ||||||
| configuration: [Debug, Release] | ||||||
| uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v2 | ||||||
| uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v3 | ||||||
| with: | ||||||
| projects: test/**/*.csproj | ||||||
| configuration: ${{ matrix.configuration }} | ||||||
| runs-on: ${{ matrix.os }} | ||||||
| verbosity-level: normal | ||||||
| build-switches: -p:SkipSignAssembly=true | ||||||
| restore: true | ||||||
| build: true | ||||||
|
|
||||||
| sonarcloud: | ||||||
| name: call-sonarcloud | ||||||
| needs: [build,test] | ||||||
| uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v2 | ||||||
| uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v3 | ||||||
| with: | ||||||
| organization: geekle | ||||||
| projectKey: bootstrapper | ||||||
|
|
@@ -85,15 +86,15 @@ jobs: | |||||
| codeql: | ||||||
| name: call-codeql | ||||||
| needs: [build,test] | ||||||
| uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v2 | ||||||
| uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v3 | ||||||
| permissions: | ||||||
| security-events: write | ||||||
|
|
||||||
| deploy: | ||||||
| if: github.event_name != 'pull_request' | ||||||
| name: call-nuget | ||||||
| needs: [build, pack, test, sonarcloud, codecov, codeql] | ||||||
| uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1 | ||||||
| uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v2 | ||||||
|
||||||
| uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v2 | |
| uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v3 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,8 @@ An open-source family of assemblies (MIT license) that provide a uniform and con | |||||
|
|
||||||
| Also, common for all, is the implementation of the `IHostedService` interface; this means that all project types, including the traditional `console`, now have option for graceful shutdown should your application require this (cronjob scenarios or similar). | ||||||
|
|
||||||
| Your versatile Bootstrapper companion for modern development with `.NET 9` and `.NET 10`. | ||||||
|
|
||||||
|
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Standardize version ordering: list newest version first. Same issue as in the Worker README. The version order should list Apply this diff: 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| It is, by heart, free, flexible and built to extend and boost your agile codebelt. | ||||||
|
|
||||||
| ## Codebelt.Bootstrapper.Console | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,8 @@ An open-source family of assemblies (MIT license) that provide a uniform and con | |||||||
|
|
||||||||
| Also, common for all, is the implementation of the `IHostedService` interface; this means that all project types, including the traditional `console`, now have option for graceful shutdown should your application require this (cronjob scenarios or similar). | ||||||||
|
|
||||||||
| Your versatile Bootstrapper companion for modern development with `.NET 9` and `.NET 10`. | ||||||||
|
|
||||||||
|
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Standardize version ordering: list newest version first. The version order should list Apply this diff: -Your versatile Bootstrapper companion for modern development with `.NET 9` and `.NET 10`.
+Your versatile Bootstrapper companion for modern development with `.NET 10` and `.NET 9`.📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| It is, by heart, free, flexible and built to extend and boost your agile codebelt. | ||||||||
|
|
||||||||
| ## Codebelt.Bootstrapper.Web | ||||||||
|
|
||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,8 @@ An open-source family of assemblies (MIT license) that provide a uniform and con | |||||
|
|
||||||
| Also, common for all, is the implementation of the `IHostedService` interface; this means that all project types, including the traditional `console`, now have option for graceful shutdown should your application require this (cronjob scenarios or similar). | ||||||
|
|
||||||
| Your versatile Bootstrapper companion for modern development with `.NET 9` and `.NET 10`. | ||||||
|
|
||||||
|
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Standardize version ordering: list newest version first. The version order here lists Apply this diff to standardize the version order: 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| It is, by heart, free, flexible and built to extend and boost your agile codebelt. | ||||||
|
|
||||||
| ## Codebelt.Bootstrapper.Worker | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,8 @@ An open-source family of assemblies (MIT license) that provide a uniform and con | |||||||
|
|
||||||||
| Also, common for all, is the implementation of the `IHostedService` interface; this means that all project types, including the traditional `console`, now have option for graceful shutdown should your application require this (cronjob scenarios or similar). | ||||||||
|
|
||||||||
| Your versatile Bootstrapper companion for modern development with `.NET 9` and `.NET 10`. | ||||||||
|
|
||||||||
|
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Standardize version ordering: list newest version first. The version order should list Apply this diff: 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| It is, by heart, free, flexible and built to extend and boost your agile codebelt. | ||||||||
|
|
||||||||
| ## Codebelt.Bootstrapper | ||||||||
|
|
||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |||||||||||||||
| </PropertyGroup> | ||||||||||||||||
|
|
||||||||||||||||
| <PropertyGroup Condition="'$(IsTestProject)' == 'false' or '$(IsExcluded)' == 'true'"> | ||||||||||||||||
| <TargetFrameworks>net9.0;net8.0</TargetFrameworks> | ||||||||||||||||
| <TargetFrameworks>net10.0;net9.0</TargetFrameworks> | ||||||||||||||||
| <Copyright>Copyright © Geekle 2021-2025. All rights reserved.</Copyright> | ||||||||||||||||
| <Authors>gimlichael</Authors> | ||||||||||||||||
| <Company>Geekle</Company> | ||||||||||||||||
|
|
@@ -47,20 +47,38 @@ | |||||||||||||||
| <None Include="..\..\.nuget\$(MSBuildProjectName)\README.md" Pack="true" PackagePath="\"/> | ||||||||||||||||
| </ItemGroup> | ||||||||||||||||
|
|
||||||||||||||||
| <PropertyGroup Condition="'$(IsTestProject)' == 'true' or '$(IsExcluded)' == 'true'"> | ||||||||||||||||
| <TargetFrameworks>net9.0;net8.0</TargetFrameworks> | ||||||||||||||||
| <PropertyGroup Condition="'$(IsTestProject)' == 'true'"> | ||||||||||||||||
| <OutputType>Exe</OutputType> | ||||||||||||||||
| <TargetFrameworks>net10.0;net9.0</TargetFrameworks> | ||||||||||||||||
| <IsPackable>false</IsPackable> | ||||||||||||||||
| <RunAnalyzers>false</RunAnalyzers> | ||||||||||||||||
| <RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild> | ||||||||||||||||
| <RunAnalyzersDuringLiveAnalysis>false</RunAnalyzersDuringLiveAnalysis> | ||||||||||||||||
| <SonarQubeExclude>true</SonarQubeExclude> | ||||||||||||||||
| <WarningLevel>0</WarningLevel> | ||||||||||||||||
| <AnalysisLevel>none</AnalysisLevel> | ||||||||||||||||
| <NoWarn>NU1701,NETSDK1206</NoWarn> | ||||||||||||||||
| <CheckEolTargetFramework>false</CheckEolTargetFramework> | ||||||||||||||||
|
||||||||||||||||
| <CheckEolTargetFramework>false</CheckEolTargetFramework> | |
| <CheckEolTargetFramework>false</CheckEolTargetFramework> | |
| <!-- | |
| NOTE: The UseMicrosoftTestingPlatformRunner property enables the new test runner, which requires xUnit v3. | |
| Ensure that CI/CD pipelines and local development environments are updated to support this runner. | |
| This may require changes to test execution commands and IDE integrations. | |
| --> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,29 +3,30 @@ | |
| <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Codebelt.Extensions.Swashbuckle.AspNetCore" Version="9.0.8" /> | ||
| <PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.7" /> | ||
| <PackageVersion Include="Cuemon.Core" Version="9.0.10" /> | ||
| <PackageVersion Include="Cuemon.Extensions.Hosting" Version="9.0.10" /> | ||
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0" /> | ||
| <PackageVersion Include="Codebelt.Extensions.Swashbuckle.AspNetCore" Version="10.0.0" /> | ||
| <PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="11.0.0" /> | ||
| <PackageVersion Include="Cuemon.Core" Version="10.0.0" /> | ||
| <PackageVersion Include="Cuemon.Extensions.Hosting" Version="10.0.0" /> | ||
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" /> | ||
| <PackageVersion Include="MinVer" Version="6.0.0" /> | ||
| <PackageVersion Include="coverlet.collector" Version="6.0.4" /> | ||
| <PackageVersion Include="coverlet.msbuild" Version="6.0.4" /> | ||
| <PackageVersion Include="xunit" Version="2.9.3" /> | ||
| <PackageVersion Include="xunit.v3" Version="3.1.0" /> | ||
|
||
| <PackageVersion Include="xunit.v3.runner.console" Version="3.2.0" /> | ||
| <PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" /> | ||
| </ItemGroup> | ||
| <ItemGroup Condition="$(TargetFramework.StartsWith('net9'))"> | ||
| <PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.10" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="9.0.10" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.10" /> | ||
| <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.10" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.10" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.11" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="9.0.11" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.11" /> | ||
| <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.11" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.11" /> | ||
| </ItemGroup> | ||
| <ItemGroup Condition="$(TargetFramework.StartsWith('net8'))"> | ||
| <PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.21" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.21" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" /> | ||
| <ItemGroup Condition="$(TargetFramework.StartsWith('net10'))"> | ||
| <PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="10.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Configuration" Version="10.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.0" /> | ||
| </ItemGroup> | ||
| </Project> | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||||
|
|
||||||||
| using Codebelt.Bootstrapper.Web; | ||||||||
| using Microsoft.OpenApi.Models; | ||||||||
| using Microsoft.OpenApi; | ||||||||
|
||||||||
| using Microsoft.OpenApi; | |
| using Microsoft.OpenApi; | |
| using Microsoft.OpenApi.Models; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify that OpenApiInfo is accessible from the Microsoft.OpenApi namespace.
The using directive was changed from Microsoft.OpenApi.Models to Microsoft.OpenApi, but the code still references OpenApiInfo (line 20). This will cause a compilation error if OpenApiInfo is not directly accessible from the parent Microsoft.OpenApi namespace.
Please search for the latest documentation to confirm the correct namespace for OpenApiInfo in the version of the Microsoft OpenAPI libraries being used:
If OpenApiInfo remains in Microsoft.OpenApi.Models, this change should be reverted or an additional using directive should be added.
🌐 Web query:
Microsoft.OpenApi namespace OpenApiInfo location
💡 Result:
OpenApiInfo is defined in the Microsoft.OpenApi.Models namespace, in the Microsoft.OpenApi.dll assembly (NuGet package: Microsoft.OpenApi). [1][2]
Sources:
- Microsoft docs — OpenApiInfo (Microsoft.OpenApi.Models). [1]
- NuGet — Microsoft.OpenApi package. [2]
Revert the using directive to Microsoft.OpenApi.Models or add a separate using directive.
OpenApiInfo is defined in the Microsoft.OpenApi.Models namespace, not in Microsoft.OpenApi. The current change from using Microsoft.OpenApi.Models; to using Microsoft.OpenApi; will cause a compilation error when accessing OpenApiInfo at line 20. Either restore the original using directive or add using Microsoft.OpenApi.Models; alongside it.
🤖 Prompt for AI Agents
In app/Codebelt.Bootstrapper.MinimalWebApi.App/Program.cs around line 3, the
current using directive imports Microsoft.OpenApi which does not contain
OpenApiInfo (used at line 20); restore the original using
Microsoft.OpenApi.Models or add a separate using Microsoft.OpenApi.Models; so
that OpenApiInfo resolves and the file compiles—update the using directives
accordingly and run a build to verify the error is resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify GitHub Actions version compatibility with .NET 10.
The workflow upgrades multiple codebeltnet actions from v2/v1 to v3/v2. While the pattern is consistent with the PR objectives (build/pack/test/SonarCloud to v3), confirm that these action versions exist and have been tested with .NET 10 and xUnit v3 (the new test framework).
Also applies to: 45-45, 58-58, 71-71, 89-89
🏁 Script executed:
Length of output: 1014
Based on the verification results, the script definitively shows that all five codebeltnet action v3 tags return GitHub API 404 errors, meaning these tags cannot be resolved. This is a critical issue that will cause workflow failures.
All referenced codebeltnet action v3 tags cannot be resolved via GitHub API (404 errors).
Lines 30, 45, 58, 71, 89 reference:
All returned 404 "Not Found" when queried via GitHub API. Either these tags don't exist, the repositories are inaccessible, or there's a critical configuration issue. This will cause the workflow to fail when GitHub attempts to resolve these action references. Verify that these versions have been released and are publicly accessible.
🤖 Prompt for AI Agents