|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFrameworks>net4.5.2;net4.6.2;netcoreapp3.1;net5.0-windows7.0</TargetFrameworks> |
| 4 | + <TargetFrameworks>net4.5.2;net4.6.2;netcoreapp3.1;net5.0-windows10.0.18362.0</TargetFrameworks> |
5 | 5 | <UseWPF>true</UseWPF>
|
| 6 | + <UseWinRT>true</UseWinRT> |
6 | 7 | <NeutralLanguage>en-US</NeutralLanguage>
|
7 | 8 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
8 | 9 | <LangVersion>latest</LangVersion>
|
9 | 10 | </PropertyGroup>
|
10 | 11 |
|
11 |
| - <PropertyGroup> |
12 |
| - <CsWinRTEmbedded>true</CsWinRTEmbedded> |
13 |
| - <CsWinRTWindowsMetadata>10.0.18362.0</CsWinRTWindowsMetadata> |
14 |
| - <CsWinRTIncludes> |
15 |
| - Windows.Foundation; |
16 |
| - Windows.UI.Color; |
17 |
| - Windows.UI.IColors; |
18 |
| - Windows.UI.ViewManagement.HandPreference; |
19 |
| - Windows.UI.ViewManagement.IUISettings; |
20 |
| - Windows.UI.ViewManagement.UIColorType; |
21 |
| - Windows.UI.ViewManagement.UIElementType; |
22 |
| - Windows.UI.ViewManagement.UISettings; |
23 |
| - </CsWinRTIncludes> |
24 |
| - <CsWinRTExcludes> |
25 |
| - Windows.Foundation.Diagnostics; |
26 |
| - Windows.Foundation.PropertyType; |
27 |
| - </CsWinRTExcludes> |
28 |
| - </PropertyGroup> |
29 |
| - |
30 |
| - <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '5.0'))"> |
31 |
| - <PackageReference Include="Microsoft.Windows.CsWinRT" Version="1.6.4" /> |
32 |
| - </ItemGroup> |
33 |
| - |
34 |
| - <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '3.0')) and $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '5.0')) or
 '$(TargetFrameworkIdentifier)' == '.NETFramework' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '4.6.1'))"> |
35 |
| - <PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.18362.2005" /> |
36 |
| - </ItemGroup> |
37 |
| - |
38 |
| - <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '4.6.1'))"> |
39 |
| - <PackageReference Include="System.Runtime.WindowsRuntime" Version="4.6.0" /> |
40 |
| - <Reference Include="Windows"> |
41 |
| - <HintPath>$(SolutionDir)WinMD\Windows.WinMD</HintPath> |
42 |
| - <IsWinMDFile>true</IsWinMDFile> |
43 |
| - <Private>false</Private> |
44 |
| - </Reference> |
45 |
| - <Reference Include="Windows.Foundation.FoundationContract"> |
46 |
| - <HintPath>$(SolutionDir)WinMD\Windows.Foundation.FoundationContract.winmd</HintPath> |
47 |
| - <IsWinMDFile>true</IsWinMDFile> |
48 |
| - <Private>false</Private> |
49 |
| - </Reference> |
50 |
| - <Reference Include="Windows.Foundation.UniversalApiContract"> |
51 |
| - <HintPath>$(SolutionDir)WinMD\Windows.Foundation.UniversalApiContract.winmd</HintPath> |
52 |
| - <IsWinMDFile>true</IsWinMDFile> |
53 |
| - <Private>false</Private> |
54 |
| - </Reference> |
55 |
| - </ItemGroup> |
56 |
| - |
57 | 12 | <ItemGroup Condition="!$(DefineConstants.Contains('NET47_OR_NEWER'))">
|
58 | 13 | <PackageReference Include="System.ValueTuple" Version="4.5.0" />
|
59 | 14 | </ItemGroup>
|
|
0 commit comments