a98d18c030
I'm working on making the FastUpToDate check in Vs work for the Terminal project. This is one of a few PRs in this area. FastUpToDate lets vs check quickly determine that it doesn't need to do anything for a given project. However, a few of our projects don't produce all the right artifacts, or check too many things, and this eventually causes the `wapproj` to rebuild, EVERY TIME YOU F5 in VS. This second PR deals with some projects MYSTERIOUSLY depending on the `.xaml` files from `Terminal.Control`, even when they by all accounts shouldn't. TerminalSettingsModel ISN'T EVEN A XAML project, so I have no idea why it thinks it needs these xaml files. The TerminalAppLib project thinking it needs them - makes more sense, but is still confusing. Below are my verbatim notes, which led to the solution in this PR. ``` 34>------ Up-To-Date check: Project: Microsoft.Terminal.Settings.Model.Lib, Configuration: Debug x64 ------ 34>Project is not up-to-date: build output 'c:\users\migrie\dev\public\terminal\bin\x64\debug\microsoft.terminal.settings.model.lib\microsoft.terminal.control\searchboxcontrol.xaml' is missing ``` * Just copying the xaml files from `bin\x64\debug\microsoft.terminal.control\microsoft.terminal.control\*.xaml` to `bin\x64\debug\microsoft.terminal.settings.model.lib\microsoft.terminal.control` seemed to fix this. * the .xbfs were already there * It's very unclear why these were ever needed? They aren't used in the build for `Microsoft.Terminal.Settings.Model.Lib`. They aren't copied as a part of the build either - no .xaml files are copied at all in fact * [ ] Does TSE have these .xamls in it's output? * UPDATE: checking out main, and building again - ran into this again. WHY?? * Cleaned again, then built TerminalApp.vcxproj. File is no longer needed? nothing makes sense. * `obj\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsof.CA5CAD1A.tlog\Microsoft.Terminal.Settings.Model.Lib.write.1u.tlog`: ``` C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\SearchBoxControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TermControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TSFInputControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.UI.Xaml\Assets\NoiseAsset_256X256_PNG.png C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\SearchBoxControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TermControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TSFInputControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\SearchBoxControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TermControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TSFInputControl.xbf C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\SearchBoxControl.xaml C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TermControl.xaml C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TSFInputControl.xaml ``` From the build: ``` 18>Target _CopyOutOfDateSourceItemsToOutputDirectory: 18> Skipping target "_CopyOutOfDateSourceItemsToOutputDirectory" because all output files are up-to-date with respect to the input files. 18> Input files: 18> C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Control\Microsoft.Terminal.Control\SearchBoxControl.xbf 18> C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Control\Microsoft.Terminal.Control\TermControl.xbf 18> C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Control\Microsoft.Terminal.Control\TSFInputControl.xbf 18> C:\Users\migrie\dev\public\terminal\packages\Microsoft.UI.Xaml.2.7.0-prerelease.210913003\runtimes\win10-x64\native\Microsoft.UI.Xaml\Assets\NoiseAsset_256X256_PNG.png 18> Output files: 18> C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\SearchBoxControl.xbf 18> C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TermControl.xbf 18> C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.Terminal.Control\TSFInputControl.xbf 18> C:\Users\migrie\dev\public\terminal\bin\x64\Debug\Microsoft.Terminal.Settings.Model.Lib\Microsoft.UI.Xaml\Assets\NoiseAsset_256X256_PNG.png ``` * Hmm, `21>Project is not up-to-date: build output 'c:\users\migrie\dev\public\terminal\bin\x64\debug\terminalapplib\microsoft.terminal.control\searchboxcontrol.xaml' is missing` as well.
291 lines
15 KiB
XML
291 lines
15 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
<PropertyGroup Label="Globals">
|
||
<ProjectGuid>{CA5CAD1A-d7ec-4107-b7c6-79cb77ae2907}</ProjectGuid>
|
||
<Keyword>Win32Proj</Keyword>
|
||
<ProjectName>Microsoft.Terminal.Settings.Model.Lib</ProjectName>
|
||
<RootNamespace>Microsoft.Terminal.Settings.Model</RootNamespace>
|
||
<TargetName>Microsoft.Terminal.Settings.Model.Lib</TargetName>
|
||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||
<SubSystem>Console</SubSystem>
|
||
<OpenConsoleUniversalApp>true</OpenConsoleUniversalApp>
|
||
</PropertyGroup>
|
||
<Import Project="..\..\..\common.openconsole.props" Condition="'$(OpenConsoleDir)'==''" />
|
||
<Import Project="$(OpenConsoleDir)src\cppwinrt.build.pre.props" />
|
||
<!-- ========================= Headers ======================== -->
|
||
<ItemGroup>
|
||
<ClInclude Include="VisualStudioGenerator.h" />
|
||
<ClInclude Include="DefaultTerminal.h">
|
||
<DependentUpon>DefaultTerminal.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="IconPathConverter.h">
|
||
<DependentUpon>IconPathConverter.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="pch.h" />
|
||
<ClInclude Include="ActionArgs.h">
|
||
<DependentUpon>ActionArgs.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="ActionAndArgs.h">
|
||
<DependentUpon>ActionArgs.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="ActionMap.h">
|
||
<DependentUpon>ActionMap.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="AzureCloudShellGenerator.h" />
|
||
<ClInclude Include="ApplicationState.h">
|
||
<DependentUpon>ApplicationState.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="CascadiaSettings.h">
|
||
<DependentUpon>CascadiaSettings.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="ColorScheme.h">
|
||
<DependentUpon>ColorScheme.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="Command.h">
|
||
<DependentUpon>Command.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="DynamicProfileUtils.h" />
|
||
<ClInclude Include="FileUtils.h" />
|
||
<ClInclude Include="GlobalAppSettings.h">
|
||
<DependentUpon>GlobalAppSettings.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="IInheritable.h" />
|
||
<ClInclude Include="MTSMSettings.h" />
|
||
<ClInclude Include="IDynamicProfileGenerator.h" />
|
||
<ClInclude Include="JsonUtils.h" />
|
||
<ClInclude Include="HashUtils.h" />
|
||
<ClInclude Include="KeyChordSerialization.h">
|
||
<DependentUpon>KeyChordSerialization.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="PowershellCoreProfileGenerator.h" />
|
||
<ClInclude Include="Profile.h">
|
||
<DependentUpon>Profile.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="AppearanceConfig.h">
|
||
<DependentUpon>AppearanceConfig.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="FontConfig.h">
|
||
<DependentUpon>FontConfig.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="EnumMappings.h">
|
||
<DependentUpon>EnumMappings.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="SettingsTypes.h" />
|
||
<ClInclude Include="TerminalSettings.h">
|
||
<DependentUpon>TerminalSettings.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="TerminalSettingsSerializationHelpers.h" />
|
||
<ClInclude Include="TerminalWarnings.h">
|
||
<DependentUpon>TerminalWarnings.idl</DependentUpon>
|
||
</ClInclude>
|
||
<ClInclude Include="VsDevCmdGenerator.h" />
|
||
<ClInclude Include="VsDevShellGenerator.h" />
|
||
<ClInclude Include="VsSetupConfiguration.h" />
|
||
<ClInclude Include="WslDistroGenerator.h" />
|
||
</ItemGroup>
|
||
<!-- ========================= Cpp Files ======================== -->
|
||
<ItemGroup>
|
||
<ClCompile Include="VisualStudioGenerator.cpp" />
|
||
<ClCompile Include="DefaultTerminal.cpp">
|
||
<DependentUpon>DefaultTerminal.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="IconPathConverter.cpp">
|
||
<DependentUpon>IconPathConverter.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="init.cpp" />
|
||
<ClCompile Include="pch.cpp">
|
||
<PrecompiledHeader>Create</PrecompiledHeader>
|
||
</ClCompile>
|
||
<ClCompile Include="ActionAndArgs.cpp">
|
||
<DependentUpon>ActionArgs.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="ActionArgs.cpp">
|
||
<DependentUpon>ActionArgs.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="ActionMap.cpp">
|
||
<DependentUpon>ActionMap.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="ActionMapSerialization.cpp">
|
||
<DependentUpon>ActionMap.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="AzureCloudShellGenerator.cpp" />
|
||
<ClCompile Include="ApplicationState.cpp">
|
||
<DependentUpon>ApplicationState.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="CascadiaSettings.cpp">
|
||
<DependentUpon>CascadiaSettings.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="CascadiaSettingsSerialization.cpp">
|
||
<DependentUpon>CascadiaSettings.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="ColorScheme.cpp">
|
||
<DependentUpon>ColorScheme.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="Command.cpp">
|
||
<DependentUpon>Command.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="DynamicProfileUtils.cpp" />
|
||
<ClCompile Include="FileUtils.cpp" />
|
||
<ClCompile Include="GlobalAppSettings.cpp">
|
||
<DependentUpon>GlobalAppSettings.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="KeyChordSerialization.cpp">
|
||
<DependentUpon>KeyChordSerialization.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="PowershellCoreProfileGenerator.cpp" />
|
||
<ClCompile Include="Profile.cpp">
|
||
<DependentUpon>Profile.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="AppearanceConfig.cpp">
|
||
<DependentUpon>AppearanceConfig.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="FontConfig.cpp">
|
||
<DependentUpon>FontConfig.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="TerminalSettings.cpp">
|
||
<DependentUpon>TerminalSettings.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="EnumMappings.cpp">
|
||
<DependentUpon>EnumMappings.idl</DependentUpon>
|
||
</ClCompile>
|
||
<ClCompile Include="VsDevCmdGenerator.cpp" />
|
||
<ClCompile Include="VsDevShellGenerator.cpp" />
|
||
<ClCompile Include="VsSetupConfiguration.cpp" />
|
||
<ClCompile Include="WslDistroGenerator.cpp" />
|
||
<!-- You _NEED_ to include this file and the jsoncpp IncludePath (below) if
|
||
you want to use jsoncpp -->
|
||
<ClCompile Include="$(OpenConsoleDir)\dep\jsoncpp\jsoncpp.cpp">
|
||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||
</ClCompile>
|
||
<ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
|
||
</ItemGroup>
|
||
<!-- ========================= idl Files ======================== -->
|
||
<ItemGroup>
|
||
<Midl Include="ActionArgs.idl" />
|
||
<Midl Include="ActionMap.idl" />
|
||
<Midl Include="ApplicationState.idl" />
|
||
<Midl Include="CascadiaSettings.idl" />
|
||
<Midl Include="ColorScheme.idl" />
|
||
<Midl Include="Command.idl" />
|
||
<Midl Include="DefaultTerminal.idl" />
|
||
<Midl Include="GlobalAppSettings.idl" />
|
||
<Midl Include="IconPathConverter.idl" />
|
||
<Midl Include="Profile.idl" />
|
||
<Midl Include="EnumMappings.idl" />
|
||
<Midl Include="TerminalSettings.idl" />
|
||
<Midl Include="TerminalWarnings.idl" />
|
||
<Midl Include="KeyChordSerialization.idl" />
|
||
<Midl Include="AppearanceConfig.idl" />
|
||
<Midl Include="IAppearanceConfig.idl" />
|
||
<Midl Include="FontConfig.idl" />
|
||
</ItemGroup>
|
||
<!-- ========================= Misc Files ======================== -->
|
||
<ItemGroup>
|
||
<PRIResource Include="Resources\en-US\Resources.resw" />
|
||
<OCResourceDirectory Include="Resources" />
|
||
<None Include="packages.config" />
|
||
</ItemGroup>
|
||
<!-- ========================= Project References ======================== -->
|
||
<ItemGroup>
|
||
<!--
|
||
the packaging project won't recurse through our dependencies, you have to
|
||
make sure that if you add a cppwinrt dependency to any of these projects,
|
||
you also update all the consumers
|
||
-->
|
||
<ProjectReference Include="$(OpenConsoleDir)src\types\lib\types.vcxproj" />
|
||
<ProjectReference Include="$(OpenConsoleDir)src\cascadia\WinRTUtils\WinRTUtils.vcxproj">
|
||
<Project>{CA5CAD1A-039A-4929-BA2A-8BEB2E4106FE}</Project>
|
||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||
</ProjectReference>
|
||
|
||
<!-- For whatever reason, we can't include the TerminalControl and
|
||
TerminalSettings projects' winmds via project references. So we'll have to
|
||
manually include the winmds as References below
|
||
|
||
BODGY: we do need to add a ProjectReference to TerminalControl.vcxproj,
|
||
with Private=true, ReferenceOutputAssembly=false, so that Visual Studio's
|
||
"Fast Up-to-date Check" will work with this project. If we don't, the Fast
|
||
Up-to-date Check will look for the .xaml files from that project in our
|
||
output, which won't actually be there.
|
||
|
||
We do still need to separately reference the winmds manually below, which is annoying.
|
||
-->
|
||
|
||
<ProjectReference Include="$(OpenConsoleDir)src\cascadia\TerminalControl\dll\TerminalControl.vcxproj">
|
||
<!-- Private:true and ReferenceOutputAssembly:false, in combination with
|
||
the manual reference to TerminalControl.winmd below make sure that this
|
||
project will compile correct, and that we won't roll up the TermControl
|
||
xbf's into the packaging project twice. -->
|
||
<Private>true</Private>
|
||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||
</ProjectReference>
|
||
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<!-- Manually add references to each of our dependent winmds. Mark them as
|
||
private=false and CopyLocalSatelliteAssemblies=false, so that we don't
|
||
propagate them upwards (which can make referencing this project result in
|
||
duplicate type definitions)-->
|
||
<Reference Include="Microsoft.Terminal.TerminalConnection">
|
||
<HintPath>$(OpenConsoleCommonOutDir)TerminalConnection\Microsoft.Terminal.TerminalConnection.winmd</HintPath>
|
||
<IsWinMDFile>true</IsWinMDFile>
|
||
<Private>false</Private>
|
||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
|
||
</Reference>
|
||
<Reference Include="Microsoft.Terminal.Control">
|
||
<HintPath>$(OpenConsoleCommonOutDir)Microsoft.Terminal.Control\Microsoft.Terminal.Control.winmd</HintPath>
|
||
<IsWinMDFile>true</IsWinMDFile>
|
||
<Private>false</Private>
|
||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
|
||
</Reference>
|
||
<Reference Include="Microsoft.Terminal.Core">
|
||
<HintPath>$(OpenConsoleCommonOutDir)TerminalCore\Microsoft.Terminal.Core.winmd</HintPath>
|
||
<IsWinMDFile>true</IsWinMDFile>
|
||
<Private>false</Private>
|
||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
|
||
</Reference>
|
||
</ItemGroup>
|
||
<!-- ====================== Compiler & Linker Flags ===================== -->
|
||
<ItemDefinitionGroup>
|
||
<ClCompile>
|
||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||
<AdditionalIncludeDirectories>..;$(OpenConsoleDir)\dep\jsoncpp\json;%(AdditionalIncludeDirectories);</AdditionalIncludeDirectories>
|
||
<!-- Manually disable unreachable code warning, because jconcpp has a ton of that. -->
|
||
<DisableSpecificWarnings>4702;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||
</ClCompile>
|
||
<Link>
|
||
<AdditionalDependencies>WindowsApp.lib;user32.lib;shell32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||
</Link>
|
||
<Reference>
|
||
<Private>false</Private>
|
||
</Reference>
|
||
</ItemDefinitionGroup>
|
||
<!-- ========================= Globals ======================== -->
|
||
<Import Project="$(OpenConsoleDir)src\cppwinrt.build.post.props" />
|
||
<Import Project="..\..\..\packages\Microsoft.UI.Xaml.2.7.0-prerelease.210913003\build\native\Microsoft.UI.Xaml.targets" Condition="Exists('..\..\..\packages\Microsoft.UI.Xaml.2.7.0-prerelease.210913003\build\native\Microsoft.UI.Xaml.targets')" />
|
||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||
<PropertyGroup>
|
||
<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>
|
||
</PropertyGroup>
|
||
<Error Condition="!Exists('$(OpenConsoleDir)\packages\Microsoft.UI.Xaml.2.7.0-prerelease.210913003\build\native\Microsoft.UI.Xaml.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(OpenConsoleDir)\packages\Microsoft.UI.Xaml.2.7.0-prerelease.210913003\build\native\Microsoft.UI.Xaml.targets'))" />
|
||
<Error Condition="!Exists('..\..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.2.3.2262\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.2.3.2262\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets'))" />
|
||
</Target>
|
||
<!-- This target will take our defaults.json and stamp it into a .h file that
|
||
we can include in the code directly. This way, we don't need to worry about
|
||
failing to load the default settings at runtime. -->
|
||
<Target Name="_TerminalAppGenerateDefaultsH" Inputs="defaults.json" Outputs="Generated Files\defaults.h" BeforeTargets="BeforeClCompile">
|
||
<Exec Command="pwsh.exe -NoProfile –ExecutionPolicy Unrestricted $(OpenConsoleDir)\tools\GenerateHeaderForJson.ps1 -JsonFile defaults.json -OutPath "Generated Files\defaults.h" -VariableName DefaultJson" />
|
||
</Target>
|
||
<!-- A different set of defaults for Universal variant -->
|
||
<Target Name="_TerminalAppGenerateDefaultsUniversalH" Inputs="defaults-universal.json" Outputs="Generated Files\defaults-universal.h" BeforeTargets="BeforeClCompile">
|
||
<Exec Command="pwsh.exe -NoProfile –ExecutionPolicy Unrestricted $(OpenConsoleDir)\tools\GenerateHeaderForJson.ps1 -JsonFile defaults-universal.json -OutPath "Generated Files\defaults-universal.h" -VariableName DefaultUniversalJson" />
|
||
</Target>
|
||
<!-- Same as above, but for the default settings.json template -->
|
||
<Target Name="_TerminalAppGenerateUserSettingsH" Inputs="userDefaults.json" Outputs="Generated Files\userDefaults.h" BeforeTargets="BeforeClCompile">
|
||
<Exec Command="pwsh.exe -NoProfile –ExecutionPolicy Unrestricted $(OpenConsoleDir)\tools\GenerateHeaderForJson.ps1 -JsonFile userDefaults.json -OutPath "Generated Files\userDefaults.h" -VariableName UserSettingsJson" />
|
||
</Target>
|
||
<Import Project="$(SolutionDir)build\rules\CollectWildcardResources.targets" />
|
||
<Import Project="..\..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.2.3.2262\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets" Condition="Exists('..\..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.2.3.2262\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets')" />
|
||
|
||
</Project>
|