mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:27:21 +00:00
28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--
|
|
Checks what only a published build of AI Studio lacks. The trimmer removes code of .NET which System.Text.Json
|
|
reaches by reflection only, while debug builds and the tests are not trimmed. Hence, this program has to run
|
|
published, trimmed by the same Trimming.props as the app; `dotnet run verify` does both.
|
|
-->
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<RootNamespace>AIStudio.TrimSmokeTest</RootNamespace>
|
|
<LangVersion>latest</LangVersion>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<SelfContained>true</SelfContained> <!-- Trimming works for self-contained builds only -->
|
|
|
|
<!-- IL2026: Usage of methods marked as RequiresUnreferencedCode. Finding out what this means for a trimmed build is the whole point of this program. -->
|
|
<NoWarn>IL2026</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\Trimming.props" />
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MindWork AI Studio\MindWork AI Studio.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project> |