Skip to content
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: Upgrade projects from net6.0 to net8.0 and adjust LangVersion to 12 #5819

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

stephentoub
Copy link
Member

  • Test projects targeting net6.0 are updated to net8.0
  • LangVersion is consolidated to be 12 and set only in the top-level Directory.Build.props
  • RollForward was used to enable test projects targeting net6.0 to execute in CI when there was only a net8.0 runtime present. These can all be deleted.
  • Microsoft.Net.Compilers.Toolset was used in a bunch of places to allow for LangVersion 12 when on older toolsets. Now that the .NET 8 SDK is used, this can all be deleted.
  • Microsoft.CodeAnalysis.NetAnalyzers was pinned to the 8.0 version. That can now be deleted.
  • Allowing the analyzers to use a newer build by default flagged a bunch of CA2007 violations to be addressed. These have all been fixed.

- Test projects targeting net6.0 are updated to net8.0
- LangVersion is consolidated to be 12 and set only in the top-level Directory.Build.props
- RollForward was used to enable test projects targeting net6.0 to execute in CI when there was only a net8.0 runtime present. These can all be deleted.
- Microsoft.Net.Compilers.Toolset was used in a bunch of places to allow for LangVersion 12 when on older toolsets. Now that the .NET 8 SDK is used, this can all be deleted.
- Microsoft.CodeAnalysis.NetAnalyzers was pinned to the 8.0 version. That can now be deleted.
- Allowing the analyzers to use a newer build by default flagged a bunch of CA2007 violations to be addressed. These have all been fixed.
@stephentoub stephentoub requested a review from a team as a code owner April 9, 2024 17:07
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel kernel.core memory labels Apr 9, 2024
@github-actions github-actions bot changed the title Upgrade projects from net6.0 to net8.0 and adjust LangVersion to 12 .Net: Upgrade projects from net6.0 to net8.0 and adjust LangVersion to 12 Apr 9, 2024
@markwallace-microsoft markwallace-microsoft added this pull request to the merge queue Apr 9, 2024
Merged via the queue into microsoft:main with commit f2e52bd Apr 9, 2024
19 checks passed
johnoliver pushed a commit to johnoliver/semantic-kernel that referenced this pull request Jun 5, 2024
…o 12 (microsoft#5819)

- Test projects targeting net6.0 are updated to net8.0
- LangVersion is consolidated to be 12 and set only in the top-level
Directory.Build.props
- RollForward was used to enable test projects targeting net6.0 to
execute in CI when there was only a net8.0 runtime present. These can
all be deleted.
- Microsoft.Net.Compilers.Toolset was used in a bunch of places to allow
for LangVersion 12 when on older toolsets. Now that the .NET 8 SDK is
used, this can all be deleted.
- Microsoft.CodeAnalysis.NetAnalyzers was pinned to the 8.0 version.
That can now be deleted.
- Allowing the analyzers to use a newer build by default flagged a bunch
of CA2007 violations to be addressed. These have all been fixed.
johnoliver pushed a commit to johnoliver/semantic-kernel that referenced this pull request Jun 5, 2024
…o 12 (microsoft#5819)

- Test projects targeting net6.0 are updated to net8.0
- LangVersion is consolidated to be 12 and set only in the top-level
Directory.Build.props
- RollForward was used to enable test projects targeting net6.0 to
execute in CI when there was only a net8.0 runtime present. These can
all be deleted.
- Microsoft.Net.Compilers.Toolset was used in a bunch of places to allow
for LangVersion 12 when on older toolsets. Now that the .NET 8 SDK is
used, this can all be deleted.
- Microsoft.CodeAnalysis.NetAnalyzers was pinned to the 8.0 version.
That can now be deleted.
- Allowing the analyzers to use a newer build by default flagged a bunch
of CA2007 violations to be addressed. These have all been fixed.
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
…o 12 (microsoft#5819)

- Test projects targeting net6.0 are updated to net8.0
- LangVersion is consolidated to be 12 and set only in the top-level
Directory.Build.props
- RollForward was used to enable test projects targeting net6.0 to
execute in CI when there was only a net8.0 runtime present. These can
all be deleted.
- Microsoft.Net.Compilers.Toolset was used in a bunch of places to allow
for LangVersion 12 when on older toolsets. Now that the .NET 8 SDK is
used, this can all be deleted.
- Microsoft.CodeAnalysis.NetAnalyzers was pinned to the 8.0 version.
That can now be deleted.
- Allowing the analyzers to use a newer build by default flagged a bunch
of CA2007 violations to be addressed. These have all been fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel.core kernel Issues or pull requests impacting the core kernel memory .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants