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

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <AssemblyName>qController</AssemblyName>
    <RootNamespace>qController</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <Compile Remove="MyPage.cs" />
    <Compile Remove="Bespoke.Osc\Bespoke.Common.Osc\Properties\AssemblyInfo.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Receiver\Program.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Receiver\Properties\AssemblyInfo.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Transmitter\ITransmitter.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Transmitter\MulticastTransmitter.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Transmitter\Program.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Transmitter\TcpTransmitter.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Transmitter\UdpTransmitter.cs" />
    <Compile Remove="Bespoke.Osc\Samples\CS\Transmitter\Properties\AssemblyInfo.cs" />
    <Compile Remove="Bespoke.Net\Assert.cs" />
    <Compile Remove="Bespoke.Net\CommandLineParser.cs" />
    <Compile Remove="Bespoke.Net\ExceptionEventArgs.cs" />
    <Compile Remove="Bespoke.Net\FloatExtensions.cs" />
    <Compile Remove="Bespoke.Net\InputManager.cs" />
    <Compile Remove="Bespoke.Net\Node.cs" />
    <Compile Remove="Bespoke.Net\ObjectRegistry.cs" />
    <Compile Remove="Bespoke.Net\RandomHelper.cs" />
    <Compile Remove="Bespoke.Net\ServiceContainer.cs" />
    <Compile Remove="Bespoke.Net\StringExtensions.cs" />
    <Compile Remove="Bespoke.Net\Net\IPServer.cs" />
    <Compile Remove="Bespoke.Net\Net\TcpConnection.cs" />
    <Compile Remove="Bespoke.Net\Net\TcpConnectionEventArgs.cs" />
    <Compile Remove="Bespoke.Net\Net\TcpDataReceivedEventArgs.cs" />
    <Compile Remove="Bespoke.Net\Net\TcpServer.cs" />
    <Compile Remove="Bespoke.Net\Net\TransmissionType.cs" />
    <Compile Remove="Bespoke.Net\Net\UdpDataReceivedEventArgs.cs" />
    <Compile Remove="Bespoke.Net\Net\UdpServer.cs" />
    <Compile Remove="Bespoke.Net\Properties\AssemblyInfo.cs" />
    <Compile Remove="Classes\QButton.cs" />
    <Compile Remove="Classes\Cues\QDefinitions.cs" />
    <Compile Remove="Classes\Communication\QSender.cs" />
    <Compile Remove="Classes\Communication\QSender.cs" />
    <Compile Remove="Pages\RootPageMenuItem.cs" />
    <Compile Remove="Pages\RootPageMaster.xaml.cs" />
    <Compile Remove="Pages\RootPageDetail.xaml.cs" />
    <Compile Remove="Pages\HomePage.xaml.cs" />
  </ItemGroup>
  <ItemGroup>
    <Compile Condition=" '$(EnableDefaultCompileItems)' == 'true' " Update="Pages\ControlPage.xaml.cs">
      <DependentUpon>*.xaml</DependentUpon>
    </Compile>
    <Compile Update="Pages\QBrowserPage.xaml.cs">
      <DependentUpon>QBrowserPage.xaml</DependentUpon>
    </Compile>
    <Compile Condition=" '$(EnableDefaultCompileItems)' == 'true' " Update="Pages\qControllerPage.xaml.cs">
      <DependentUpon>*.xaml</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Acr.UserDialogs" Version="7.1.0.475" />
    <PackageReference Include="Zeroconf" Version="3.4.2" />
    <PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
    <PackageReference Include="Acr.Settings" Version="9.0.1" />
    <PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
    <PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
    <PackageReference Include="Serilog" Version="2.10.0" />
    <PackageReference Include="QControlKit" Version="0.0.15" />
  </ItemGroup>
  <ItemGroup>
    <None Remove="App.xaml" />
    <None Remove="qControllerPage.xaml" />
    <None Remove="ControlPage.xaml" />
    <None Remove="Bespoke.Osc\Samples\CS\Receiver\App.config" />
    <None Remove="Bespoke.Osc\Samples\CS\Transmitter\App.config" />
    <None Remove="Bespoke.Osc\Samples\VB\Receiver\App.config" />
    <None Remove="Bespoke.Osc\Samples\VB\Receiver\My Project\Application.Designer.vb" />
    <None Remove="Bespoke.Osc\Samples\VB\Receiver\My Project\Application.myapp" />
    <None Remove="Bespoke.Net\.gitignore" />
    <None Remove="Bespoke.Net\Help\Bespoke Common Library.chm" />
  </ItemGroup>
  <!--<ItemGroup>
    <EmbeddedResource Include="Pages\ControlPage.xaml">
      <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
    </EmbeddedResource>
    <EmbeddedResource Include="Pages\qControllerPage.xaml" />
    <EmbeddedResource Include="App.xaml" />
  </ItemGroup>-->
  <ItemGroup>
    <Folder Include="Classes\QItems\" />
    <Folder Include="Classes\Settings\" />
    <Folder Include="Classes\UI\" />
    <Folder Include="Classes\Events\" />
    <Folder Include="Classes\UI\Buttons\" />
    <Folder Include="Classes\UI\Cells\" />
    <Folder Include="Classes\Helpers\" />
    <Folder Include="Views\Old\" />
    <Folder Include="Classes\UI\Dialogs\" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Remove="Pages\RootPageMaster.xaml" />
    <EmbeddedResource Remove="Pages\RootPageDetail.xaml" />
    <EmbeddedResource Remove="Pages\HomePage.xaml" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Update="Pages\QBrowserPage.xaml">
      <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
    </EmbeddedResource>
    <EmbeddedResource Update="Pages\WorkspacePage.xaml">
      <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
    </EmbeddedResource>
  </ItemGroup>
</Project>
