Modernize for CsWinRT and SceneNode
Getting the SceneNode sample to work again: - Update for .NET 8 (LTS), needed for CsWinRT fixes around MemoryBuffer. - Create a modern SamplePackage project to ensure no legacy UWP holdover. - Remove older NuGet "win10-" style to become just "win-" style.
|
@ -1,19 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
|
||||
<RootNamespace>ExpressionBuilder</RootNamespace>
|
||||
|
||||
<Platforms>AnyCPU;x86;x64</Platforms>
|
||||
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
<Platforms>x86;x64;arm64</Platforms>
|
||||
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<NoWarn>1701;1702;8305;CA1416</NoWarn>
|
||||
|
@ -21,12 +15,18 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm64'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm64'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31613.86
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34728.123
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ExpressionBuilder", "ExpressionBuilder\ExpressionBuilder\ExpressionBuilder.csproj", "{F0903746-A27C-4333-B882-CEA03BCF2B64}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SamplesCommon", "SamplesCommon\SamplesCommon\SamplesCommon.csproj", "{6060E794-A924-4D48-9139-7E9F55685F73}"
|
||||
EndProject
|
||||
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "SampleGalleryPkg", "SampleGallery\SampleGallery (Package)\SampleGalleryPkg.wapproj", "{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleGallery", "SampleGallery\SampleGallery.csproj", "{34C72C70-0CE0-4089-8C1D-54DCF6076E27}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{F0903746-A27C-4333-B882-CEA03BCF2B64} = {F0903746-A27C-4333-B882-CEA03BCF2B64}
|
||||
{6060E794-A924-4D48-9139-7E9F55685F73} = {6060E794-A924-4D48-9139-7E9F55685F73}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "SamplePackage", "SamplePackage\SamplePackage.wapproj", "{AA0C86D9-10BD-4B01-A52A-C9084277146B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|arm64 = Debug|arm64
|
||||
|
@ -49,24 +49,6 @@ Global
|
|||
{6060E794-A924-4D48-9139-7E9F55685F73}.Release|x64.Build.0 = Release|x64
|
||||
{6060E794-A924-4D48-9139-7E9F55685F73}.Release|x86.ActiveCfg = Release|x86
|
||||
{6060E794-A924-4D48-9139-7E9F55685F73}.Release|x86.Build.0 = Release|x86
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|arm64.ActiveCfg = Debug|arm64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|arm64.Build.0 = Debug|arm64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|arm64.Deploy.0 = Debug|arm64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|x64.Build.0 = Debug|x64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|x64.Deploy.0 = Debug|x64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|x86.Build.0 = Debug|x86
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Debug|x86.Deploy.0 = Debug|x86
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|arm64.ActiveCfg = Release|arm64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|arm64.Build.0 = Release|arm64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|arm64.Deploy.0 = Release|arm64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|x64.ActiveCfg = Release|x64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|x64.Build.0 = Release|x64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|x64.Deploy.0 = Release|x64
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|x86.ActiveCfg = Release|x86
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|x86.Build.0 = Release|x86
|
||||
{4B74DEDD-A486-4CF2-A591-A3E16B6E9C72}.Release|x86.Deploy.0 = Release|x86
|
||||
{34C72C70-0CE0-4089-8C1D-54DCF6076E27}.Debug|arm64.ActiveCfg = Debug|arm64
|
||||
{34C72C70-0CE0-4089-8C1D-54DCF6076E27}.Debug|arm64.Build.0 = Debug|arm64
|
||||
{34C72C70-0CE0-4089-8C1D-54DCF6076E27}.Debug|x64.ActiveCfg = Debug|x64
|
||||
|
@ -79,6 +61,24 @@ Global
|
|||
{34C72C70-0CE0-4089-8C1D-54DCF6076E27}.Release|x64.Build.0 = Release|x64
|
||||
{34C72C70-0CE0-4089-8C1D-54DCF6076E27}.Release|x86.ActiveCfg = Release|x86
|
||||
{34C72C70-0CE0-4089-8C1D-54DCF6076E27}.Release|x86.Build.0 = Release|x86
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|arm64.ActiveCfg = Debug|ARM64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|arm64.Build.0 = Debug|ARM64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|arm64.Deploy.0 = Debug|ARM64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|x64.Build.0 = Debug|x64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|x64.Deploy.0 = Debug|x64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|x86.Build.0 = Debug|x86
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Debug|x86.Deploy.0 = Debug|x86
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|arm64.ActiveCfg = Release|ARM64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|arm64.Build.0 = Release|ARM64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|arm64.Deploy.0 = Release|ARM64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|x64.ActiveCfg = Release|x64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|x64.Build.0 = Release|x64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|x64.Deploy.0 = Release|x64
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|x86.ActiveCfg = Release|x86
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|x86.Build.0 = Release|x86
|
||||
{AA0C86D9-10BD-4B01-A52A-C9084277146B}.Release|x86.Deploy.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
До Ширина: | Высота: | Размер: 432 B |
До Ширина: | Высота: | Размер: 5.2 KiB |
До Ширина: | Высота: | Размер: 1.7 KiB |
До Ширина: | Высота: | Размер: 637 B |
До Ширина: | Высота: | Размер: 283 B |
Двоичные данные
SampleGallery/SampleGallery (Package)/Images/StoreLogo.png
До Ширина: | Высота: | Размер: 456 B |
До Ширина: | Высота: | Размер: 2.0 KiB |
|
@ -1,12 +1,12 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
||||
<RootNamespace>CompositionSampleGallery</RootNamespace>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<Platforms>x86;x64;arm64</Platforms>
|
||||
<RuntimeIdentifiers>win10-x86;win10-x64;</RuntimeIdentifiers>
|
||||
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
||||
<UseWinUI>true</UseWinUI>
|
||||
<DefineConstants>USING_CSWINRT</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
@ -17,9 +17,18 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|arm64'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm64'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="SampleGallery %28Package%29\**" />
|
||||
<Compile Remove="Samples\SDK 14393\SwipeScroller\**" />
|
||||
|
|
|
@ -23,6 +23,7 @@ using Microsoft.UI.Composition;
|
|||
using Microsoft.UI.Composition.Scenes;
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.UI.Xaml.Hosting;
|
||||
using WinRT;
|
||||
|
||||
namespace CompositionSampleGallery
|
||||
{
|
||||
|
@ -91,8 +92,8 @@ namespace CompositionSampleGallery
|
|||
static MemoryBuffer CopyArrayOfBytesToMemoryBuffer(byte[] a)
|
||||
{
|
||||
MemoryBuffer mb = new MemoryBuffer((uint)a.Length);
|
||||
IMemoryBufferReference mbr = mb.CreateReference();
|
||||
IMemoryBufferByteAccess mba = (IMemoryBufferByteAccess)mbr;
|
||||
var mbr = mb.CreateReference();
|
||||
var mba = mbr.As<IMemoryBufferByteAccess>();
|
||||
unsafe
|
||||
{
|
||||
byte* bytes = null;
|
||||
|
|
|
@ -173,7 +173,7 @@ namespace CompositionSampleGallery
|
|||
new SampleDefinition(LinearGradients.StaticSampleName, typeof(LinearGradients), SampleType.Reference, SampleCategory.Motion, false, false, "ms-appx:///Assets/SampleThumbnails/LinearGradients.PNG", description: LinearGradients.StaticSampleDescription, dateAdded: new DateTime(2019,02,27)),
|
||||
new SampleDefinition(AnimationControl.StaticSampleName, typeof(AnimationControl), SampleType.Reference, SampleCategory.APIReference, false, false, "ms-appx:///Assets/SampleThumbnails/AnimationController.PNG", description: AnimationControl.StaticSampleDescription, dateAdded: new DateTime(2018,12,3)),
|
||||
new SampleDefinition(Lottie.StaticSampleName, typeof(Lottie), SampleType.Reference, SampleCategory.Motion, false, false, "ms-appx:///Assets/SampleThumbnails/Lottie.png", description: AnimationControl.StaticSampleDescription, dateAdded: new DateTime(2020,07,29)),
|
||||
//new SampleDefinition(SceneNodePlayground.StaticSampleName, typeof(SceneNodePlayground), SampleType.Reference, SampleCategory.APIReference, false, false, "ms-appx:///Assets/SampleThumbnails/SceneNodePlayground.PNG", description: SceneNodePlayground.StaticSampleDescription, dateAdded: new DateTime(2020,07,29)),
|
||||
new SampleDefinition(SceneNodePlayground.StaticSampleName, typeof(SceneNodePlayground), SampleType.Reference, SampleCategory.APIReference, false, false, "ms-appx:///Assets/SampleThumbnails/SceneNodePlayground.PNG", description: SceneNodePlayground.StaticSampleDescription, dateAdded: new DateTime(2020,07,29)),
|
||||
new SampleDefinition(GestureRecognizer.StaticSampleName, typeof(GestureRecognizer), SampleType.Reference, SampleCategory.Input, false, false, "ms-appx:///Assets/SampleThumbnails/GestureRecognizer.png", description: GestureRecognizer.StaticSampleDescription, dateAdded: new DateTime(2021,04,6), featured: true),
|
||||
new SampleDefinition(GestureRecognizerManipulation.StaticSampleName,typeof(GestureRecognizerManipulation),SampleType.Reference, SampleCategory.Input, false, false, "ms-appx:///Assets/SampleThumbnails/Manipulation.png", description: GestureRecognizerManipulation.StaticSampleDescription, dateAdded: new DateTime(2021,04,15)),
|
||||
new SampleDefinition(InputCursor.StaticSampleName, typeof(InputCursor), SampleType.Reference, SampleCategory.Input, false, false, "ms-appx:///Assets/SampleThumbnails/CoreCursor.png", description: InputCursor.StaticSampleDescription, dateAdded: new DateTime(2021,10,26), featured: true),
|
||||
|
|
После Ширина: | Высота: | Размер: 1.4 KiB |
После Ширина: | Высота: | Размер: 7.5 KiB |
После Ширина: | Высота: | Размер: 2.9 KiB |
После Ширина: | Высота: | Размер: 1.6 KiB |
После Ширина: | Высота: | Размер: 1.2 KiB |
После Ширина: | Высота: | Размер: 1.4 KiB |
После Ширина: | Высота: | Размер: 3.1 KiB |
|
@ -7,19 +7,19 @@
|
|||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity
|
||||
Name="c93387c6-d3c9-4ffa-868d-4a8de3af9e29"
|
||||
Publisher="CN=getrou"
|
||||
Name="0d9fba84-711c-45a9-88c6-70792d6752b7"
|
||||
Publisher="CN=jstall"
|
||||
Version="1.0.0.0" />
|
||||
|
||||
<Properties>
|
||||
<DisplayName>SampleGallery (Package)</DisplayName>
|
||||
<PublisherDisplayName>getrou</PublisherDisplayName>
|
||||
<DisplayName>Composition Sample Gallery</DisplayName>
|
||||
<PublisherDisplayName>jstall</PublisherDisplayName>
|
||||
<Logo>Images\StoreLogo.png</Logo>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
|
||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
|
||||
</Dependencies>
|
||||
|
||||
<Resources>
|
||||
|
@ -31,8 +31,8 @@
|
|||
Executable="$targetnametoken$.exe"
|
||||
EntryPoint="$targetentrypoint$">
|
||||
<uap:VisualElements
|
||||
DisplayName="SampleGallery (Package)"
|
||||
Description="SampleGallery (Package)"
|
||||
DisplayName="Composition SampleGallery"
|
||||
Description="Composition SamplePackage"
|
||||
BackgroundColor="transparent"
|
||||
Square150x150Logo="Images\Square150x150Logo.png"
|
||||
Square44x44Logo="Images\Square44x44Logo.png">
|
||||
|
@ -43,6 +43,7 @@
|
|||
</Applications>
|
||||
|
||||
<Capabilities>
|
||||
<Capability Name="internetClient" />
|
||||
<rescap:Capability Name="runFullTrust" />
|
||||
</Capabilities>
|
||||
</Package>
|
|
@ -20,28 +20,27 @@
|
|||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|arm64">
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>arm64</Platform>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|arm64">
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>arm64</Platform>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
|
||||
<PathToXAMLWinRTImplementations>SampleGallery\</PathToXAMLWinRTImplementations>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>4b74dedd-a486-4cf2-a591-a3e16b6e9c72</ProjectGuid>
|
||||
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
|
||||
<ProjectGuid>aa0c86d9-10bd-4b01-a52a-c9084277146b</ProjectGuid>
|
||||
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
||||
<AssetTargetFallback>net5.0-windows$(TargetPlatformVersion);$(AssetTargetFallback)</AssetTargetFallback>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
|
||||
<EntryPointProjectUniqueName>..\SampleGallery.csproj</EntryPointProjectUniqueName>
|
||||
<NoWarn>$(NoWarn);NU1702</NoWarn>
|
||||
<EntryPointProjectUniqueName>..\SampleGallery\SampleGallery.csproj</EntryPointProjectUniqueName>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<AppxManifest Include="Package.appxmanifest">
|
||||
|
@ -57,17 +56,12 @@
|
|||
<Content Include="Images\StoreLogo.png" />
|
||||
<Content Include="Images\Wide310x150Logo.scale-200.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SampleGallery.csproj">
|
||||
<SkipGetTargetFrameworkProperties>True</SkipGetTargetFrameworkProperties>
|
||||
<PublishProfile>Properties\PublishProfiles\win10-$(Platform).pubxml</PublishProfile>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240404000">
|
||||
<IncludeAssets>build</IncludeAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240404000" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SampleGallery\SampleGallery.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,13 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
|
||||
<RootNamespace>SamplesCommon</RootNamespace>
|
||||
|
||||
<Platforms>AnyCPU;x86;x64</Platforms>
|
||||
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
|
||||
<Platforms>x86;x64;arm64</Platforms>
|
||||
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
||||
<DefineConstants>USING_CSWINRT</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -16,19 +16,19 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<NoWarn>1701;1702;8305;CA1416</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm64'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|arm64'">
|
||||
<NoWarn>1701;1702;8305</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|