Skip to content

Commit

Permalink
remove .NET Standard 2.0 and 7.0 targeting
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Nov 15, 2024
1 parent 9576ea1 commit fb70211
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 24 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
dotnet-version: ["2.1.x", "6.x", "9.x"]
dotnet-version: ["9.x"]
# TODO: restore when runners have 9.x on all
# ["2.1.x", "6.x", "9.x"]

env:

Expand Down
4 changes: 2 additions & 2 deletions docs/pages/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ See the [guide]({{site.baseurl}}/guide/#content) and the [full list of indicator

Our [NuGet library](https://www.nuget.org/packages/Skender.Stock.Indicators) directly targets all current frameworks for peak performance, including the .NET Standard for older framework compatibility.

- .NET 8.0, 7.0, 6.0
- .NET Standard 2.1, 2.0
- .NET 9.0, 8.0, 6.0
- .NET Standard 2.1

The compiled library package is [Common Language Specification (CLS) compliant](https://docs.microsoft.com/en-us/dotnet/standard/common-type-system) and can be used in other programming languages, including Python and everything in the .NET universe.

Expand Down
10 changes: 0 additions & 10 deletions src/Directory.Packages.props

This file was deleted.

29 changes: 18 additions & 11 deletions src/Indicators.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;net6.0;netstandard2.1</TargetFrameworks>

<Authors>Dave Skender</Authors>
<Product>Stock Indicators for .NET</Product>
<Copyright>@2020 Dave Skender</Copyright>
<Description>Stock Indicators for .NET. Transform financial market price quotes into technical analysis indicators such as MACD, Stochastic RSI, Average True Range, Parabolic SAR, etc. Nothing more.</Description>

<RepositoryUrl>https://github.com/DaveSkender/Stock.Indicators</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>

<AssemblyName>Skender.Stock.Indicators</AssemblyName>
<RootNamespace>Skender.Stock.Indicators</RootNamespace>
<LangVersion>13.0</LangVersion>
<NeutralLanguage>en-US</NeutralLanguage>

<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://dotnet.stockindicators.dev</PackageProjectUrl>
Expand All @@ -32,13 +37,16 @@
<PackageReleaseNotes>https://github.com/DaveSkender/Stock.Indicators/releases</PackageReleaseNotes>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

<ImplicitUsings>enable</ImplicitUsings>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<Nullable>enable</Nullable>

<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
Expand All @@ -47,29 +55,28 @@
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<SignAssembly>True</SignAssembly>
</PropertyGroup>

<ItemGroup>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>
</PackagePath>
<PackagePath></PackagePath>
</None>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath>
</PackagePath>
<PackagePath></PackagePath>
</None>
<None Include="..\NOTICE">
<Pack>True</Pack>
<PackagePath>
</PackagePath>
<PackagePath></PackagePath>
</None>
<None Include="icon.png">
<Pack>True</Pack>
<PackagePath>
</PackagePath>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>

</Project>

0 comments on commit fb70211

Please sign in to comment.