<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{B8F5E3A1-7C2D-4E9F-A1B3-6D8E4F2C9A01}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>XP.Hardware.RaySource.Comet.Host</RootNamespace>
    <AssemblyName>XP.Hardware.RaySource.Comet.Host</AssemblyName>
    <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <Deterministic>true</Deterministic>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup>
    <ApplicationIcon>Comet.Host.Icon.ico</ApplicationIcon>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="BR.AN.PviServices, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>bin\Debug\BR.AN.PviServices.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
    <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
      <HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Comet\CometErrorData.cs" />
    <Compile Include="Comet\CometLogLevel.cs" />
    <Compile Include="Comet\CometPviClient.cs" />
    <Compile Include="Comet\CometStatusData.cs" />
    <Compile Include="Comet\PviConnectionState.cs" />
    <Compile Include="Program.cs" />
    <Compile Include="Properties\Resource.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resource.resx</DependentUpon>
    </Compile>
    <Compile Include="Forms\ForceExitPasswordDialog.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Forms\XplorePlaneCometHost.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Forms\XplorePlaneCometHost.Designer.cs">
      <DependentUpon>XplorePlaneCometHost.cs</DependentUpon>
    </Compile>
    <Compile Include="Pipe\CommandDispatcher.cs" />
    <Compile Include="Pipe\PushNotifier.cs" />
    <Compile Include="Pipe\WriteOnlyPipeStream.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="packages.config" />
    <None Include="App.config" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\XP.Hardware.RaySource.Comet.Messages\XP.Hardware.RaySource.Comet.Messages.csproj">
      <Project>{6170af9f-a792-6bdc-4e25-072ea87faa15}</Project>
      <Name>XP.Hardware.RaySource.Comet.Messages</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Resources\" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Properties\Resource.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resource.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <EmbeddedResource Include="Forms\XplorePlaneCometHost.resx">
      <DependentUpon>XplorePlaneCometHost.cs</DependentUpon>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <Content Include="Comet.Host.Icon.ico" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <!-- 编译后将 Host 进程及其所有依赖复制到 XP.App 主程序输出目录的 Host 子目录 -->
  <PropertyGroup>
    <PostBuildEvent>if not exist "$(SolutionDir)XP.App\bin\$(ConfigurationName)\net8.0-windows7.0\Host\" mkdir "$(SolutionDir)XP.App\bin\$(ConfigurationName)\net8.0-windows7.0\Host\"
xcopy /Y /D "$(TargetDir)*.*" "$(SolutionDir)XP.App\bin\$(ConfigurationName)\net8.0-windows7.0\Host\"</PostBuildEvent>
  </PropertyGroup>
</Project>