<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\..\..\Build\Common.props" Condition="Exists('..\..\..\..\Build\Common.props')" />
  <PropertyGroup>
    <PackagesDirectory>$(UserProfile)\.nuget\packages</PackagesDirectory>
    <ResolveNuGetPackages>true</ResolveNuGetPackages>
    <SkipValidatePackageReferences>true</SkipValidatePackageReferences>
    <TargetFrameworkProfile />
  </PropertyGroup>
  <PropertyGroup Condition="'$(VisualStudioVersion)' == '14.0'">
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition="'$(VisualStudioVersion)' == '15.0'">
    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup>
    <ProjectGuid>{5A79EEF3-51C0-4A14-8D37-50EF38AD835D}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>NuGetConsole.Host.PowerShell</RootNamespace>
    <AssemblyName>NuGetConsole.Host.PowerShell</AssemblyName>
    <CodeAnalysisRuleSet>..\..\..\..\NuGet.ruleset</CodeAnalysisRuleSet>
    <NuGetPackageImportStamp>d946fd5a</NuGetPackageImportStamp>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Debug' Or '$(Configuration)' == 'Coverage' Or '$(Configuration)' == 'Mono Debug'">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <DefineConstants>$(DefineConstants);DEBUG;CODE_ANALYSIS</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Release' Or '$(Configuration)' == 'Mono Release'">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <EmbedInteropTypes>False</EmbedInteropTypes>
    </Reference>
    <Reference Include="envdte80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <EmbedInteropTypes>False</EmbedInteropTypes>
    </Reference>
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <Reference Include="Microsoft.VisualStudio.Threading, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
    <Reference Include="PresentationCore" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.IO.Compression" />
    <Reference Include="System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Net.Http.WebRequest" />
    <Reference Include="WindowsBase" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\Console\Utils\CommonExtensionMethods.cs">
      <Link>Utils\CommonExtensionMethods.cs</Link>
    </Compile>
    <Compile Include="..\Console\Utils\UtilityMethods.cs">
      <Link>Utils\UtilityMethods.cs</Link>
    </Compile>
    <Compile Include="AsyncPowerShellHost.cs" />
    <Compile Include="Command.cs" />
    <Compile Include="CommandParser.cs" />
    <Compile Include="Common\CommonResources.cs" />
    <Compile Include="Common\CommonResources.designer.cs">
      <DependentUpon>CommonResources.cs</DependentUpon>
    </Compile>
    <Compile Include="Common\GlobalSuppressions.cs" />
    <Compile Include="IRunspaceManager.cs" />
    <Compile Include="NativeMethods.cs" />
    <Compile Include="ProjectExtensions.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="PSTypeWrapper.cs" />
    <Compile Include="RunspaceDispatcher.cs" />
    <Compile Include="RunspaceManager.cs" />
    <Compile Include="SyncPowerShellHost.cs" />
    <Compile Include="Utils\CommandExpansion.cs" />
    <Compile Include="CommandTokenizer.cs" />
    <Compile Include="GlobalSuppressions.cs" />
    <Compile Include="Utils\ComplexCommand.cs" />
    <Compile Include="Utils\MethodBinder.cs" />
    <Compile Include="Utils\TypeWrapper.cs" />
    <Compile Include="HostUtilities.cs" />
    <Compile Include="NuGetPSHost.cs" />
    <Compile Include="NuGetHostRawUserInterface.cs" />
    <Compile Include="NuGetHostUserInterface.cs" />
    <Compile Include="PowerShellHost.cs" />
    <Compile Include="PowerShellHostService.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Common\CommonResources.resx">
      <DependentUpon>CommonResources.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <None Include="app.config" />
    <None Include="project.json" />
    <None Include="Scripts\Add-WrapperMembers.ps1" />
    <None Include="Scripts\NuGet.Types.ps1xml" />
    <None Include="Scripts\NuGet.psd1" />
    <None Include="Scripts\nuget.psm1" />
    <None Include="Scripts\Profile.ps1" />
    <None Include="Scripts\NuGet.Format.ps1xml" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\PackageManagement.UI\PackageManagement.UI.csproj">
      <Project>{538adefd-2170-40a9-a2c5-ec8369cfe490}</Project>
      <Name>PackageManagement.UI</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\PackageManagement.VisualStudio\PackageManagement.VisualStudio.csproj">
      <Project>{306cddfa-ff0b-4299-930c-9ec6c9308160}</Project>
      <Name>PackageManagement.VisualStudio</Name>
    </ProjectReference>
    <ProjectReference Include="..\Console.Types\Console.Types.csproj">
      <Project>{6FD11460-39A3-4A10-BA63-7541B0A7D053}</Project>
      <Name>Console.Types</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <None Include="Scripts\about_NuGet.PackageManagement.PowerShellCmdlets.help.txt" />
    <None Include="Scripts\NuGet.PackageManagement.PowerShellCmdlets.dll-Help.xml" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="..\..\..\..\Build\common.targets" />
  <Import Project="..\..\..\..\Build\sign.targets" />
  <PropertyGroup Condition="'$(VisualStudioVersion)' == '14.0'">
    <PreBuildEvent>copy /y "$(MSBuildProjectDirectory)\project.dev14.json" "$(MSBuildProjectDirectory)\project.json"</PreBuildEvent>
  </PropertyGroup>
  <PropertyGroup Condition="'$(VisualStudioVersion)' == '15.0'">
    <PreBuildEvent>copy /y "$(MSBuildProjectDirectory)\project.dev15.json" "$(MSBuildProjectDirectory)\project.json"</PreBuildEvent>
  </PropertyGroup>
</Project>