<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\..\Build\NuGet.Settings.targets" />
  <PropertyGroup>
    <NuGetRoot>$(MSBuildProjectDirectory)\..\..\..</NuGetRoot>
    <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>
    <RunCodeAnalysis Condition="'$(EnableCodeAnalysis)'=='true'">true</RunCodeAnalysis>
  </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="PresentationCore" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="WindowsBase" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\..\..\Common\CommonAssemblyInfo.cs">
      <Link>Properties\CommonAssemblyInfo.cs</Link>
    </Compile>
    <Compile Include="..\..\..\common\CommonResources.cs">
      <Link>Common\CommonResources.cs</Link>
    </Compile>
    <Compile Include="..\..\..\common\CommonResources.designer.cs">
      <Link>Common\CommonResources.designer.cs</Link>
      <DependentUpon>CommonResources.cs</DependentUpon>
    </Compile>
    <Compile Include="..\..\..\common\GlobalSuppressions.cs">
      <Link>Common\GlobalSuppressions.cs</Link>
    </Compile>
    <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="DebugConstants.cs" Condition=" '$(Configuration)' == 'Debug' ">
      <InProject>false</InProject>
    </Compile>
    <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">
      <Link>Common\CommonResources.resx</Link>
      <DependentUpon>CommonResources.cs</DependentUpon>
      <LastGenOutput>CommonResources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <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="..\..\Core\Core.csproj">
      <Project>{F879F274-EFA0-4157-8404-33A19B4E6AEC}</Project>
      <Name>Core</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\VisualStudio\VisualStudio.csproj">
      <Project>{6146CA62-CC16-422C-A105-3E81F7452AA6}</Project>
      <Name>VisualStudio</Name>
    </ProjectReference>
    <ProjectReference Include="..\Console.Types\Console.Types.csproj">
      <Project>{6FD11460-39A3-4A10-BA63-7541B0A7D053}</Project>
      <Name>Console.Types</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <CodeAnalysisDictionary Include="..\..\..\CodeAnalysisDictionary.xml">
      <Link>Properties\CodeAnalysisDictionary.xml</Link>
    </CodeAnalysisDictionary>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <PropertyGroup>
    <PreBuildEvent>
    </PreBuildEvent>
  </PropertyGroup>
  <Target Name="BeforeBuild" Condition=" '$(Configuration)' == 'Debug' ">
    <PropertyGroup>
      <DebugConstants>$(MSBuildProjectDirectory)\DebugConstants.cs</DebugConstants>
    </PropertyGroup>
    <WriteLinesToFile File="$(DebugConstants)" Lines="#if DEBUG&#xD;&#xA;using System.IO%3B&#xD;&#xA;namespace NuGetConsole.Host.PowerShell {&#xD;&#xA;    public static class DebugConstants {&#xD;&#xA;        internal static string TestModulePath = Path.Combine(%40&quot;$(NuGetRoot)&quot;, %40&quot;test\EndToEnd\NuGet.Tests.psm1&quot;)%3B&#xD;&#xA;    }&#xD;&#xA;}&#xD;&#xA;#endif" Overwrite="true" />
  </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="AfterBuild">
  </Target>
  -->
</Project>