Guest User

Untitled

a guest
Oct 11th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 11.20 KB | None | 0 0
  1. /* ---- Package.appxmanifest START ---- */
  2. <?xml version="1.0" encoding="utf-8"?>
  3.  
  4. <Package
  5.   xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
  6.   xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
  7.   xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
  8.   xmlns:uap6="http://schemas.microsoft.com/appx/manifest/uap/windows10/6"
  9.   xmlns:uap11="http://schemas.microsoft.com/appx/manifest/uap/windows10/11"
  10.   xmlns:uap18="http://schemas.microsoft.com/appx/manifest/uap/windows10/18"
  11.   IgnorableNamespaces="uap rescap uap6 uap11 uap18">
  12.  
  13.   <Identity
  14.     Name="29c814ab-66fd-418a-8369-10d6ae278aeb"
  15.     Publisher="CN=Razorz"
  16.     Version="1.0.0.0" />
  17.  
  18.   <Properties>
  19.     <DisplayName>RecorderApp.Package</DisplayName>
  20.     <PublisherDisplayName>Razorz</PublisherDisplayName>
  21.     <Logo>Images\StoreLogo.png</Logo>
  22.   </Properties>
  23.  
  24.   <Dependencies>
  25.     <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
  26.     <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
  27.   </Dependencies>
  28.  
  29.   <Resources>
  30.     <Resource Language="x-generate"/>
  31.   </Resources>
  32.  
  33.   <Applications>
  34.       <Application Id="App"
  35.         Executable="RecorderAppDesktop.exe"
  36.         EntryPoint="Windows.FullTrustApplication">
  37.           <uap:VisualElements
  38.             DisplayName="RecorderApp.Package"
  39.             Description="RecorderApp.Package"
  40.             BackgroundColor="transparent"
  41.             Square150x150Logo="Images\Square150x150Logo.png"
  42.             Square44x44Logo="Images\Square44x44Logo.png">
  43.               <uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
  44.               <uap:SplashScreen Image="Images\SplashScreen.png" />
  45.           </uap:VisualElements>
  46.       </Application>
  47.   </Applications>
  48.  
  49.   <Capabilities>
  50.     <Capability Name="internetClient" />
  51.     <rescap:Capability Name="runFullTrust" />
  52.     <uap11:Capability Name="graphicsCaptureProgrammatic"/>
  53.   </Capabilities>
  54. </Package>
  55. /* ---- Package.appxmanifest END ---- */
  56.  
  57. /* ---- RecorderApp.Package START ---- */
  58. <?xml version="1.0" encoding="utf-8"?>
  59. <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  60.   <PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
  61.     <VisualStudioVersion>15.0</VisualStudioVersion>
  62.   </PropertyGroup>
  63.   <ItemGroup Label="ProjectConfigurations">
  64.     <ProjectConfiguration Include="Debug|x86">
  65.       <Configuration>Debug</Configuration>
  66.       <Platform>x86</Platform>
  67.     </ProjectConfiguration>
  68.     <ProjectConfiguration Include="Release|x86">
  69.       <Configuration>Release</Configuration>
  70.       <Platform>x86</Platform>
  71.     </ProjectConfiguration>
  72.     <ProjectConfiguration Include="Debug|x64">
  73.       <Configuration>Debug</Configuration>
  74.       <Platform>x64</Platform>
  75.     </ProjectConfiguration>
  76.     <ProjectConfiguration Include="Release|x64">
  77.       <Configuration>Release</Configuration>
  78.       <Platform>x64</Platform>
  79.     </ProjectConfiguration>
  80.     <ProjectConfiguration Include="Debug|ARM">
  81.       <Configuration>Debug</Configuration>
  82.       <Platform>ARM</Platform>
  83.     </ProjectConfiguration>
  84.     <ProjectConfiguration Include="Release|ARM">
  85.       <Configuration>Release</Configuration>
  86.       <Platform>ARM</Platform>
  87.     </ProjectConfiguration>
  88.     <ProjectConfiguration Include="Debug|ARM64">
  89.       <Configuration>Debug</Configuration>
  90.       <Platform>ARM64</Platform>
  91.     </ProjectConfiguration>
  92.     <ProjectConfiguration Include="Release|ARM64">
  93.       <Configuration>Release</Configuration>
  94.       <Platform>ARM64</Platform>
  95.     </ProjectConfiguration>
  96.     <ProjectConfiguration Include="Debug|AnyCPU">
  97.       <Configuration>Debug</Configuration>
  98.       <Platform>AnyCPU</Platform>
  99.     </ProjectConfiguration>
  100.     <ProjectConfiguration Include="Release|AnyCPU">
  101.       <Configuration>Release</Configuration>
  102.       <Platform>AnyCPU</Platform>
  103.     </ProjectConfiguration>
  104.   </ItemGroup>
  105.   <PropertyGroup>
  106.     <WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
  107.   </PropertyGroup>
  108.   <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
  109.   <PropertyGroup>
  110.     <ProjectGuid>680a8131-a529-4307-92e8-85a9a788a530</ProjectGuid>
  111.     <TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
  112.     <TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
  113.     <DefaultLanguage>en-US</DefaultLanguage>
  114.     <AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
  115.     <NoWarn>$(NoWarn);NU1702</NoWarn>
  116.     <EntryPointProjectUniqueName>..\RecorderAppDesktop\RecorderAppDesktop\RecorderAppDesktop.csproj</EntryPointProjectUniqueName>
  117.     <AppxBundlePlatforms>x64|x86|arm|arm64</AppxBundlePlatforms>
  118.   </PropertyGroup>
  119.   <ItemGroup>
  120.     <AppxManifest Include="Package.appxmanifest">
  121.       <SubType>Designer</SubType>
  122.     </AppxManifest>
  123.   </ItemGroup>
  124.   <ItemGroup>
  125.     <Content Include="Images\SplashScreen.scale-200.png" />
  126.     <Content Include="Images\LockScreenLogo.scale-200.png" />
  127.     <Content Include="Images\Square150x150Logo.scale-200.png" />
  128.     <Content Include="Images\Square44x44Logo.scale-200.png" />
  129.     <Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
  130.     <Content Include="Images\StoreLogo.png" />
  131.     <Content Include="Images\Wide310x150Logo.scale-200.png" />
  132.   </ItemGroup>
  133.   <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
  134.   <ItemGroup>
  135.     <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" PrivateAssets="all" />
  136.   </ItemGroup>
  137.   <ItemGroup>
  138.     <ProjectReference Include="..\RecorderAppDesktop\RecorderAppDesktop\RecorderAppDesktop.csproj" />
  139.   </ItemGroup>
  140.   <ItemGroup>
  141.     <Folder Include="Properties\" />
  142.  </ItemGroup>
  143. </Project>
  144. /* ---- RecorderApp.Package END ---- */
  145.  
  146. /* ---- RecorderAppDesktop START ---- */
  147. <Project Sdk="Microsoft.NET.Sdk">
  148.     <PropertyGroup>
  149.         <TargetFrameworks>net8.0-windows</TargetFrameworks>
  150.         <TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
  151.        
  152.         <TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
  153.         <MinimumRequiredVersion>10.0.18362.0</MinimumRequiredVersion>
  154.         <SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
  155.  
  156.         <OutputType>WinExe</OutputType>
  157.         <RuntimeIdentifiers>win-x64;win-x86;win-arm64</RuntimeIdentifiers>
  158.                
  159.         <Platforms>x64;x86</Platforms>
  160.        
  161.         <UseWinRT>false</UseWinRT>
  162.         <Nullable>enable</Nullable>
  163.         <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
  164.         <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
  165.         <LangVersion>preview</LangVersion>
  166.         <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  167.        
  168.         <UseWPF>false</UseWPF>
  169.         <UseWindowsForms>false</UseWindowsForms>
  170.     </PropertyGroup>
  171.  
  172.     <ItemGroup Condition="'$(TargetFramework)'=='net8.0-windows*'">
  173.         <PackageReference Include="Microsoft.Windows.SDK.Contracts" />
  174.         <PackageReference Include="Microsoft.Windows.CsWinRT" />
  175.         <PackageReference Include="Microsoft.Windows.SDK.WinRT" />
  176.         <PackageReference Include="Microsoft.Windows.SDK.NET" ExcludeAssets="All" />
  177.     </ItemGroup>
  178.  
  179.  <PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
  180.    <DefineConstants>WINDOWS</DefineConstants>
  181.  </PropertyGroup>
  182.  <PropertyGroup Condition="'$(OS)' == 'Linux'">
  183.    <DefineConstants>LINUX</DefineConstants>
  184.  </PropertyGroup>
  185.  <PropertyGroup Condition="'$(OS)' == 'OSX'">
  186.    <DefineConstants>MACOS</DefineConstants>
  187.  </PropertyGroup>
  188.  <PropertyGroup Condition="'$(OS)' == 'Android'">
  189.    <DefineConstants>ANDROID</DefineConstants>
  190.  </PropertyGroup>
  191.  <PropertyGroup Condition="'$(OS)' == 'iOS'">
  192.    <DefineConstants>IOS</DefineConstants>
  193.  </PropertyGroup>
  194.  
  195.  <ItemGroup>
  196.    <Folder Include="Assets\Raw\ffmpeg\Windows\" />
  197.    <Folder Include="Models\" />
  198.    <AvaloniaResource Include="Assets\**" />
  199.    <AdditionalFiles Remove="Package.appxmanifest" />
  200.    <Compile Remove="Platforms\Android\WindowManagerService.Android.cs" />
  201.    <COMReference Include="MSWMDMLib">
  202.      <WrapperTool>tlbimp</WrapperTool>
  203.      <VersionMinor>0</VersionMinor>
  204.      <VersionMajor>1</VersionMajor>
  205.      <Guid>6ec6c744-355f-11d3-8470-00c04f79dbc0</Guid>
  206.      <Lcid>0</Lcid>
  207.      <Isolated>false</Isolated>
  208.      <EmbedInteropTypes>true</EmbedInteropTypes>
  209.    </COMReference>
  210.    <COMReference Include="RTCOMDLLLib">
  211.      <WrapperTool>tlbimp</WrapperTool>
  212.      <VersionMinor>0</VersionMinor>
  213.      <VersionMajor>1</VersionMajor>
  214.      <Guid>26f518d6-88bb-4b03-b5b3-75147d609c90</Guid>
  215.      <Lcid>0</Lcid>
  216.      <Isolated>false</Isolated>
  217.      <EmbedInteropTypes>true</EmbedInteropTypes>
  218.    </COMReference>
  219.    <Folder Include="Views\Styles\Shared\" />
  220.  </ItemGroup>
  221.  
  222.  <ItemGroup>
  223.    <None Include="Platforms\Android\WindowManagerService.Android.cs" />
  224.  </ItemGroup>
  225.  
  226.  <ItemGroup>
  227.       <PackageReference Include="FFmpeg.AutoGen" />
  228.       <PackageReference Include="System.Runtime" Version="4.3.1" />
  229.       <PackageReference Include="Avalonia" Version="11.3.7" />
  230.       <PackageReference Include="Avalonia.Desktop" Version="11.*" />
  231.       <PackageReference Include="Avalonia.ReactiveUI" Version="11.3.6" />
  232.       <PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.6" />
  233.       <PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.6" />
  234.       <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
  235.       <PackageReference Include="Avalonia.Diagnostics" Version="11.3.6">
  236.           <IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
  237.           <PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
  238.       </PackageReference>
  239.       <PackageReference Include="Avalonia.Win32" Version="11.3.7" />
  240.       <PackageReference Include="Avalonia.Win32.Interoperability" Version="11.3.7" />
  241.       <PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
  242.       <PackageReference Include="MessageBox.Avalonia" Version="3.2.0" />
  243.       <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.9" />
  244.       <PackageReference Include="Avalonia.Controls.ItemsRepeater" Version="11.*" />
  245.       <PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.2.0" />
  246.       <PackageReference Include="SharpDX" Version="4.2.0" />
  247.       <PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" />
  248.       <PackageReference Include="SharpDX.DXGI" Version="4.2.0" />
  249.       <PackageReference Include="Silk.NET.Core" Version="2.22.0" />
  250.       <PackageReference Include="Silk.NET.Vulkan" Version="2.22.0" />
  251.       <PackageReference Include="System.Net.Http" Version="4.3.4" />
  252.       <PackageReference Include="System.Text.Json" Version="9.0.9" />
  253.       <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
  254.       <PackageReference Include="Vortice.Direct3D11" Version="3.6.2" />
  255.       <PackageReference Include="Vortice.Direct3D12" Version="3.6.2" />
  256.       <PackageReference Include="Vortice.DirectX" Version="3.6.2" />
  257.       <PackageReference Include="Xamarin.Essentials" Version="1.8.1" />
  258.  </ItemGroup>
  259.  
  260.  <ItemGroup>
  261.    <Compile Update="Views\DesktopSidebarView.axaml.cs">
  262.      <DependentUpon>DesktopSidebarView.axaml</DependentUpon>
  263.    </Compile>
  264.  </ItemGroup>
  265. </Project>
  266. /* ---- RecorderAppDesktop END ---- */
Advertisement
Add Comment
Please, Sign In to add comment