-
Notifications
You must be signed in to change notification settings - Fork 5
/
VueCoreJwt.csproj
53 lines (47 loc) · 2.06 KB
/
VueCoreJwt.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<SpaRoot>VueApp\</SpaRoot>
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="3.3.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
</ItemGroup>
<ItemGroup>
<Content Remove="$(SpaRoot)\**" />
<None Remove="$(SpaRoot)\**" />
<None Include="$(SpaRoot)\**" Exclude="$(SpaRoot)\node_modules\**;$(SpaRoot)\dist\**" />
</ItemGroup>
<ItemGroup>
<Content Update="web.Development.config">
<DependentUpon>web.config</DependentUpon>
<IsTransformFile>true</IsTransformFile>
</Content>
<Content Update="web.config">
<TransformOnBuild>false</TransformOnBuild>
</Content>
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.Development.json">
<DependentUpon>appsettings.json</DependentUpon>
<IsTransformFile>true</IsTransformFile>
</Content>
<Content Update="appsettings.json">
<TransformOnBuild>false</TransformOnBuild>
</Content>
</ItemGroup>
<Target Name="PublishDist" AfterTargets="ComputeFilesToPublish">
<ItemGroup>
<DistFiles Include="$(SpaRoot)\dist\**" />
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
<RelativePath>%(DistFiles.Identity)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</ResolvedFileToPublish>
</ItemGroup>
</Target>
</Project>