11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project DefaultTargets =" Build" ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3-
3+ <Import Project =" ..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.props" Condition =" Exists('..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.props')" />
4+ <Import Project =" ..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.props" Condition =" Exists('..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.props')" />
5+ <Import Project =" ..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.props" Condition =" Exists('..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.props')" />
46 <Import Project =" ..\..\..\common.openconsole.props" Condition =" '$(OpenConsoleDir)'==''" />
5-
67 <PropertyGroup >
78 <!-- cppwinrt.build.pre.props depends on these settings: -->
89 <!-- build a dll, not exe (Application) -->
2122 <ItemGroup >
2223 <!-- DON'T PUT XAML FILES HERE! Put them in TerminalAppLib.vcxproj -->
2324 </ItemGroup >
24-
2525 <!-- ========================= Headers ======================== -->
2626 <ItemGroup >
2727 <!-- Only put headers for winrt types in here. Don't put other header files
6060 <ProjectReference Include =" $(OpenConsoleDir)src\types\lib\types.vcxproj" >
6161 <Project >{18D09A24-8240-42D6-8CB6-236EEE820263}</Project >
6262 </ProjectReference >
63-
6463 <!-- The midl compiler however, _will_ aggregate our winmd dependencies
6564 somehow. So make sure to only include top-level dependencies here (don't
6665 include Settings and Connection, since Control will include them for us) -->
6766 <ProjectReference Include =" $(OpenConsoleDir)src\cascadia\TerminalSettings\TerminalSettings.vcxproj" />
6867 <ProjectReference Include =" $(OpenConsoleDir)src\cascadia\TerminalConnection\TerminalConnection.vcxproj" />
6968 <ProjectReference Include =" $(OpenConsoleDir)src\cascadia\TerminalControl\TerminalControl.vcxproj" />
70-
7169 <!-- Reference TerminalAppLib here, so we can use it's TerminalApp.winmd as
7270 our TerminalApp.winmd. This didn't work correctly in VS2017, you'd need to
7371 manually reference the lib -->
74-
75- <ProjectReference Include =" $(OpenConsoleDir)src\cascadia\TerminalApp\lib\TerminalAppLib.vcxproj" >
72+ <ProjectReference Include =" $(OpenConsoleDir)src\cascadia\TerminalApp\lib\TerminalAppLib.vcxproj" >
7673 <Private >true</Private >
7774 <CopyLocalSatelliteAssemblies >true</CopyLocalSatelliteAssemblies >
7875 </ProjectReference >
79-
8076 </ItemGroup >
81-
8277 <PropertyGroup >
8378 <!-- A small helper for paths to the compiled cppwinrt projects -->
8479 <_BinRoot Condition =" '$(Platform)' != 'Win32'" >$(OpenConsoleDir)$(Platform)\$(Configuration)\</_BinRoot >
8580 <_BinRoot Condition =" '$(Platform)' == 'Win32'" >$(OpenConsoleDir)$(Configuration)\</_BinRoot >
8681 </PropertyGroup >
87-
8882 <PropertyGroup >
8983 <!--
9084 DON'T REDIRECT OUR OUTPUT.
9993 </ClCompile >
10094 <Link >
10195 <AdditionalDependencies >User32.lib;WindowsApp.lib;shell32.lib;%(AdditionalDependencies)</AdditionalDependencies >
102-
10396 <!-- TerminalAppLib contains a DllMain that we need to force the use of. -->
10497 <AdditionalOptions Condition =" '$(Platform)'=='Win32'" >/INCLUDE:_DllMain@12</AdditionalOptions >
10598 <AdditionalOptions Condition =" '$(Platform)'!='Win32'" >/INCLUDE:DllMain</AdditionalOptions >
10699 </Link >
107100 </ItemDefinitionGroup >
108101 <Import Project =" $(OpenConsoleDir)src\common.build.post.props" />
109-
110102 <Import Project =" $(OpenConsoleDir)src\cppwinrt.build.post.props" />
111-
112103 <!-- Import this set of targets that fixes a VS bug that manifests when using
113104 the TerminalAppLib project -->
114105 <Import Project =" FixVisualStudioBug.targets" />
115-
116- </Project >
106+ <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
107+ <PropertyGroup >
108+ <ErrorText >This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText >
109+ </PropertyGroup >
110+ <Error Condition =" !Exists('..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.props'))" />
111+ <Error Condition =" !Exists('..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.targets')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.targets'))" />
112+ <Error Condition =" !Exists('..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.props'))" />
113+ <Error Condition =" !Exists('..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.targets')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.targets'))" />
114+ <Error Condition =" !Exists('..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.props'))" />
115+ <Error Condition =" !Exists('..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.targets')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.targets'))" />
116+ </Target >
117+ <Import Project =" ..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.targets" Condition =" Exists('..\..\..\packages\Microsoft.Build.Tasks.Git.1.0.0-beta2-19367-01\build\Microsoft.Build.Tasks.Git.targets')" />
118+ <Import Project =" ..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.targets" Condition =" Exists('..\..\..\packages\Microsoft.SourceLink.Common.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.Common.targets')" />
119+ <Import Project =" ..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.targets" Condition =" Exists('..\..\..\packages\Microsoft.SourceLink.GitHub.1.0.0-beta2-19367-01\build\Microsoft.SourceLink.GitHub.targets')" />
120+ </Project >
0 commit comments