Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework />
<TargetFrameworks>net6.0;net8.0;net9.0;net10.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<ProjectReference
Include="../../Tools/LeanCode.CodeAnalysis/LeanCode.CodeAnalysis.csproj"
Condition="'$(MSBuildProjectName)' != 'LeanCode.CodeAnalysis'
And '$(TargetFramework)' == 'net9.0'"
And '$(TargetFramework)' != 'netstandard2.0'"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only not the particular version of netstandard is enough here? 🤔 2.1 is fine?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, netstandard2.1 is fine because our CodeAnalysis package itself targets netstandard2.1. Only referencing it in projects targeting older netstandards is a problem.

>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<OutputItemType>Analyzer</OutputItemType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Nullable>annotations</Nullable>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework />
<TargetFrameworks>net6.0;net8.0;net9.0;net10.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using LeanCode.Contracts;
using LeanCode.Contracts.Security;

namespace LeanCode.ForceUpdate.Contracts;

[AllowUnauthorized]
public class VersionSupport : IQuery<VersionSupportDTO>
{
public PlatformDTO Platform { get; set; }
Expand Down
Loading