This commit is contained in:
2026-11-08 17:59:31 +03:30
parent 31add513bc
commit b58f1dd736
6 changed files with 63 additions and 21 deletions
+3 -12
View File
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<!-- Runtime Definition -->
<PropertyGroup>
<Version>1.0.0</Version>
@@ -8,28 +7,22 @@
<Company>SaherElm IT Center</Company>
<PackageId>xSaherElm.xAiApi</PackageId>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Description>
a WebAPI Project which contains all Business Logic of xSaherElm Project's AI.
</Description>
<!-- Icon Definition -->
<PackageIcon>icon.png</PackageIcon>
<!-- Fix Duplicate TargetFramework Issue -->
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<!-- Icon Handling -->
<ItemGroup>
<None Include="../../Resources/Images/favicon.png" Link="icon.png" Pack="true" PackagePath="\icon.png" />
</ItemGroup>
<!-- Local Modules -->
<ItemGroup>
</ItemGroup>
<!-- Local Dependencies -->
<ItemGroup>
<ProjectReference Include="../Modules/xCommons/xCommons.csproj" />
@@ -42,7 +35,6 @@
<ProjectReference Include="../Modules/xStorageService/xStorageService.csproj" />
<ProjectReference Include="../Modules/xIdentityHelper/xIdentityHelper.csproj" />
</ItemGroup>
<!-- Dependencies -->
<ItemGroup>
<PackageReference Include="Tesseract" Version="5.2.0" />
@@ -66,14 +58,12 @@
<PackageReference Include="IdentityModel.AspNetCore.OAuth2Introspection" Version="5.0.0" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="3.116.1" />
</ItemGroup>
<!-- For XML Documentation Support -->
<PropertyGroup>
<NoWarn>$(NoWarn);1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<!-- Ef Core -->
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.5">
@@ -81,10 +71,11 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<!-- Create Required Folders -->
<Target Name="CreateRequiredFolder" AfterTargets="AfterPublish">
<MakeDir Directories="$(PublishDir)wwwroot" Condition="!Exists('$(PublishDir)wwwroot')" />
</Target>
<ItemGroup>
<ProjectReference Include="..\Modules\xLoggingService\xLoggingService.csproj" />
</ItemGroup>
</Project>