mirror of
https://github.com/dorssel/usbipd-win.git
synced 2026-11-10 14:43:56 +08:00
59 lines
1.8 KiB
XML
59 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
SPDX-FileCopyrightText: 2020 Frans van Dorsselaer
|
|
|
|
SPDX-License-Identifier: GPL-3.0-only
|
|
-->
|
|
<Project Sdk="Microsoft.NET.Sdk.Worker">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>$(MainTargetFramework)</TargetFrameworks>
|
|
<OutputType>Exe</OutputType>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
<IsPublishable>true</IsPublishable>
|
|
<PublishProfile>Properties\PublishProfiles\InputForInstaller.pubxml</PublishProfile>
|
|
<PublishAot>true</PublishAot>
|
|
<CopyOutputSymbolsToPublishDirectory>false</CopyOutputSymbolsToPublishDirectory>
|
|
|
|
<AssemblyName>usbipd</AssemblyName>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="..\COPYING.md" Link="COPYING.md" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" />
|
|
<PackageReference Include="Microsoft.Windows.CsWin32" PrivateAssets="all" />
|
|
<PackageReference Include="System.CommandLine" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Usbipd.Automation\Usbipd.Automation.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="wsl\auto-attach.sh;wsl\usbip;WSL\README.md">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<Target Name="RemoveTranslations" BeforeTargets="Build">
|
|
<ItemGroup>
|
|
<Translations Include="$(OutputPath)\**\System.CommandLine.resources.dll" />
|
|
</ItemGroup>
|
|
<RemoveDir Directories="@(Translations->DirectoryName())" />
|
|
</Target>
|
|
|
|
<Target Name="RemoveDebug" AfterTargets="Publish">
|
|
<ItemGroup>
|
|
<DebugFiles Include="$(PublishDir)\**\*.pdb" />
|
|
</ItemGroup>
|
|
<Delete Files="@(DebugFiles)" />
|
|
</Target>
|
|
|
|
</Project>
|