Skip to content

Commit eebb035

Browse files
committed
Update SDK
Relates to dotnet/sdk#19521 Relates to dotnet/sdk#19599
1 parent e75a31c commit eebb035

File tree

5 files changed

+5
-23
lines changed

5 files changed

+5
-23
lines changed

Directory.Build.props

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
<WindowsDesktopARM64Support>true</WindowsDesktopARM64Support>
55
</PropertyGroup>
66

7-
<!-- Disable global usings, as those require 'preview' language version -->
8-
<PropertyGroup>
9-
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
10-
</PropertyGroup>
11-
127
<!-- Normalize $(TestWpfArcadeSdkPath) by appending a '\' to it if one is missing -->
138
<PropertyGroup Condition="'$(TestWpfArcadeSdkPath)'!=''">
149
<WpfArcadeSdkPath>$(TestWpfArcadeSdkPath)</WpfArcadeSdkPath>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"tools": {
3-
"dotnet": "6.0.100-rc.1.21379.2",
3+
"dotnet": "6.0.100-rc.1.21416.15",
44
"runtimes": {
55
"dotnet": [
66
"2.1.7",
@@ -16,7 +16,7 @@
1616
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.21412.1"
1717
},
1818
"sdk": {
19-
"version": "6.0.100-rc.1.21379.2"
19+
"version": "6.0.100-rc.1.21416.15"
2020
},
2121
"native-tools": {
2222
"strawberry-perl": "5.28.1.1-1",

packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WPF.props

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
<!--
33
Generates implicit global namespace imports file <projectname>.ImplicitGlobalNamespaceImports.cs.
44
-->
5-
<ItemGroup Condition="'$(DisableImplicitNamespaceImports_WPF)' != 'true'
6-
and '$(TargetFrameworkIdentifier)' == '.NETCoreApp'
7-
and $([MSBuild]::VersionGreaterThanOrEquals($(_TargetFrameworkVersionWithoutV), '6.0'))
8-
and '$(UseWPF)' == 'true'">
9-
<Import Remove="System.IO" />
10-
<Import Remove="System.Net.Http" />
5+
<ItemGroup Condition="'$(UseWPF)' == 'true' and ('$(ImplicitUsings)' == 'true' or '$(ImplicitUsings)' == 'enable')">
6+
<Using Remove="System.IO" />
7+
<Using Remove="System.Net.Http" />
118
</ItemGroup>
129

1310
</Project>

packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.WPF.targets

Lines changed: 0 additions & 7 deletions
This file was deleted.

packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@
159159
-->
160160
<Import Project="Microsoft.NET.Sdk.WindowsDesktop.WindowsForms.targets" Condition="'$(UseWindowsForms)' == 'true'"/>
161161

162-
<!-- Import WPF-specific targets -->
163-
<Import Project="Microsoft.NET.Sdk.WindowsDesktop.WPF.targets" Condition="'$(UseWPF)' == 'true'"/>
164-
165162
<!-- Import WPF Build logic only when we don't import NETFX's WinFX targets -->
166163
<Import Project="Microsoft.WinFX.targets" Condition="'$(ImportFrameworkWinFXTargets)' != 'true'"/>
167164

0 commit comments

Comments
 (0)