﻿<Project DefaultTargets="Build"
  xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <MicrosoftBuildPackageVersion>16.5.0</MicrosoftBuildPackageVersion>
    <PackageAccess>internal</PackageAccess>
    <PackageOutputPath>$(RepoRootPath)bin\Packages\$(Configuration)\Nuget\$(PackageAccess)\</PackageOutputPath>
  </PropertyGroup>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.20912</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{3FD65E43-B9C7-4803-8195-6C9572E3821D}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Microsoft.VsSDK.UnitTestLibrary</RootNamespace>
    <AssemblyName>Microsoft.VSSDK.UnitTestLibrary</AssemblyName>
    <OutputPath Condition="'$(OutputPath)'!=''">$(VSSDK_RAW_ROOT)</OutputPath>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath Condition="'$(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 Condition="'$(OutputPath)'==''">bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.Build.Engine, Version=$(MicrosoftBuildPackageVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>true</SpecificVersion>
    </Reference>
    <Reference Include="Microsoft.Build.Framework, Version=$(MicrosoftBuildPackageVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>true</SpecificVersion>
    </Reference>
    <Reference Include="$(vsFrameworkLatest)" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="BaseMock.cs" />
    <Compile Include="ConnectionPointHelper.cs" />
    <Compile Include="FileGenerator.cs" />
    <Compile Include="GenericMockFactory.cs" />
    <Compile Include="LocalRegistryMock.cs" />
    <Compile Include="MockBuildEngine.cs" />
    <Compile Include="OleServiceProvider.cs" />
    <Compile Include="OutputWindowPane.cs" />
    <Compile Include="OutputWindowService.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="RegistrationContextMock.cs" />
    <Compile Include="RegistrationKeyMock.cs" />
    <Compile Include="TextWriterMock.cs" />
  </ItemGroup>
  <ItemGroup>
    <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
  </ItemGroup>
  <ItemGroup>
    <PublishPartLinked Include="$(OutputPath)\$(AssemblyName).dll">
      <Visibility>Inter</Visibility>
      <FileType>Reference</FileType>
      <DoNotCopyPDB>true</DoNotCopyPDB>
    </PublishPartLinked>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
  <Target Name="AfterBuild" Inputs="$(IntermediateOutputPath)$(AssemblyName)$(TargetExt)" Outputs="$(OutputPath)Internal\$(AssemblyName)$(TargetExt)">
    <Copy SourceFiles="$(IntermediateOutputPath)$(AssemblyName)$(TargetExt)" DestinationFiles="$(OutputPath)Internal\$(AssemblyName)$(TargetExt)" Condition="Exists('$(IntermediateOutputPath)$(AssemblyName)$(TargetExt)')" />
    <Copy SourceFiles="$(OutputPath)$(AssemblyName)$(TargetExt)" DestinationFiles="$(VSSDK_SUITEBIN)$(AssemblyName)$(TargetExt)" />
  </Target>
</Project>
