-
Notifications
You must be signed in to change notification settings - Fork 0
/
backend.csproj
31 lines (24 loc) · 1.02 KB
/
backend.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AspNetCoreAnalyzers" Version="0.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
</ItemGroup>
<ItemGroup>
<SourceFiles Include="Resources/MockData/*.json" />
<OutputDir Include="../res" />
<OutputDirFiles Include="../res/*.json" />
</ItemGroup>
<Target Name="EnsureDestinationDirectory" BeforeTargets="Build">
<MakeDir Directories="@(OutputDir)" Condition="!Exists(@(OutputDir))" />
</Target>
<Target Name="CopyFiles" AfterTargets="Build">
<Copy SourceFiles="@(SourceFiles)" DestinationFolder="@(OutputDir)" Condition="!Exists(@(OutputDirFiles))" />
</Target>
</Project>