2022-05-11 16:38:12 +02:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion= "15.0" DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
2024-01-16 02:51:45 -08:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.props" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.props')" />
2023-09-07 15:36:47 +07:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.props" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.props')" />
2023-11-23 17:49:04 +00:00
<Import Project= "..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.props" Condition= "Exists('..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.props')" />
2022-05-11 16:38:12 +02:00
<PropertyGroup Label= "Globals" >
<CppWinRTOptimized > true</CppWinRTOptimized>
<CppWinRTRootNamespaceAutoMerge > true</CppWinRTRootNamespaceAutoMerge>
<MinimalCoreWin > true</MinimalCoreWin>
<ProjectGuid > {27718999-c175-450a-861c-89f911e16a88}</ProjectGuid>
<ProjectName > PowerRenameUI</ProjectName>
<RootNamespace > PowerRenameUI</RootNamespace>
<!--
$(TargetName) should be same as $(RootNamespace) so that the produced binaries (.exe/.pri/etc.)
have a name that matches the .winmd
-->
<TargetName > PowerToys.PowerRename</TargetName>
<DefaultLanguage > en-US</DefaultLanguage>
<MinimumVisualStudioVersion > 16.0</MinimumVisualStudioVersion>
<AppContainerApplication > false</AppContainerApplication>
<AppxPackage > false</AppxPackage>
<WindowsPackageType > None</WindowsPackageType>
<ApplicationType > Windows Store</ApplicationType>
<ApplicationTypeRevision > 10.0</ApplicationTypeRevision>
<UseWinUI > true</UseWinUI>
2022-06-07 09:58:32 +01:00
<WindowsAppSDKSelfContained > true</WindowsAppSDKSelfContained>
2022-05-11 16:38:12 +02:00
<EnablePreviewMsixTooling > true</EnablePreviewMsixTooling>
2023-07-20 00:12:46 +01:00
<!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri -->
<ProjectPriFileName > PowerToys.PowerRename.pri</ProjectPriFileName>
2022-05-11 16:38:12 +02:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project= "..\..\..\..\deps\spdlog.props" />
<PropertyGroup Label= "Configuration" >
<ConfigurationType > Application</ConfigurationType>
<PlatformToolset > v143</PlatformToolset>
<CharacterSet > Unicode</CharacterSet>
<DesktopCompatible > true</DesktopCompatible>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" Label= "Configuration" >
<UseDebugLibraries > true</UseDebugLibraries>
<LinkIncremental > true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)'=='Release'" Label= "Configuration" >
<UseDebugLibraries > false</UseDebugLibraries>
<WholeProgramOptimization > true</WholeProgramOptimization>
<LinkIncremental > false</LinkIncremental>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
<PropertyGroup >
2023-07-20 00:12:46 +01:00
<OutDir > ..\..\..\..\$(Platform)\$(Configuration)\WinUI3Apps\</OutDir>
2022-05-11 16:38:12 +02:00
</PropertyGroup>
<ItemDefinitionGroup >
<ClCompile >
<PrecompiledHeader > Use</PrecompiledHeader>
<PrecompiledHeaderFile > pch.h</PrecompiledHeaderFile>
<PrecompiledHeaderOutputFile > $(IntDir)pch.pch</PrecompiledHeaderOutputFile>
<WarningLevel > Level4</WarningLevel>
<AdditionalOptions > %(AdditionalOptions) /bigobj</AdditionalOptions>
2023-07-20 00:12:46 +01:00
<!-- Need to add $(ProjectDir)\Generated Files\PowerRenameXAML files directly because of https://github.com/microsoft/microsoft - ui - xaml/issues/7652 -->
<AdditionalIncludeDirectories > $(ProjectDir)\Generated Files\PowerRenameXAML;$(ProjectDir)..\..\..\common\Telemetry;$(ProjectDir)..\..\..\;$(ProjectDir)..\lib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2022-05-11 16:38:12 +02:00
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Debug'" >
<ClCompile >
<PreprocessorDefinitions > _DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
2022-07-01 21:52:48 +12:00
<Link >
2022-07-15 10:22:59 +02:00
<AdditionalDependencies > kernel32.lib;user32.lib;dwmapi.lib;Shcore.lib;%(AdditionalDependencies)</AdditionalDependencies>
2022-07-01 21:52:48 +12:00
</Link>
2022-05-11 16:38:12 +02:00
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Release'" >
<ClCompile >
<PreprocessorDefinitions > NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link >
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
2022-07-15 10:22:59 +02:00
<AdditionalDependencies > kernel32.lib;user32.lib;dwmapi.lib;Shcore.lib;%(AdditionalDependencies)</AdditionalDependencies>
2022-05-11 16:38:12 +02:00
</Link>
</ItemDefinitionGroup>
<ItemGroup >
<Manifest Include= "app.manifest" />
</ItemGroup>
<ItemGroup >
2023-07-20 00:12:46 +01:00
<ClInclude Include= "PowerRenameXAML\ExplorerItem.h" >
<DependentUpon > PowerRenameXAML\ExplorerItem.xaml</DependentUpon>
2022-08-24 10:47:27 +02:00
<SubType > Code</SubType>
2022-05-11 16:38:12 +02:00
</ClInclude>
2023-07-13 18:42:08 +02:00
<ClInclude Include= "ExplorerItemsSource.h" >
<DependentUpon > ExplorerItemsSource.idl</DependentUpon>
<SubType > Code</SubType>
</ClInclude>
<ClInclude Include= "ExplorerItemViewModel.h" >
<DependentUpon > ExplorerItemViewModel.idl</DependentUpon>
<SubType > Code</SubType>
</ClInclude>
2022-05-11 16:38:12 +02:00
<ClInclude Include= "PatternSnippet.h" >
<DependentUpon > PatternSnippet.idl</DependentUpon>
</ClInclude>
<ClInclude Include= "pch.h" />
2023-07-20 00:12:46 +01:00
<ClInclude Include= "PowerRenameXAML\App.xaml.h" >
<DependentUpon > PowerRenameXAML\App.xaml</DependentUpon>
2022-05-11 16:38:12 +02:00
</ClInclude>
2023-07-20 00:12:46 +01:00
<ClInclude Include= "PowerRenameXAML\MainWindow.xaml.h" >
<DependentUpon > PowerRenameXAML\MainWindow.xaml</DependentUpon>
2022-05-11 16:38:12 +02:00
</ClInclude>
2023-07-13 18:42:08 +02:00
<ClInclude Include= "Utils.h" />
2022-05-11 16:38:12 +02:00
</ItemGroup>
<ItemGroup >
2023-07-20 00:12:46 +01:00
<ApplicationDefinition Include= "PowerRenameXAML\App.xaml" />
<Page Include= "PowerRenameXAML\ExplorerItem.xaml" >
2022-08-24 10:47:27 +02:00
<SubType > Designer</SubType>
</Page>
2023-07-20 00:12:46 +01:00
<Page Include= "PowerRenameXAML\MainWindow.xaml" />
2022-05-11 16:38:12 +02:00
</ItemGroup>
<ItemGroup >
2023-07-20 00:12:46 +01:00
<ClCompile Include= "PowerRenameXAML\ExplorerItem.cpp" >
<DependentUpon > PowerRenameXAML\ExplorerItem.xaml</DependentUpon>
2022-08-24 10:47:27 +02:00
<SubType > Code</SubType>
2022-05-11 16:38:12 +02:00
</ClCompile>
2023-07-13 18:42:08 +02:00
<ClCompile Include= "ExplorerItemsSource.cpp" >
<DependentUpon > ExplorerItemsSource.idl</DependentUpon>
<SubType > Code</SubType>
</ClCompile>
<ClCompile Include= "ExplorerItemViewModel.cpp" >
<DependentUpon > ExplorerItemViewModel.idl</DependentUpon>
<SubType > Code</SubType>
</ClCompile>
2022-05-11 16:38:12 +02:00
<ClCompile Include= "PatternSnippet.cpp" >
<DependentUpon > PatternSnippet.idl</DependentUpon>
</ClCompile>
<ClCompile Include= "pch.cpp" >
<PrecompiledHeader > Create</PrecompiledHeader>
</ClCompile>
2023-07-20 00:12:46 +01:00
<ClCompile Include= "PowerRenameXAML\App.xaml.cpp" >
<DependentUpon > PowerRenameXAML\App.xaml</DependentUpon>
2022-05-11 16:38:12 +02:00
</ClCompile>
2023-07-20 00:12:46 +01:00
<ClCompile Include= "PowerRenameXAML\MainWindow.xaml.cpp" >
<DependentUpon > PowerRenameXAML\MainWindow.xaml</DependentUpon>
2022-05-11 16:38:12 +02:00
</ClCompile>
<ClCompile Include= "$(GeneratedFilesDir)module.g.cpp" />
</ItemGroup>
<ItemGroup >
2023-07-20 00:12:46 +01:00
<Midl Include= "PowerRenameXAML\App.idl" >
2022-05-11 16:38:12 +02:00
<SubType > Code</SubType>
2023-07-20 00:12:46 +01:00
<DependentUpon > PowerRenameXAML\App.xaml</DependentUpon>
2022-05-11 16:38:12 +02:00
</Midl>
2023-07-20 00:12:46 +01:00
<Midl Include= "PowerRenameXAML\ExplorerItem.idl" >
<DependentUpon > PowerRenameXAML\ExplorerItem.xaml</DependentUpon>
2022-08-24 10:47:27 +02:00
<SubType > Code</SubType>
</Midl>
2023-07-13 18:42:08 +02:00
<Midl Include= "ExplorerItemsSource.idl" >
<SubType > Code</SubType>
</Midl>
<Midl Include= "ExplorerItemViewModel.idl" >
<SubType > Designer</SubType>
</Midl>
2023-07-20 00:12:46 +01:00
<Midl Include= "PowerRenameXAML\MainWindow.idl" >
2022-05-11 16:38:12 +02:00
<SubType > Code</SubType>
2023-07-20 00:12:46 +01:00
<DependentUpon > PowerRenameXAML\MainWindow.xaml</DependentUpon>
2022-05-11 16:38:12 +02:00
</Midl>
<Midl Include= "PatternSnippet.idl" />
</ItemGroup>
<!-- Defining the "Msix" ProjectCapability here allows the Single - project MSIX Packaging
Tools extension to be activated for this project even if the Windows App SDK Nuget
package has not yet been restored -->
<ItemGroup Condition= "'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnablePreviewMsixTooling)'=='true'" >
<ProjectCapability Include= "Msix" />
</ItemGroup>
<ItemGroup >
<None Include= "packages.config" />
</ItemGroup>
<ItemGroup >
2023-07-20 00:12:46 +01:00
<Image Include= "Assets\PowerRename\file.png" />
<Image Include= "Assets\PowerRename\folder.png" />
2022-05-11 16:38:12 +02:00
<Image Include= "PowerRenameUI.ico" >
2022-05-19 15:17:29 +02:00
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
2022-05-11 16:38:12 +02:00
</Image>
</ItemGroup>
<ItemGroup >
<_WildCardPRIResource Include= "Strings\*\Resources.resw" />
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\..\..\common\logger\logger.vcxproj" >
<Project > {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
2022-07-01 21:52:48 +12:00
</ProjectReference>
<ProjectReference Include= "..\..\..\common\Themes\Themes.vcxproj" >
<Project > {98537082-0fdb-40de-abd8-0dc5a4269bab}</Project>
2022-05-11 16:38:12 +02:00
</ProjectReference>
<ProjectReference Include= "..\lib\PowerRenameLib.vcxproj" >
<Project > {51920f1f-c28c-4adf-8660-4238766796c2}</Project>
</ProjectReference>
</ItemGroup>
2022-08-10 09:58:21 +01:00
<ItemGroup >
<ResourceCompile Include= "PowerRenameUI.rc" />
</ItemGroup>
2022-05-11 16:38:12 +02:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
2023-11-23 17:49:04 +00:00
<Import Project= "..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.targets')" />
2023-09-07 15:36:47 +07:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.targets')" />
2023-12-18 05:32:27 -08:00
<Import Project= "..\..\..\..\packages\boost.1.84.0\build\boost.targets" Condition= "Exists('..\..\..\..\packages\boost.1.84.0\build\boost.targets')" />
<Import Project= "..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets" Condition= "Exists('..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets')" />
2024-01-16 02:51:45 -08:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
<Import Project= "..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.targets')" />
2022-05-11 16:38:12 +02:00
</ImportGroup>
<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>
2023-11-23 17:49:04 +00:00
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.props'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.WindowsAppSDK.1.4.231115000\build\native\Microsoft.WindowsAppSDK.targets'))" />
2023-09-07 15:36:47 +07:00
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.221104.6\build\native\Microsoft.Windows.CppWinRT.targets'))" />
2023-12-18 05:32:27 -08:00
<Error Condition= "!Exists('..\..\..\..\packages\boost.1.84.0\build\boost.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\boost.1.84.0\build\boost.targets'))" />
<Error Condition= "!Exists('..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets'))" />
2024-01-16 02:51:45 -08:00
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.231216.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.props'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.2428\build\Microsoft.Windows.SDK.BuildTools.targets'))" />
2022-05-11 16:38:12 +02:00
</Target>
<Target Name= "AddWildCardItems" AfterTargets= "BuildGenerateSources" >
<ItemGroup >
<PRIResource Include= "@(_WildCardPRIResource)" />
</ItemGroup>
</Target>
</Project>