<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="..\..\VSProps\Base.Macros.props" /> <Import Project="$(VSPropsDir)Base.Targets.props" /> <PropertyGroup Label="Globals"> <ProjectGuid>{E4BECBAB-9C6E-41AB-BB56-F9D70AB6BE03}</ProjectGuid> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VSPropsDir)Configuration.Application.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings" /> <ImportGroup Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(VSPropsDir)Base.props" /> <Import Project="$(VSPropsDir)PCHUse.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> <TargetName>Updater</TargetName> </PropertyGroup> <ItemDefinitionGroup> <Link> <AdditionalDependencies>iphlpapi.lib;winmm.lib;ws2_32.lib;comctl32.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> </ItemDefinitionGroup> <ItemGroup> <ProjectReference Include="$(CoreDir)DolphinLib.vcxproj"> <Project>{D79392F7-06D6-4B4B-A39F-4D587C215D3A}</Project> </ProjectReference> <ProjectReference Include="$(ExternalsDir)cpp-optparse\cpp-optparse.vcxproj"> <Project>{c636d9d1-82fe-42b5-9987-63b7d4836341}</Project> </ProjectReference> <ProjectReference Include="$(ExternalsDir)curl\curl.vcxproj"> <Project>{bb00605c-125f-4a21-b33b-7bf418322dcb}</Project> </ProjectReference> <ProjectReference Include="$(ExternalsDir)ed25519\ed25519.vcxproj"> <Project>{5bdf4b91-1491-4fb0-bc27-78e9a8e97dc3}</Project> </ProjectReference> <ProjectReference Include="$(ExternalsDir)mbedtls\mbedTLS.vcxproj"> <Project>{bdb6578b-0691-4e80-a46c-df21639fd3b8}</Project> </ProjectReference> <ProjectReference Include="$(ExternalsDir)zlib\zlib.vcxproj"> <Project>{ff213b23-2c26-4214-9f88-85271e557e87}</Project> </ProjectReference> </ItemGroup> <ItemGroup> <ClCompile Include="..\UpdaterCommon\UpdaterCommon.cpp" /> <ClCompile Include="Main.cpp" /> <ClCompile Include="WinUI.cpp" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> <!--Copy the .exe to binary output folder--> <ItemGroup> <SourceFiles Include="$(TargetPath)" /> </ItemGroup> <ItemGroup> <Manifest Include="Updater.exe.manifest" /> </ItemGroup> <Target Name="AfterBuild" Inputs="@(SourceFiles)" Outputs="@(SourceFiles -> '$(BinaryOutputDir)%(Filename)%(Extension)')"> <Message Text="Copy: @(SourceFiles) -> $(BinaryOutputDir)" Importance="High" /> <Copy SourceFiles="@(SourceFiles)" DestinationFolder="$(BinaryOutputDir)" /> </Target> </Project>