Skip to content

Commit

Permalink
Upgrade .NET 8
Browse files Browse the repository at this point in the history
some cleanup in project files

#36
  • Loading branch information
ckuetbach committed Nov 7, 2024
1 parent f9a5be0 commit 7b1de31
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 15 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<PackageProjectUrl>https://github.com/d-velop/dvelop-sdk-cs</PackageProjectUrl>
<VersionPrefix>0.1.0</VersionPrefix>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 1 addition & 3 deletions dvelop-sdk-all/DvelopSdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Dvelop.Sdk</AssemblyName>
<RootNamespace>Dvelop.Sdk</RootNamespace>
<Copyright>Copyright (c) 2019</Copyright>
<Copyright>Copyright (c) 2024</Copyright>
<Product>d.velop cloud SDK</Product>
<Company>d.velop AG</Company>
<IsPackable>true</IsPackable>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/d-velop/dvelop-sdk-cs</PackageProjectUrl>

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

<Authors>Christian Kütbach</Authors>

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

<PropertyGroup>
<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>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

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

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


<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion dvelop-sdk-config/ConfigDtos/ConfigDtos.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<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>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

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

<PropertyGroup>
<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>

<LangVersion>latestmajor</LangVersion>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion dvelop-sdk-home/HomeDtos/HomeDtos.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
<AssemblyName>Dvelop.Sdk.Home.Dto</AssemblyName>
<RootNamespace>Dvelop.Sdk.Home.Dto</RootNamespace>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<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>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

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

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

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

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ public void Setup()
}
}
});
_unit = new IdentityProviderClient(new HttpClient(_fakeHttpMessageHandler.Object), () => new TenantInformation {SystemBaseUri = "http://localhost/", TenantId = "0"});
_unit = new IdentityProviderClient(new IdentityProviderClientOptions
{
HttpClient = new HttpClient(_fakeHttpMessageHandler.Object),
TenantInformationCallback = () => new TenantInformation {SystemBaseUri = "http://localhost/", TenantId = "0"}

});
}

[TestMethod]
Expand Down

0 comments on commit 7b1de31

Please sign in to comment.