<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\packages\Costura.Fody.3.3.3\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.3.3.3\build\Costura.Fody.props')" />
  <Import Project="..\packages\Caseless.Fody.1.8.3\build\Caseless.Fody.props" Condition="Exists('..\packages\Caseless.Fody.1.8.3\build\Caseless.Fody.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.21022</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{8C02D2F7-7CDB-4D55-9F25-CD03EF4AA062}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Shadowsocks</RootNamespace>
    <AssemblyName>Shadowsocks</AssemblyName>
    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <StartupObject>
    </StartupObject>
    <ApplicationIcon>shadowsocks.ico</ApplicationIcon>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <OldToolsVersion>3.5</OldToolsVersion>
    <TargetFrameworkProfile>
    </TargetFrameworkProfile>
    <NuGetPackageImportStamp>
    </NuGetPackageImportStamp>
    <PublishUrl>publish\</PublishUrl>
    <Install>true</Install>
    <InstallFrom>Disk</InstallFrom>
    <UpdateEnabled>false</UpdateEnabled>
    <UpdateMode>Foreground</UpdateMode>
    <UpdateInterval>7</UpdateInterval>
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    <UpdatePeriodically>false</UpdatePeriodically>
    <UpdateRequired>false</UpdateRequired>
    <MapFileExtensions>true</MapFileExtensions>
    <ApplicationRevision>1</ApplicationRevision>
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>bin\x86\Debug\</OutputPath>
    <DefineConstants>TRACE;DEBUG</DefineConstants>
    <DebugType>full</DebugType>
    <PlatformTarget>x86</PlatformTarget>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
    <Prefer32Bit>false</Prefer32Bit>
    <Optimize>false</Optimize>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    <OutputPath>bin\x86\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <Optimize>true</Optimize>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>x86</PlatformTarget>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
    <Prefer32Bit>false</Prefer32Bit>
    <DebugSymbols>true</DebugSymbols>
  </PropertyGroup>
  <PropertyGroup>
    <ApplicationManifest>app.manifest</ApplicationManifest>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Caseless, Version=1.8.3.0, Culture=neutral, PublicKeyToken=409b3227471b0f0d, processorArchitecture=MSIL">
      <HintPath>..\packages\Caseless.Fody.1.8.3\lib\net452\Caseless.dll</HintPath>
    </Reference>
    <Reference Include="Costura, Version=3.3.3.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
      <HintPath>..\packages\Costura.Fody.3.3.3\lib\net40\Costura.dll</HintPath>
    </Reference>
    <Reference Include="GlobalHotKey, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>..\packages\GlobalHotKey.1.1.0\lib\GlobalHotKey.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="Microsoft.VisualBasic" />
    <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
      <HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
    </Reference>
    <Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
      <HintPath>..\packages\NLog.4.6.8\lib\net45\NLog.dll</HintPath>
    </Reference>
    <Reference Include="PresentationCore" />
    <Reference Include="System" />
    <Reference Include="System.Configuration" />
    <Reference Include="System.Data" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.IO.Compression" />
    <Reference Include="System.Management" />
    <Reference Include="System.Net" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.ServiceModel" />
    <Reference Include="System.Transactions" />
    <Reference Include="System.Web" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Windows.Forms.DataVisualization" />
    <Reference Include="System.XML" />
    <Reference Include="WindowsBase" />
    <Reference Include="zxing, Version=0.16.5.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
      <HintPath>..\packages\ZXing.Net.0.16.5\lib\net47\zxing.dll</HintPath>
    </Reference>
    <Reference Include="zxing.presentation, Version=0.16.5.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
      <HintPath>..\packages\ZXing.Net.0.16.5\lib\net47\zxing.presentation.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Controller\HotkeyReg.cs" />
    <Compile Include="Controller\LoggerExtension.cs" />
    <Compile Include="Controller\Service\PACDaemon.cs" />
    <Compile Include="Controller\System\Hotkeys\HotkeyCallbacks.cs" />
    <Compile Include="Encryption\AEAD\AEADEncryptor.cs" />
    <Compile Include="Encryption\AEAD\AEADMbedTLSEncryptor.cs" />
    <Compile Include="Encryption\AEAD\AEADOpenSSLEncryptor.cs" />
    <Compile Include="Encryption\AEAD\AEADSodiumEncryptor.cs" />
    <Compile Include="Encryption\CircularBuffer\ByteCircularBuffer.cs" />
    <Compile Include="Encryption\EncryptorBase.cs" />
    <Compile Include="Encryption\EncryptorFactory.cs" />
    <Compile Include="Encryption\Exception\CryptoException.cs" />
    <Compile Include="Encryption\IEncryptor.cs" />
    <Compile Include="Encryption\MbedTLS.cs" />
    <Compile Include="Encryption\OpenSSL.cs" />
    <Compile Include="Encryption\RNG.cs" />
    <Compile Include="Encryption\Sodium.cs" />
    <Compile Include="Encryption\Stream\StreamEncryptor.cs" />
    <Compile Include="Encryption\Stream\StreamMbedTLSEncryptor.cs" />
    <Compile Include="Encryption\Stream\StreamOpenSSLEncryptor.cs" />
    <Compile Include="Encryption\Stream\StreamSodiumEncryptor.cs" />
    <Compile Include="Model\HotKeyConfig.cs" />
    <Compile Include="Model\NLogConfig.cs" />
    <Compile Include="Model\ProxyConfig.cs" />
    <Compile Include="Model\SysproxyConfig.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
      <DependentUpon>Settings.settings</DependentUpon>
    </Compile>
    <Compile Include="Proxy\DirectConnect.cs" />
    <Compile Include="Proxy\HttpProxy.cs" />
    <Compile Include="Proxy\IProxy.cs" />
    <Compile Include="Controller\Service\AvailabilityStatistics.cs" />
    <Compile Include="Controller\Strategy\HighAvailabilityStrategy.cs" />
    <Compile Include="Controller\Strategy\StatisticsStrategy.cs" />
    <Compile Include="Controller\System\AutoStartup.cs" />
    <Compile Include="Controller\FileManager.cs" />
    <Compile Include="Controller\Service\GFWListUpdater.cs" />
    <Compile Include="Controller\I18N.cs" />
    <Compile Include="Controller\Service\Listener.cs" />
    <Compile Include="Controller\Service\PortForwarder.cs" />
    <Compile Include="Controller\Service\UDPRelay.cs" />
    <Compile Include="Controller\Service\UpdateChecker.cs" />
    <Compile Include="Controller\Service\PACServer.cs" />
    <Compile Include="Model\LogViewerConfig.cs" />
    <Compile Include="Model\Server.cs" />
    <Compile Include="Model\Configuration.cs" />
    <Compile Include="Model\StatisticsRecord.cs" />
    <Compile Include="Model\StatisticsStrategyConfiguration.cs" />
    <Compile Include="Controller\Strategy\BalancingStrategy.cs" />
    <Compile Include="Controller\Strategy\StrategyManager.cs" />
    <Compile Include="Controller\Strategy\IStrategy.cs" />
    <Compile Include="Controller\Service\Sip003Plugin.cs" />
    <Compile Include="Proxy\Socks5Proxy.cs" />
    <Compile Include="Settings.cs" />
    <Compile Include="Controller\System\Hotkeys\Hotkeys.cs" />
    <Compile Include="StringEx.cs" />
    <Compile Include="Util\ProcessManagement\Job.cs" />
    <Compile Include="Util\ProcessManagement\ThreadUtil.cs" />
    <Compile Include="Util\Sockets\LineReader.cs" />
    <Compile Include="Util\Sockets\SocketUtil.cs" />
    <Compile Include="Util\Sockets\WrappedSocket.cs" />
    <Compile Include="Util\SystemProxy\ProxyException.cs" />
    <Compile Include="Util\SystemProxy\Sysproxy.cs" />
    <Compile Include="Util\Util.cs" />
    <Compile Include="Util\ViewUtils.cs" />
    <Compile Include="View\ConfigForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="View\ConfigForm.Designer.cs">
      <DependentUpon>ConfigForm.cs</DependentUpon>
    </Compile>
    <Compile Include="Controller\Service\TCPRelay.cs" />
    <Compile Include="Controller\Service\PrivoxyRunner.cs" />
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Controller\ShadowsocksController.cs" />
    <Compile Include="Controller\System\SystemProxy.cs" />
    <Compile Include="View\CalculationControl.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="View\CalculationControl.Designer.cs">
      <DependentUpon>CalculationControl.cs</DependentUpon>
    </Compile>
    <Compile Include="View\HotkeySettingsForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="View\HotkeySettingsForm.designer.cs">
      <DependentUpon>HotkeySettingsForm.cs</DependentUpon>
    </Compile>
    <Compile Include="View\LogForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="View\LogForm.Designer.cs">
      <DependentUpon>LogForm.cs</DependentUpon>
    </Compile>
    <Compile Include="View\MenuViewController.cs" />
    <Compile Include="View\ProxyForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="View\ProxyForm.Designer.cs">
      <DependentUpon>ProxyForm.cs</DependentUpon>
    </Compile>
    <Compile Include="View\QRCodeForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="View\QRCodeForm.Designer.cs">
      <DependentUpon>QRCodeForm.cs</DependentUpon>
    </Compile>
    <Compile Include="View\QRCodeSplashForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="View\StatisticsStrategyConfigurationForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="View\StatisticsStrategyConfigurationForm.Designer.cs">
      <DependentUpon>StatisticsStrategyConfigurationForm.cs</DependentUpon>
    </Compile>
    <EmbeddedResource Include="View\ConfigForm.resx">
      <DependentUpon>ConfigForm.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <SubType>Designer</SubType>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <EmbeddedResource Include="View\CalculationControl.resx">
      <DependentUpon>CalculationControl.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="View\HotkeySettingsForm.resx">
      <DependentUpon>HotkeySettingsForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="View\LogForm.resx">
      <DependentUpon>LogForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="View\ProxyForm.resx">
      <DependentUpon>ProxyForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="View\QRCodeForm.resx">
      <DependentUpon>QRCodeForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="View\StatisticsStrategyConfigurationForm.resx">
      <DependentUpon>StatisticsStrategyConfigurationForm.cs</DependentUpon>
    </EmbeddedResource>
    <None Include="app.config" />
    <None Include="app.manifest">
      <SubType>Designer</SubType>
    </None>
    <None Include="Data\i18n.csv" />
    <None Include="Data\libsscrypto.dll.gz" />
    <None Include="Data\NLog.config" />
    <None Include="Data\privoxy.exe.gz" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Data\sysproxy.exe.gz" />
    <None Include="Data\sysproxy64.exe.gz" />
    <None Include="packages.config" />
    <None Include="Properties\DataSources\Shadowsocks.Model.StatisticsStrategyConfiguration.datasource" />
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <None Include="Resources\ssw128.png" />
    <Content Include="Data\abp.js" />
    <Content Include="Data\default-abp-rule.js" />
    <Content Include="Data\privoxy_conf.txt" />
    <Content Include="Data\user-rule.txt" />
    <None Include="FodyWeavers.xml">
      <SubType>Designer</SubType>
    </None>
    <Content Include="Resources\ss32Fill.png" />
    <Content Include="Resources\ss32In.png" />
    <Content Include="Resources\ss32Out.png" />
    <Content Include="Resources\ss32Outline.png" />
    <Content Include="shadowsocks.ico" />
  </ItemGroup>
  <ItemGroup>
    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5 SP1</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
      <Visible>False</Visible>
      <ProductName>Windows Installer 3.1</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="..\packages\Fody.4.2.1\build\Fody.targets" Condition="Exists('..\packages\Fody.4.2.1\build\Fody.targets')" />
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\packages\Fody.4.2.1\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.4.2.1\build\Fody.targets'))" />
    <Error Condition="!Exists('..\packages\Caseless.Fody.1.8.3\build\Caseless.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Caseless.Fody.1.8.3\build\Caseless.Fody.props'))" />
    <Error Condition="!Exists('..\packages\Costura.Fody.3.3.3\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.3.3.3\build\Costura.Fody.props'))" />
  </Target>
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>