forked from wieslawsoltes/LibreWPF
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
56 lines (48 loc) · 3.83 KB
/
Copy pathDirectory.Build.props
File metadata and controls
56 lines (48 loc) · 3.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<Project>
<PropertyGroup>
<RepositoryName>wpf</RepositoryName>
<PackageProjectUrl>https://github.com/wieslawsoltes/wpf</PackageProjectUrl>
<RepositoryUrl>https://github.com/wieslawsoltes/wpf</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags Condition="'$(PackageTags)' == ''">librewpf;progpu;webgpu;silk.net;xaml;cross-platform;desktop</PackageTags>
<WindowsDesktopARM64Support>true</WindowsDesktopARM64Support>
<ProGpuWpfTargetFramework Condition="'$(ProGpuWpfTargetFramework)' == ''">net10.0</ProGpuWpfTargetFramework>
<ProGpuWpfTargetFrameworkVersion Condition="'$(ProGpuWpfTargetFrameworkVersion)' == ''">10.0</ProGpuWpfTargetFrameworkVersion>
<ProGpuWpfSdkSampleTargetFramework Condition="'$(ProGpuWpfSdkSampleTargetFramework)' == ''">net10.0-windows</ProGpuWpfSdkSampleTargetFramework>
<ProGpuWpfRuntimeHarnessTargetFramework Condition="'$(ProGpuWpfRuntimeHarnessTargetFramework)' == ''">net10.0</ProGpuWpfRuntimeHarnessTargetFramework>
<ProGpuWpfPortableNetCoreAppRefVersion Condition="'$(ProGpuWpfPortableNetCoreAppRefVersion)' == '' And '$(ProGpuWpfTargetFramework)' == 'net10.0'">10.0.5</ProGpuWpfPortableNetCoreAppRefVersion>
<ProGpuWpfSkipMissingPrivateWinFormsReferences Condition="'$(ProGpuWpfSkipMissingPrivateWinFormsReferences)' == '' And '$(ProGpuWpfTargetFramework)' == 'net10.0'">true</ProGpuWpfSkipMissingPrivateWinFormsReferences>
<RunRefApiCompat Condition="'$(RunRefApiCompat)' == '' And '$(ProGpuWpfTargetFramework)' == 'net10.0'">false</RunRefApiCompat>
<DefineConstants Condition="'$(ProGpuWpfSkipMissingPrivateWinFormsReferences)' == 'true'">$(DefineConstants);PROGPU_WPF_ALIAS_WINCORE;PROGPU_WPF_PORTABLE_NO_WINFORMS</DefineConstants>
<BundledNETCoreAppTargetFramework Condition="'$(BundledNETCoreAppTargetFramework)' == ''">$(ProGpuWpfTargetFramework)</BundledNETCoreAppTargetFramework>
<TargetFramework>$(ProGpuWpfTargetFramework)</TargetFramework>
<TargetFrameworkVersion>$(ProGpuWpfTargetFrameworkVersion)</TargetFrameworkVersion>
<BuildWithNetFrameworkHostedCompiler>true</BuildWithNetFrameworkHostedCompiler>
<PublishWindowsPdb>false</PublishWindowsPdb>
<TestRunnerName>XUnitV3</TestRunnerName>
</PropertyGroup>
<!-- Normalize $(TestWpfArcadeSdkPath) by appending a '\' to it if one is missing -->
<PropertyGroup Condition="'$(TestWpfArcadeSdkPath)'!=''">
<WpfArcadeSdkPath>$(TestWpfArcadeSdkPath)</WpfArcadeSdkPath>
<WpfArcadeSdkPath Condition="!$(WpfArcadeSdkPath.EndsWith('\'))">$(TestWpfArcadeSdkPath)\</WpfArcadeSdkPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TestWpfArcadeSdkPath)'=='' And Exists('$(MSBuildThisFileDirectory)eng\WpfArcadeSdk\')">
<WpfArcadeSdkPath>$(MSBuildThisFileDirectory)eng\WpfArcadeSdk\</WpfArcadeSdkPath>
</PropertyGroup>
<!-- Select Sdk.props from test location or eng\WpfArcadeSdk\. If neither exists, then fall back to the use of one
obtained using MSBuild's Sdk resolver -->
<PropertyGroup Condition="Exists('$(WpfArcadeSdkPath)')">
<WpfArcadeSdkProps>$(WpfArcadeSdkPath)Sdk\Sdk.props</WpfArcadeSdkProps>
<WpfArcadeSdkTargets>$(WpfArcadeSdkPath)Sdk\Sdk.targets</WpfArcadeSdkTargets>
</PropertyGroup>
<Import Project="$(WpfArcadeSdkProps)"
Condition="Exists('$(WpfArcadeSdkProps)') And Exists('$(WpfArcadeSdkTargets)')"/>
<Import Sdk="Microsoft.DotNet.Arcade.Wpf.Sdk"
Project="Sdk.props"
Condition="!Exists('$(WpfArcadeSdkProps)') Or !Exists('$(WpfArcadeSdkTargets)')"/>
<PropertyGroup>
<BundledNETCoreAppTargetFramework>$(ProGpuWpfTargetFramework)</BundledNETCoreAppTargetFramework>
<PbtTfm Condition="'$(MSBuildRuntimeType)' == 'Core'">$(BundledNETCoreAppTargetFramework)</PbtTfm>
<PbtDir Condition="'$(ArtifactsTmpDir)' != '' And '$(PbtTfm)' != ''">$(ArtifactsTmpDir)PresentationBuildTasks\$(PbtTfm)\</PbtDir>
</PropertyGroup>
</Project>