Skip to content

Commit

Permalink
#36 Upgrade .NET 8
Browse files Browse the repository at this point in the history
Modified for .NET 8 compatibility

#36
  • Loading branch information
ckuetbach committed Sep 16, 2024
1 parent 07e8db4 commit cc98da4
Show file tree
Hide file tree
Showing 19 changed files with 56 additions and 41 deletions.
5 changes: 3 additions & 2 deletions dvelop-sdk-all/DvelopSdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<PackageId>Dvelop.Sdk</PackageId>

<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk</AssemblyName>
<RootNamespace>Dvelop.Sdk</RootNamespace>
<Copyright>Copyright (c) 2019</Copyright>
Expand All @@ -12,7 +12,7 @@
<IsPackable>true</IsPackable>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageProjectUrl></PackageProjectUrl>
<PackageProjectUrl>https://github.com/d-velop/dvelop-sdk-cs</PackageProjectUrl>

<RepositoryUrl>https://github.com/d-velop/dvelop-sdk-cs</RepositoryUrl>

Expand All @@ -21,6 +21,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion dvelop-sdk-base/BaseDtos/BaseDtos.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.Base.Dto</AssemblyName>
<RootNamespace>Dvelop.Sdk.Base.Dto</RootNamespace>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion dvelop-sdk-base/BaseInterfaces/BaseInterfaces.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>Dvelop.Sdk.BaseInterfaces</RootNamespace>
<AssemblyName>Dvelop.Sdk.BaseInterfaces</AssemblyName>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion dvelop-sdk-config/ConfigDtos/ConfigDtos.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.Config.Dto</AssemblyName>
<RootNamespace>Dvelop.Sdk.Config.Dto</RootNamespace>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion dvelop-sdk-dash/DashboardDtos/DashboardDtos.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.Dashboard.Dto</AssemblyName>
<RootNamespace>Dvelop.Sdk.Dashboard.Dto</RootNamespace>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

</PropertyGroup>

<ItemGroup>
Expand Down
23 changes: 12 additions & 11 deletions dvelop-sdk-home/HomeDtos/HomeDtos.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.Home.Dto</AssemblyName>
<RootNamespace>Dvelop.Sdk.Home.Dto</RootNamespace>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.Home.Dto</AssemblyName>
<RootNamespace>Dvelop.Sdk.Home.Dto</RootNamespace>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

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


</Project>
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>true</IsPackable>
<RootNamespace>Dvelop.Sdk.HttpClientExtensions</RootNamespace>
<AssemblyName>Dvelop.Sdk.HttpClientExtensions</AssemblyName>
<OutputType>Library</OutputType>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<LangVersion>latestmajor</LangVersion>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\dvelop-sdk-base\BaseInterfaces\BaseInterfaces.csproj" />
<ProjectReference Include="..\..\dvelop-sdk-logging\Logging.Abstractions\Logging.Abstractions.csproj" />
<ProjectReference Include="..\..\dvelop-sdk-signing\SigningAlgorithms\SigningAlgorithms.csproj" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\dvelop-sdk-base\BaseInterfaces\BaseInterfaces.csproj"/>
<ProjectReference Include="..\..\dvelop-sdk-logging\Logging.Abstractions\Logging.Abstractions.csproj"/>
<ProjectReference Include="..\..\dvelop-sdk-signing\SigningAlgorithms\SigningAlgorithms.csproj"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.IdentityProvider.Client</AssemblyName>
<RootNamespace>Dvelop.Sdk.IdentityProvider.Client</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<AssemblyName>Dvelop.Sdk.IdentityProviderMiddleware.UnitTest</AssemblyName>
<RootNamespace>Dvelop.Sdk.IdentityProviderMiddleware.UnitTest</RootNamespace>
<OutputType>Library</OutputType>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.IdentityProvider.Middleware</AssemblyName>
<RootNamespace>Dvelop.Sdk.IdentityProvider.Middleware</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.Logging.Abstractions</AssemblyName>
<RootNamespace>Dvelop.Sdk.Logging.Abstractions</RootNamespace>
<LangVersion>8</LangVersion>
<LangVersion>latestmajor</LangVersion>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.Logging.OtelJsonConsole</AssemblyName>
<RootNamespace>Dvelop.Sdk.Logging.OtelJsonConsole</RootNamespace>
<LangVersion>8</LangVersion>
<LangVersion>latestmajor</LangVersion>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<AssemblyName>Dvelop.Sdk.SigningAlgorithms.UnitTest</AssemblyName>
<RootNamespace>Dvelop.Sdk.SigningAlgorithms.UnitTest</RootNamespace>
<OutputType>Library</OutputType>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions dvelop-sdk-signing/SigningAlgorithms/SigningAlgorithms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

<PropertyGroup>
<IsPackable>true</IsPackable>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.SigningAlgorithms</AssemblyName>
<RootNamespace>Dvelop.Sdk.SigningAlgorithms</RootNamespace>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<LangVersion>latestmajor</LangVersion>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<AssemblyName>Dvelop.Sdk.TenantMiddleware.UnitTest</AssemblyName>
<RootNamespace>Dvelop.Sdk.TenantMiddleware.UnitTest</RootNamespace>
<OutputType>Library</OutputType>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion dvelop-sdk-tenant/TenantMiddleware/TenantMiddleware.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<PackageId>Dvelop.Sdk.TenantMiddleware</PackageId>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.TenantMiddleware</AssemblyName>
<RootNamespace>Dvelop.Sdk.TenantMiddleware</RootNamespace>
<Copyright>Copyright (c) 2019</Copyright>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<RootNamespace>Dvelop.Sdk.WebApiExtensions.UnitTest</RootNamespace>

<OutputType>Library</OutputType>

<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions dvelop-sdk-webapi/WebApiExtensions/WebApiExtensions.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk.WebApiExtensions</AssemblyName>
<RootNamespace>Dvelop.Sdk.WebApiExtensions</RootNamespace>
<LangVersion>8</LangVersion>
<LangVersion>latestmajor</LangVersion>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
Expand Down

0 comments on commit cc98da4

Please sign in to comment.