<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.1</TargetFramework>
    <RootNamespace>VpnHood.Client.App.UI</RootNamespace>
    <AssemblyName>VpnHood.Client.App.UI</AssemblyName>
    <PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
    <Authors>VpnHood</Authors>
    <Company>VpnHood</Company>
    <RepositoryUrl>https://github.com/vpnhood/vpnhood</RepositoryUrl>
    <PackageProjectUrl>https://github.com/vpnhood/vpnhood</PackageProjectUrl>
    <PackageIcon>VpnHood.png</PackageIcon>
    <Description>Tiny internal webserver to server your single-page application (SPA). You need this only if you want to create a UI for your VpnHood client by single-page application (SPA).</Description>
    <PackageId>VpnHood.Client.App.UI</PackageId>
    <Version>2.6.346</Version>
    <AssemblyVersion>2.6.346</AssemblyVersion>
    <FileVersion>$([System.DateTime]::Now.ToString("yyyy.M.d.HHmm"))</FileVersion>
    <Nullable>enable</Nullable>
    <LangVersion>latest</LangVersion>
  </PropertyGroup>

  <ItemGroup>
    <Compile Remove="Html\**" />
    <Compile Remove="Resources\**" />
    <EmbeddedResource Remove="Html\**" />
    <EmbeddedResource Remove="Resources\**" />
    <None Remove="Html\**" />
    <None Remove="Resources\**" />
  </ItemGroup>

  <ItemGroup>
    <None Include="..\VpnHood.png">
      <Pack>True</Pack>
      <PackagePath>\</PackagePath>
    </None>
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="EmbedIO" Version="3.5.2" />
    <PackageReference Include="Unosquare.Swan.Lite" Version="3.1.0" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="AppUiResource.Designer.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>AppUiResource.resx</DependentUpon>
    </Compile>
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Update="AppUiResource.resx">
      <Generator>PublicResXFileCodeGenerator</Generator>
      <LastGenOutput>AppUiResource.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\VpnHood.Client.App\VpnHood.Client.App.csproj" />
  </ItemGroup>

</Project>
