Untitled

 avatar
unknown
plain_text
17 days ago
1.1 kB
1
Indexable
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <!-- Target Framework -->
    <TargetFramework>net6.0-windows</TargetFramework>
    
    <!-- Platform Target -->
    <PlatformTarget>x64</PlatformTarget>
    
    <!-- Enable Windows Forms (if needed for GUI) -->
    <UseWindowsForms>true</UseWindowsForms>
    
    <!-- Enable High DPI Support (Optional, for better GUI scaling) -->
    <EnableWindowsFormsHighDpiAutoResizing>true</EnableWindowsFormsHighDpiAutoResizing>
    
    <!-- Enable Nullable Annotations (Optional, for better type safety) -->
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <!-- Reference to coreproxy.dll -->
    <None Update="coreproxy.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    
    <!-- Optional: Add any other dependencies you have -->
    <!-- Example: Add System.Drawing.Common if you use Point -->
    <PackageReference Include="System.Drawing.Common" Version="6.0.0" />
    <PackageReference Include="System.Windows.Extensions" Version="6.0.0" />
  </ItemGroup>

</Project>
Leave a Comment