63 lines
2.1 KiB
XML
63 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<!-- Runtime Definition -->
|
|
<PropertyGroup>
|
|
<Version>1.0.0</Version>
|
|
<LangVersion>12.0</LangVersion>
|
|
<Authors>Hadi Khazaee Asl</Authors>
|
|
<PackageId>xSaherElm.xApi</PackageId>
|
|
<Company>SaherElm IT Center</Company>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
|
|
<Description>
|
|
a WebAPI Project which contains all Business Logic of xSaherElm Project.
|
|
</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 Dependencies -->
|
|
|
|
<!-- Local Projects -->
|
|
<ItemGroup>
|
|
<!-- All Modules Has Dependencies in xService -->
|
|
<ProjectReference Include="..\Modules\xServices\xServices.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!-- Dependencies -->
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.11" />
|
|
<PackageReference Include="IdentityModel.AspNetCore.OAuth2Introspection" Version="5.0.0" />
|
|
</ItemGroup>
|
|
|
|
<!-- For XML Documentation Support -->
|
|
<PropertyGroup>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<!-- Ef Core -->
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.5">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<!-- Create Required Folders -->
|
|
<Target Name="CreateRequiredFolder" AfterTargets="AfterPublish">
|
|
<MakeDir Directories="$(PublishDir)wwwroot" Condition="!Exists('$(PublishDir)wwwroot')" />
|
|
</Target>
|
|
</Project> |