Back to all reviewers

Use appropriate framework targets

octokit/octokit.net
Based on 2 comments
Other

When configuring .NET projects, always use the correct target framework elements and versions: 1. Use the singular `` element when targeting a single framework:

Configurations Other

Reviewer Prompt

When configuring .NET projects, always use the correct target framework elements and versions:

  1. Use the singular <TargetFramework> element when targeting a single framework: ```xml
netstandard2.0

2. Use the plural `<TargetFrameworks>` element only when targeting multiple frameworks:
```xml
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
  1. Always prefer Long Term Support (LTS) versions (like .NET 6) over non-LTS versions (like .NET 5) to ensure stability and longer support lifecycles. This reduces the frequency of required updates and provides more reliable runtime environments for production applications.
2
Comments Analyzed
Other
Primary Language
Configurations
Category

Source Discussions