﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <UsingTask TaskName="MapBasicBuild.CompileMb" AssemblyFile="..\..\MapBasicBuildTask\MapBasicBuildTasks.dll" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x64</Platform>
    <ProjectGuid>{048D03FF-94C7-4930-AAEC-3CDC1D62CEF4}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>SimpleInteractiveCustomFrameExample</RootNamespace>
    <AssemblyName>SimpleInteractiveCustomFrameExample</AssemblyName>
    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <MapBasicExePath>..\..\..\..\..\CORE\x64\$(Configuration)\MI\Mapbasic.exe</MapBasicExePath>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PlatformTarget>AnyCPU</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PlatformTarget>AnyCPU</PlatformTarget>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="MapInfo.Events">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>C:\Program Files\MapInfo\Professional\MapInfo.Events.dll</HintPath>
      <HintPath>..\..\..\..\..\core\x64\$(Configuration)\MI\MapInfo.Events.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="MapInfo.Types">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>C:\Program Files\MapInfo\Professional\MapInfo.Types.dll</HintPath>
      <HintPath>..\..\..\..\..\core\x64\$(Configuration)\MI\MapInfo.Types.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
    <Reference Include="System" />
    <Reference Include="System.AddIn" />
    <Reference Include="System.AddIn.Contract" />
    <Reference Include="System.Core" />
    <Reference Include="System.Windows.Presentation" />
    <Reference Include="System.Xaml" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
    <Reference Include="WindowsBase" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="DelegateCommand.cs" />
    <Compile Include="InteractiveCustomFrameControl.cs" />
    <Compile Include="InteractiveCustomFrameControlContent.xaml.cs">
      <DependentUpon>InteractiveCustomFrameControlContent.xaml</DependentUpon>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Compile Include="SimpleInteractiveCustomFrameExample.cs" />
  </ItemGroup>
  <ItemGroup>
    <Page Include="InteractiveCustomFrameControlContent.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
  </ItemGroup>
  <ItemGroup>
    <Resource Include="windrose.png" />
  </ItemGroup>
  <ItemGroup>
    <CustomBuild Include="SimpleInteractiveCustomFrameExample.mb" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\CustomFrameHelpers\CustomFrameHelpers.csproj">
      <Project>{734a5e04-c728-47cc-a086-c7c152bfb055}</Project>
      <Name>CustomFrameHelpers</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>PublicResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Target Name="BuildMapBasic" AfterTargets="Build" Inputs="@(CustomBuild)" Outputs="@(CustomBuild->'$(OutDir)\%(Filename).mbx')">
    <Message Text="Building with mapbasic: $(MapBasicExePath)" />
    <MapBasicBuild.CompileMb SourceFiles="@(CustomBuild->'%(FullPath)')" MapBasicExe="$(MapBasicExePath)" OutputFolder="$(OutDir)" IntermediateFolder="$(IntDir)" />
  </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="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>