<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->


<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <PropertyGroup>
    <ProjectGuid>{EA867716-8FF0-4008-B197-9F326420ABE4}</ProjectGuid>
    <AssemblyName>WixNetFxExtension</AssemblyName>
    <OutputType>Library</OutputType>
    <RootNamespace>Microsoft.Tools.WindowsInstallerXml.Extensions</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="NetFxCompiler.cs" />
    <Compile Include="NetFxDecompiler.cs" />
    <Compile Include="NetFxExtension.cs" />
    <EmbeddedFlattenedResource Include="Data\tables.xml">
      <LogicalName>$(RootNamespace).Data.tables.xml</LogicalName>
    </EmbeddedFlattenedResource>
    <EmbeddedFlattenedResource Include="Xsd\netfx.xsd">
      <LogicalName>$(RootNamespace).Xsd.netfx.xsd</LogicalName>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </EmbeddedFlattenedResource>
    <XsdGenSource Include="Xsd\netfx.xsd">
      <CommonNamespace>Microsoft.Tools.WindowsInstallerXml.Serialize</CommonNamespace>
      <Namespace>Microsoft.Tools.WindowsInstallerXml.Extensions.Serialize.NetFx</Namespace>
    </XsdGenSource>
    <EmbeddedResource Include="$(OutputPath)\netfx.wixlib">
      <Link>Data\netfx.wixlib</Link>
    </EmbeddedResource>
  </ItemGroup>

  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Xml" />
    <ProjectReference Include="..\..\..\tools\Wix\Wix.csproj" />
    <ProjectReference Include="..\wixlib\NetFxExtension.wixproj">
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
    </ProjectReference>
  </ItemGroup>

  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets" />
</Project>
