<?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>{B990D81B-9F60-4EEE-B31D-B5D1EAA799EE}</ProjectGuid>
    <AssemblyName>WixMsmqExtension</AssemblyName>
    <OutputType>Library</OutputType>
    <RootNamespace>Microsoft.Tools.WindowsInstallerXml.Extensions</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="MsmqCompiler.cs" />
    <Compile Include="MsmqDecompiler.cs" />
    <Compile Include="MsmqExtension.cs" />
    <EmbeddedFlattenedResource Include="Data\tables.xml">
      <LogicalName>$(RootNamespace).Data.tables.xml</LogicalName>
    </EmbeddedFlattenedResource>
    <EmbeddedFlattenedResource Include="Xsd\msmq.xsd">
      <LogicalName>$(RootNamespace).Xsd.msmq.xsd</LogicalName>
    </EmbeddedFlattenedResource>
    <XsdGenSource Include="Xsd\msmq.xsd">
      <CommonNamespace>Microsoft.Tools.WindowsInstallerXml.Serialize</CommonNamespace>
      <Namespace>Microsoft.Tools.WindowsInstallerXml.Extensions.Serialize.Msmq</Namespace>
    </XsdGenSource>
    <None Include="Xsd\msmq.xsd">
      <Link>msmq.xsd</Link>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <EmbeddedResource Include="$(OutputPath)\msmq.wixlib">
      <Link>Data\msmq.wixlib</Link>
    </EmbeddedResource>
  </ItemGroup>

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

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