<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Condition="'$(TargetFramework)'=='net461'" >
    <OutputType>WinExe</OutputType>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="$(MSBuildThisFileDirectory)..\src\Avalonia.Desktop\Avalonia.Desktop.csproj" />
  </ItemGroup>
  <Target Name="GatherReferences" AfterTargets="CoreCompile">
    <WriteLinesToFile File="$(TargetPath).refs"
                      Lines="@(ReferencePathWithRefAssemblies)"
                      Overwrite="true" />
  </Target>
</Project>
