Skip to content

Commit 657b111

Browse files
committed
moved up .netcore.uwp to 6.1.5 and fixed issue with building solution from clean state
1 parent 402677a commit 657b111

File tree

9 files changed

+13
-19
lines changed

9 files changed

+13
-19
lines changed

Directory.Build.props

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@
2323
<DefaultTargetPlatformVersion>17134</DefaultTargetPlatformVersion>
2424
<DefaultTargetPlatformMinVersion>15063</DefaultTargetPlatformMinVersion>
2525
<PackageOutputPath>$(MSBuildThisFileDirectory)bin\nupkg</PackageOutputPath>
26-
2726
</PropertyGroup>
2827

2928
<PropertyGroup>
3029
<SignAssembly Condition="'$(SignAssembly)' == '' and '$(IsUwpProject)' != 'true'" >true</SignAssembly>
3130
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)toolkit.snk</AssemblyOriginatorKeyFile>
3231
</PropertyGroup>
3332

34-
3533
<Choose>
3634
<When Condition="'$(IsWin32Project)' == 'true'">
3735
<PropertyGroup>
@@ -50,7 +48,6 @@
5048
<NoWarn>1591</NoWarn>
5149
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
5250
<OutputPath>bin\$(Platform)\$(Configuration)</OutputPath>
53-
5451
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
5552
</PropertyGroup>
5653
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
@@ -117,6 +114,12 @@
117114
</When>
118115
</Choose>
119116

117+
<PropertyGroup Condition="'$(IsUwpProject)' == 'true'">
118+
<!-- 8002 is a strong named -> non-strong-named reference -->
119+
<!-- This is valid for platforms other than .NET Framework (and is needed for the UWP targets -->
120+
<NoWarn>$(NoWarn);8002</NoWarn>
121+
</PropertyGroup>
122+
120123
<ItemGroup>
121124
<PackageReference Include="Nerdbank.GitVersioning" Version=" 2.1.65" PrivateAssets="all" />
122125
</ItemGroup>

Directory.Build.targets

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project>
2-
32
<Choose>
43
<When Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'native'">
54
<!-- UAP versions for uap10.0 where TPMV isn't implied -->
@@ -9,22 +8,14 @@
98
<DebugType>Full</DebugType>
109
</PropertyGroup>
1110

12-
<PropertyGroup>
13-
<!-- 8002 is a strong named -> non-strong-named reference -->
14-
<!-- This is valid for platforms other than .NET Framework (and is needed for the UWP targets -->
15-
<NoWarn>$(NoWarn);8002</NoWarn>
16-
</PropertyGroup>
17-
1811
<ItemGroup>
19-
2012
<SDKReference Condition="'$(UseWindowsDesktopSdk)' == 'true' " Include="WindowsDesktop, Version=$(TargetPlatformVersion)">
2113
<Name>Windows Desktop Extensions for the UWP</Name>
2214
</SDKReference>
2315
<SDKReference Condition="'$(UseWindowsMobileSdk)' == 'true' " Include="WindowsMobile, Version=$(TargetPlatformVersion)">
2416
<Name>Windows Mobile Extensions for the UWP</Name>
2517
</SDKReference>
2618
</ItemGroup>
27-
2819
</When>
2920
</Choose>
3021

GazeInputTest/GazeInputTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
</ItemGroup>
129129
<ItemGroup>
130130
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
131-
<Version>6.0.8</Version>
131+
<Version>6.1.5</Version>
132132
</PackageReference>
133133
</ItemGroup>
134134
<ItemGroup>

Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Supports adaptive tiles and adaptive/interactive toasts for Windows 10. It is pa
1111
</PropertyGroup>
1212

1313
<ItemGroup Condition=" '$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'native' ">
14-
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.0.8" />
14+
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.1.5" />
1515
</ItemGroup>
1616

1717
<ItemGroup Condition=" '$(TargetFramework)' == 'native' ">

Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
</PropertyGroup>
118118
<ItemGroup>
119119
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
120-
<Version>6.0.8</Version>
120+
<Version>6.1.5</Version>
121121
</PackageReference>
122122
<PackageReference Include="Microsoft.Services.Store.Engagement">
123123
<Version>10.1711.28001</Version>

Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
</PropertyGroup>
118118
<ItemGroup>
119119
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
120-
<Version>6.0.8</Version>
120+
<Version>6.1.5</Version>
121121
</PackageReference>
122122
</ItemGroup>
123123
<ItemGroup>

UnitTests/UnitTests.Notifications.UWP/UnitTests.Notifications.UWP.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</ItemGroup>
104104
<ItemGroup>
105105
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
106-
<Version>6.0.8</Version>
106+
<Version>6.1.5</Version>
107107
</PackageReference>
108108
<PackageReference Include="MSTest.TestAdapter">
109109
<Version>1.2.0</Version>

UnitTests/UnitTests.Notifications.WinRT/UnitTests.Notifications.WinRT.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</ItemGroup>
104104
<ItemGroup>
105105
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
106-
<Version>6.0.8</Version>
106+
<Version>6.1.5</Version>
107107
</PackageReference>
108108
<PackageReference Include="MSTest.TestAdapter">
109109
<Version>1.2.0</Version>

UnitTests/UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
</ItemGroup>
116116
<ItemGroup>
117117
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
118-
<Version>6.0.8</Version>
118+
<Version>6.1.5</Version>
119119
</PackageReference>
120120
<PackageReference Include="MSTest.TestAdapter">
121121
<Version>1.2.0</Version>

0 commit comments

Comments
 (0)