-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProxytrace.Api.csproj
More file actions
75 lines (66 loc) · 3.54 KB
/
Copy pathProxytrace.Api.csproj
File metadata and controls
75 lines (66 loc) · 3.54 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Proxytrace.Api</RootNamespace>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Autofac" Version="9.3.1" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="11.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.9">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.9" />
<!-- Direct pin: Swashbuckle pulls Microsoft.OpenApi 2.4.1, which trips the NU1903 audit
(GHSA-v5pm-xwqc-g5wc); 2.7.5 is the patched 2.x release. Drop when Swashbuckle updates. -->
<PackageReference Include="Microsoft.OpenApi" Version="2.10.0" />
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="1.4.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.2.3" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Proxytrace.Api.Tests" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Proxytrace.Domain\Proxytrace.Domain.csproj" />
<ProjectReference Include="..\Proxytrace.Infrastructure\Proxytrace.Infrastructure.csproj" />
<ProjectReference Include="..\Proxytrace.Messaging\Proxytrace.Messaging.csproj" />
<ProjectReference Include="..\Proxytrace.Storage\Proxytrace.Storage.csproj" />
<ProjectReference Include="..\Proxytrace.Application\Proxytrace.Application.csproj" />
<ProjectReference Include="..\Proxytrace.Licensing\Proxytrace.Licensing.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\scripts\demo-data\*.json">
<Link>DemoData\%(Filename)%(Extension)</Link>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="..\.dockerignore">
<Link>.dockerignore</Link>
</Content>
</ItemGroup>
<!--<Target Name="BuildAngularFrontend" BeforeTargets="Build" Condition="'$(Configuration)' == 'Release'">
<Exec Command="npm run build"
WorkingDirectory="$(MSBuildThisFileDirectory)../frontend" />
<ItemGroup>
<FrontendFiles Include="$(MSBuildThisFileDirectory)../frontend/dist/frontend/browser/**" />
</ItemGroup>
<Copy SourceFiles="@(FrontendFiles)" DestinationFolder="$(MSBuildThisFileDirectory)wwwroot/%(RecursiveDir)" />
</Target>-->
<!-- Kiosk mode: build the VitePress manual and copy it into wwwroot/docs so the API
serves it at /docs via UseStaticFiles. Release only, and requires Node/npm on the
build machine. Skipped via -p:SkipManualBuild=true in the API Docker image (the SDK
image has no npm; in Docker the manual is served by the nginx frontend instead). -->
<Target Name="BuildUserManual" BeforeTargets="Build" Condition="'$(Configuration)' == 'Release' and '$(SkipManualBuild)' != 'true'">
<Exec Command="npm ci"
WorkingDirectory="$(MSBuildThisFileDirectory)../manual" />
<Exec Command="npm run docs:build"
WorkingDirectory="$(MSBuildThisFileDirectory)../manual" />
<ItemGroup>
<ManualFiles Include="$(MSBuildThisFileDirectory)../manual/.vitepress/dist/**" />
</ItemGroup>
<Copy SourceFiles="@(ManualFiles)" DestinationFolder="$(MSBuildThisFileDirectory)wwwroot/docs/%(RecursiveDir)" />
</Target>
</Project>