Enabled multi-targeting in `DocumentService.Application` to support `net462`, `net480`, and `net8.0`. Updated dependencies with framework-specific versions and added conditional configurations for compatibility. Refactored `DocumentService.Client` by removing redundant enums and unused code. Adjusted namespaces and project references to streamline the codebase and improve maintainability. These changes modernize the project, enhance compatibility, and align with modular design principles.
51 lines
1.9 KiB
XML
51 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net462;net480;net8.0</TargetFrameworks>
|
|
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(MSBuildProjectName).xml</DocumentationFile>
|
|
<PackageId>DocumentService.Client</PackageId>
|
|
<Authors>Digital Data GmbH</Authors>
|
|
<Company>Digital Data GmbH</Company>
|
|
<Product>DocumentService.Client</Product>
|
|
<Copyright>Copyright 2026</Copyright>
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
<RepositoryUrl>http://git.dd:3000/AppStd/Rec.git</RepositoryUrl>
|
|
<PackageTags>digital data document service api client</PackageTags>
|
|
<Version>1.0.0</Version>
|
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
|
<FileVersion>1.0.0.0</FileVersion>
|
|
<Description></Description>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>latest</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'net480'">
|
|
<Reference Include="System.IO.Compression" />
|
|
<Reference Include="System.IO.Compression.FileSystem" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.10" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.10" />
|
|
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
|
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
|
|
<PackageReference Include="PolySharp" Version="1.14.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\assets\icon.png">
|
|
<Pack>True</Pack>
|
|
<PackagePath>\</PackagePath>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DocumentService.Application\DocumentService.Application.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|