59 lines
2.4 KiB
XML
59 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
||
<PropertyGroup>
|
||
<OutputType>WinExe</OutputType>
|
||
<TargetFramework>net8.0-windows</TargetFramework>
|
||
<UseWPF>true</UseWPF>
|
||
<!--
|
||
WinForms in addition to WPF for the system-tray NotifyIcon — there's no
|
||
WPF equivalent. The two frameworks coexist cleanly in .NET 8; UseWindowsForms
|
||
adds System.Windows.Forms.dll without changing the application model.
|
||
-->
|
||
<UseWindowsForms>true</UseWindowsForms>
|
||
<RootNamespace>TeamsISO.App</RootNamespace>
|
||
<AssemblyName>TeamsISO</AssemblyName>
|
||
<EnableWindowsTargeting>true</EnableWindowsTargeting>
|
||
<ApplicationIcon>Assets\teamsiso.ico</ApplicationIcon>
|
||
<!--
|
||
Required by ParticipantViewModel.ScaleNearestNeighborBgra, which writes
|
||
directly into a WriteableBitmap's pinned BackBuffer (IntPtr) for 10×
|
||
better thumbnail update perf than going through Span<byte>.
|
||
-->
|
||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup>
|
||
<ProjectReference Include="..\TeamsISO.Engine\TeamsISO.Engine.csproj" />
|
||
<ProjectReference Include="..\TeamsISO.Engine.NdiInterop\TeamsISO.Engine.NdiInterop.csproj" />
|
||
</ItemGroup>
|
||
|
||
<!--
|
||
Grant the test assembly access to internal types — specifically the
|
||
OperatorPresetStore.PathOverride hook used to redirect file IO away from
|
||
%LOCALAPPDATA% during tests. We use AssemblyAttribute rather than
|
||
AssemblyInfo.cs so it co-locates with the project's other config.
|
||
-->
|
||
<ItemGroup>
|
||
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
||
<_Parameter1>TeamsISO.App.Tests</_Parameter1>
|
||
</AssemblyAttribute>
|
||
</ItemGroup>
|
||
|
||
<!-- Wild Dragon brand assets — embedded as resources so the published binary is self-contained. -->
|
||
<ItemGroup>
|
||
<Resource Include="Assets\dragon-mark.png" />
|
||
<Resource Include="Assets\wild-dragon-wordmark.png" />
|
||
<Resource Include="Assets\teamsiso.ico" />
|
||
<!--
|
||
Inter Variable from rsms/inter v3.19 (OFL). Single .ttf covers every weight
|
||
from 100 (Thin) to 900 (Black) so we don't ship a directory of duplicates.
|
||
-->
|
||
<Resource Include="Assets\Fonts\Inter.ttf" />
|
||
<!--
|
||
JetBrains Mono Variable v2.304 (OFL). Used for machine names, source IDs,
|
||
and stat counters where a fixed-width font reads better than Inter.
|
||
-->
|
||
<Resource Include="Assets\Fonts\JetBrainsMono.ttf" />
|
||
</ItemGroup>
|
||
|
||
</Project>
|