11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 15.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2+ <Project ToolsVersion =" 15.0" DefaultTargets =" Build" InitialTargets = " RestoreDevTools " xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <PropertyGroup Condition =" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '15.0'" >
4- <VisualStudioVersion >15 .0</VisualStudioVersion >
4+ <VisualStudioVersion >17 .0</VisualStudioVersion >
55 </PropertyGroup >
66 <ItemGroup Label =" ProjectConfigurations" >
77 <ProjectConfiguration Include =" Debug|x64" >
3030 </ProjectConfiguration >
3131 </ItemGroup >
3232 <PropertyGroup >
33+ <WapProjPath Condition =" '$(WapProjPath)'=='' and '$(MSBuildExtensionsPath32)'!=''" >$(MSBuildExtensionsPath32)\Microsoft\DesktopBridge\</WapProjPath >
34+ <WapProjPath Condition =" '$(WapProjPath)'=='' and '$(VSInstallDir)'!=''" >$(VSInstallDir)MSBuild\Microsoft\DesktopBridge\</WapProjPath >
3335 <WapProjPath Condition =" '$(WapProjPath)'==''" >$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath >
3436 </PropertyGroup >
3537 <Import Project =" $(WapProjPath)\Microsoft.DesktopBridge.props" />
3638 <PropertyGroup >
37- <ProjectGuid >a1b2c3d4-e5f6-7890-abcd-ef1234567890 </ProjectGuid >
39+ <ProjectGuid >{5C866C20-228F-4EE5-9CA1-49CA0DE26E4E} </ProjectGuid >
3840 <TargetPlatformVersion >10.0.26100.0</TargetPlatformVersion >
3941 <TargetPlatformMinVersion >10.0.26100.0</TargetPlatformMinVersion >
4042 <DefaultLanguage >en-US</DefaultLanguage >
43+ <TargetFramework >net8.0-windows10.0.26100.0</TargetFramework >
4144 <AppxPackageSigningEnabled >false</AppxPackageSigningEnabled >
4245 <GenerateAppInstallerFile >false</GenerateAppInstallerFile >
4346 <AppxAutoIncrementPackageRevision >false</AppxAutoIncrementPackageRevision >
4447 <AppxSymbolPackageEnabled >false</AppxSymbolPackageEnabled >
45- <GenerateTestArtifacts >false</GenerateTestArtifacts >
46- <AppxBundle >Never</AppxBundle >
48+ <GenerateTestArtifacts >true</GenerateTestArtifacts >
4749 <HoursBetweenUpdateChecks >0</HoursBetweenUpdateChecks >
50+ <EntryPointProjectUniqueName >..\DevTools.csproj</EntryPointProjectUniqueName >
51+ <AppxPackageSigningTimestampDigestAlgorithm >SHA256</AppxPackageSigningTimestampDigestAlgorithm >
52+ <_IsGeneratingAppxPackage >true</_IsGeneratingAppxPackage >
53+ <PlatformTarget >$(Platform)</PlatformTarget >
54+ </PropertyGroup >
55+ <PropertyGroup Condition =" '$(Platform)' == 'x64'" >
56+ <AppxBundle >Never</AppxBundle >
57+ <AppxPackageArchitecture >x64</AppxPackageArchitecture >
58+ <RuntimeIdentifier >win-x64</RuntimeIdentifier >
59+ </PropertyGroup >
60+ <PropertyGroup Condition =" '$(Platform)' == 'x86'" >
61+ <AppxBundle >Never</AppxBundle >
62+ <AppxPackageArchitecture >x86</AppxPackageArchitecture >
63+ <RuntimeIdentifier >win-x86</RuntimeIdentifier >
64+ </PropertyGroup >
65+ <PropertyGroup Condition =" '$(Platform)' == 'arm64'" >
66+ <AppxBundle >Never</AppxBundle >
67+ <AppxPackageArchitecture >arm64</AppxPackageArchitecture >
68+ <RuntimeIdentifier >win-arm64</RuntimeIdentifier >
69+ </PropertyGroup >
70+ <PropertyGroup Condition =" '$(Configuration)' == 'Release'" >
71+ <AppxPackageSigningEnabled >false</AppxPackageSigningEnabled >
72+ <AppxPackageSigningTimestampServerUrl >http://timestamp.digicert.com</AppxPackageSigningTimestampServerUrl >
73+ <AppxHashAlgorithm >SHA256</AppxHashAlgorithm >
4874 </PropertyGroup >
4975 <ItemGroup >
5076 <AppxManifest Include =" Package.appxmanifest" >
5177 <SubType >Designer</SubType >
5278 </AppxManifest >
5379 </ItemGroup >
5480 <ItemGroup >
55- <ApplicationReference Include =" ..\DevTools.csproj" >
56- <TargetProject >DevTools</TargetProject >
57- </ApplicationReference >
81+ <Content Include =" Images\StoreLogo.png" />
82+ <Content Include =" Images\Square150x150Logo.png" />
83+ <Content Include =" Images\Square44x44Logo.png" />
84+ <Content Include =" Images\Wide310x150Logo.png" />
85+ <Content Include =" Images\Square71x71Logo.png" />
86+ <Content Include =" Images\Square310x310Logo.png" />
87+ <Content Include =" Images\SplashScreen.png" />
88+ </ItemGroup >
89+ <ItemGroup >
90+ <ProjectReference Include =" ..\DevTools.csproj" />
5891 </ItemGroup >
5992 <Import Project =" $(WapProjPath)\Microsoft.DesktopBridge.targets" />
93+ <Target Name =" RestoreDevTools" >
94+ <Message Importance =" high" Text =" RestoreDevTools: Platform=$(Platform), Configuration=$(Configuration)" />
95+ <Exec Command =" dotnet restore ..\DevTools.csproj" />
96+ </Target >
97+ <Target Name =" BeforeBuild" >
98+ <Message Importance =" high" Text =" BeforeBuild: Platform=$(Platform), RuntimeIdentifier=$(RuntimeIdentifier), AppxPackageArchitecture=$(AppxPackageArchitecture)" />
99+ <PropertyGroup >
100+ <_RuntimeIdentifier Condition =" '$(RuntimeIdentifier)' != ''" >$(RuntimeIdentifier)</_RuntimeIdentifier >
101+ <_RuntimeIdentifier Condition =" '$(_RuntimeIdentifier)' == ''" >win-$(Platform)</_RuntimeIdentifier >
102+ </PropertyGroup >
103+ <Message Importance =" high" Text =" BeforeBuild: _RuntimeIdentifier=$(_RuntimeIdentifier)" />
104+ <Exec Command =" dotnet restore ..\DevTools.csproj" />
105+ <MakeDir Directories =" ..\obj\wappublish\$(_RuntimeIdentifier)" />
106+ <Copy SourceFiles =" ..\obj\project.assets.json" DestinationFolder =" ..\obj\wappublish\$(_RuntimeIdentifier)" SkipUnchangedFiles =" true" Condition =" Exists('..\obj\project.assets.json')" />
107+ <Copy SourceFiles =" ..\obj\DevTools.csproj.nuget.g.props" DestinationFolder =" ..\obj\wappublish\$(_RuntimeIdentifier)" SkipUnchangedFiles =" true" Condition =" Exists('..\obj\DevTools.csproj.nuget.g.props')" />
108+ <Copy SourceFiles =" ..\obj\DevTools.csproj.nuget.g.targets" DestinationFolder =" ..\obj\wappublish\$(_RuntimeIdentifier)" SkipUnchangedFiles =" true" Condition =" Exists('..\obj\DevTools.csproj.nuget.g.targets')" />
109+ <Copy SourceFiles =" ..\obj\DevTools.csproj.nuget.dgspec.json" DestinationFolder =" ..\obj\wappublish\$(_RuntimeIdentifier)" SkipUnchangedFiles =" true" Condition =" Exists('..\obj\DevTools.csproj.nuget.dgspec.json')" />
110+ <Message Importance =" high" Text =" BeforeBuild: Copied files to ..\obj\wappublish\$(_RuntimeIdentifier)" />
111+ </Target >
60112</Project >
0 commit comments