Something went wrong. Try again.
Modular scanner/radio client and multi-broadcast server. uniscan.dexrn.me
Something went wrong. Try again.
12 kB · 249 lines
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net10.0</TargetFramework> <Nullable>enable</Nullable> <LangVersion>14</LangVersion> <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault> <Company>UniScanProject</Company> <AssemblyVersion>0.2.0</AssemblyVersion> <FileVersion>0.2.0</FileVersion> <Description>UniScan client</Description> <Configurations>Release App;Debug App</Configurations> <Platforms>AnyCPU</Platforms> </PropertyGroup>
<ItemGroup> <AvaloniaResource Include="Assets\**" /> <AvaloniaResource Include="..\..\..\external\MaterialSymbols\MaterialSymbolsRounded.ttf"> <Link>Assets\Fonts\MaterialSymbolsRounded.ttf</Link> </AvaloniaResource> <EmbeddedResource Include="Assets\L10N\**\*" /> </ItemGroup>
<ItemGroup> <PackageReference Include="AsyncImageLoader.Avalonia" /> <PackageReference Include="Avalonia" /> <PackageReference Include="Avalonia.Controls.ItemsRepeater" /> <PackageReference Include="Avalonia.Labs.Controls" /> <PackageReference Include="Avalonia.Themes.Fluent" /> <PackageReference Include="Avalonia.Fonts.Inter" /> <PackageReference Include="AvaloniaUI.DiagnosticsSupport"> <PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets> </PackageReference> <PackageReference Include="CommunityToolkit.Mvvm" /> <PackageReference Include="DialogHost.Avalonia" /> <PackageReference Include="DotNetty.Common" /> <PackageReference Include="R3Extensions.Avalonia" /> <PackageReference Include="Serilog.Extensions.Logging" /> <PackageReference Include="Serilog.Sinks.File" /> <PackageReference Include="SmartFormat" /> </ItemGroup>
<ItemGroup> <ProjectReference Include="..\..\..\external\Shiki\src\CodeGenerator\Shiki.CodeGenerator\Shiki.CodeGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\..\external\Shiki\src\FileSystem\Shiki.FileSystem.Implementations.Assembly\Shiki.FileSystem.Implementations.Assembly.csproj" /> <ProjectReference Include="..\..\..\external\Shiki\src\Shiki.Settings\Shiki.Settings.csproj" /> <ProjectReference Include="..\..\..\external\Shiki\src\Shiki.Common\Shiki.Common.csproj" /> <ProjectReference Include="..\..\Core\UniScan.Core\UniScan.Core.csproj" /> <ProjectReference Include="..\..\Core\UniScan.Device\UniScan.Device.csproj" /> <ProjectReference Include="..\..\Core\UniScan.UserInterface\UniScan.UserInterface.csproj" /> <ProjectReference Include="..\..\Platform\UniScan.Platform.DependencyInjection\UniScan.Platform.DependencyInjection.csproj" /> <ProjectReference Include="..\..\Network\UniScan.Network.Client\UniScan.Network.Client.csproj" /> <ProjectReference Include="..\..\Network\UniScan.Network\UniScan.Network.csproj" /> <ProjectReference Include="..\UniScan.Client.Core\UniScan.Client.Core.csproj" /> </ItemGroup>
<ItemGroup> <Compile Update="Views\Remote\RemoteInfoControl.axaml.cs"> <DependentUpon>RemoteInfoView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\RemoteLinkControl.axaml.cs"> <DependentUpon>RemoteLinkControl.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\SidebarRemoteItemControl.axaml.cs"> <DependentUpon>SidebarRemoteItemView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\Device\DeviceInfoControl.axaml.cs"> <DependentUpon>DeviceInfoView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\Device\DeviceListControl.axaml.cs"> <DependentUpon>DeviceListView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\Device\SidebarDeviceItemControl.axaml.cs"> <DependentUpon>DeviceSidebarView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\RemotePageView.axaml.cs"> <DependentUpon>MainRemotePageView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\RemoteRootPageView.axaml.cs"> <DependentUpon>RemoteView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\Connection\NotConnectedRemotePageView.axaml.cs"> <DependentUpon>NotConnectedRemotePageView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\Connection\ConnectionMethod\TCPConnectionMethodFactoryView.axaml.cs"> <DependentUpon>TCPConnectionMethodFactoryView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Home\HomePageView.axaml.cs"> <DependentUpon>MainPageView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\Connection\DisconnectedRemotePageView.axaml.cs"> <DependentUpon>DisconnectedRemotePageView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Global\HeadedSeparatorControl.axaml.cs"> <DependentUpon>HeadedSeparatorControl.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Settings\ClientSettingsView.axaml.cs"> <DependentUpon>ClientSettingsView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Global\LoadingView.axaml.cs"> <DependentUpon>LoadingView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Global\EmptyPageView.axaml.cs"> <DependentUpon>EmptyPageView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Remote\Action\AddRemoteDialog.axaml.cs"> <DependentUpon>AddRemoteDialogView.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Global\HeadedSeparatorControlViewModel.cs"> <DependentUpon>HeadedSeparatorControl.axaml</DependentUpon> </Compile> <Compile Update="Views\Global\LoadingViewModel.cs"> <DependentUpon>LoadingView.axaml</DependentUpon> </Compile> <Compile Update="Views\Global\EmptyPageViewModel.cs"> <DependentUpon>EmptyPageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Home\HomePageViewModel.cs"> <DependentUpon>HomePageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Action\AddRemoteDialogView.cs"> <DependentUpon>AddRemoteDialogView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Connection\ConnectionMethod\TCPConnectionMethodFactoryViewModel.cs"> <DependentUpon>TCPConnectionMethodFactoryView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Connection\DisconnectedRemotePageViewModel.cs"> <DependentUpon>DisconnectedRemotePageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Connection\NotConnectedRemotePageViewModel.cs"> <DependentUpon>NotConnectedRemotePageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Device\DeviceInfoControlViewModel.cs"> <DependentUpon>DeviceInfoControl.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Device\DeviceListControlViewModel.cs"> <DependentUpon>DeviceListControl.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\RemotePageViewModel.cs"> <DependentUpon>RemotePageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\RemoteInfoControlViewModel.cs"> <DependentUpon>RemoteInfoControl.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\RemoteLinkControlViewModel.cs"> <DependentUpon>RemoteLinkControl.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\RemoteRootPageViewModel.cs"> <DependentUpon>RemoteRootPageView.axaml</DependentUpon> </Compile> <Compile Update="Views\MainViewModel.cs"> <DependentUpon>MainView.axaml</DependentUpon> </Compile> <Compile Update="Views\RootViewModel.cs"> <DependentUpon>RootView.axaml</DependentUpon> </Compile> <Compile Update="Views\Settings\ClientSettingsViewModel.cs"> <DependentUpon>ClientSettingsView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Device\DevicePageViewModel.cs"> <DependentUpon>DevicePageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Device\DeviceRootPageViewModel.cs"> <DependentUpon>DeviceRootPageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Global\Dialog\DialogView.axaml.cs"> <DependentUpon>AddRemoteDialog.axaml</DependentUpon> <SubType>Code</SubType> </Compile> <Compile Update="Views\Global\Dialog\DialogViewModel.cs"> <DependentUpon>DialogView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Action\AddRemoteDialogView.axaml.cs"> <DependentUpon>AddRemoteDialogView.axaml</DependentUpon> </Compile> <Compile Update="Views\Remote\Action\AddRemoteDialogViewModel.cs"> <DependentUpon>AddRemoteDialogView.axaml</DependentUpon> </Compile> <Compile Update="Views\Settings\Pages\SettingsCategoryPageViewModel.cs"> <DependentUpon>SettingsCategoryPageView.axaml</DependentUpon> </Compile> <Compile Update="Views\Settings\Pages\SettingsEmptyPageViewModel.cs"> <DependentUpon>SettingsEmptyPageView.axaml</DependentUpon> </Compile> </ItemGroup>
<ItemGroup> <Content Update="Assets\logo.128x128.png"> <ExcludeFromSingleFile>true</ExcludeFromSingleFile> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> </Content> <Content Update="Assets\logo.192x192.png"> <ExcludeFromSingleFile>true</ExcludeFromSingleFile> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> </Content> <Content Update="Assets\logo.400x400.png"> <ExcludeFromSingleFile>true</ExcludeFromSingleFile> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> </Content> <Content Update="Assets\logo.512x512.png"> <ExcludeFromSingleFile>true</ExcludeFromSingleFile> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> </Content> <Content Update="Assets\README.md"> <ExcludeFromSingleFile>true</ExcludeFromSingleFile> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> </Content> </ItemGroup>
<PropertyGroup Condition="'$(UniScanPlatform)' != ''"> <DefineConstants>$(DefineConstants);$(UniScanPlatform)</DefineConstants> </PropertyGroup>
<!-- THIS TOOK SO FUCKING LONG TO GET WORKING MY GOD --> <ItemGroup Condition="'$(UniScanPlatform)' == 'browser'"> <Compile Remove="Views\Remote\Connection\ConnectionMethod\TCPConnectionMethodFactoryView.axaml.cs" /> <Compile Remove="Views\Remote\Connection\ConnectionMethod\TCPConnectionMethodFactoryView.axaml" /> <Compile Remove="Views\Remote\Connection\ConnectionMethod\TCPConnectionMethodFactoryViewModel.cs" /> <AvaloniaXaml Remove="Views\Remote\Connection\ConnectionMethod\TCPConnectionMethodFactoryView.axaml" /> </ItemGroup>
<Target Name="ClientDownloadMaterialSymbols" BeforeTargets="BeforeBuild;GenerateAvaloniaResources"> <Warning Text="SolutionDir is empty... won't download materialsymbols" Condition="'$(SolutionDir)' == '' OR '$(SolutionDir)' == '*Undefined*'" /> <Exec Command="dotnet run --file 'scripts/PullMaterialIcons.cs'" WorkingDirectory="$(SolutionDir)" Condition="'$(SolutionDir)' != '' AND '$(SolutionDir)' != '*Undefined*'" /> </Target></Project>