-
Notifications
You must be signed in to change notification settings - Fork 602
.NET 10 build fixes #4636
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
.NET 10 build fixes #4636
Changes from all commits
e4a84f0
655ed63
5c69630
8456b0f
e83d6a4
23b0c59
fd97ddf
4d6eb51
800641c
c76c8e3
33c54a0
2d7fec5
ca61f4f
2e3032a
f133626
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,8 +1,20 @@ | ||
| name: Setup .NET | ||
|
|
||
| inputs: | ||
| include_net10: | ||
| description: "Include .NET 10" | ||
| default: "false" | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Setup .NET 8 | ||
| uses: actions/setup-dotnet@v4 | ||
| uses: actions/setup-dotnet@v5 | ||
| with: | ||
| dotnet-version: 8.x | ||
| dotnet-version: 8.0.x | ||
|
|
||
| - name: Setup .NET 10 | ||
| if: inputs.include_net10 == 'true' | ||
| uses: actions/setup-dotnet@v5 | ||
| with: | ||
| dotnet-version: 10.0.x |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,3 +32,6 @@ dotnet_diagnostic.CA1016.severity = none | |
|
|
||
| # CA2008: Do not create tasks without passing a TaskScheduler | ||
| dotnet_diagnostic.CA2008.severity = none | ||
|
|
||
| # CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal | ||
|
Member
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. You moved this rule because you were getting this warning for tests too?
Member
Author
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. Yes with .NET 10 this is enabled by default, I want to fix this in a separate PR. |
||
| dotnet_diagnostic.CA1515.severity = none | ||
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.
Do we need both .NET 8 and .NET 10 for these builds?
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.
Yes, Ice assemblies always target .NET 8, only the tests are built with .NET 10 target framework.