diff --git a/eng/WindowsForms.targets b/eng/WindowsForms.targets new file mode 100644 index 00000000000..dfadeee59da --- /dev/null +++ b/eng/WindowsForms.targets @@ -0,0 +1,19 @@ + + + + + + + + <_WinFormsContent Include="$(_WinFormsContentPath)" /> + + + + + + diff --git a/packaging/Microsoft.NET.Sdk.WindowsDesktop/Microsoft.NET.Sdk.WindowsDesktop.ArchNeutral.csproj b/packaging/Microsoft.NET.Sdk.WindowsDesktop/Microsoft.NET.Sdk.WindowsDesktop.ArchNeutral.csproj index 275fd4a4cb9..93a4505249a 100644 --- a/packaging/Microsoft.NET.Sdk.WindowsDesktop/Microsoft.NET.Sdk.WindowsDesktop.ArchNeutral.csproj +++ b/packaging/Microsoft.NET.Sdk.WindowsDesktop/Microsoft.NET.Sdk.WindowsDesktop.ArchNeutral.csproj @@ -1,4 +1,5 @@  + {440d06b8-e3de-4c0d-ad25-cd4f43d836e1} net6.0 @@ -25,4 +26,17 @@ + + + + + + <_WinFormsNuGetPath>$(PkgMicrosoft_Private_Winforms) + <_WinFormsContentPath>$(_WinFormsNuGetPath)\sdk\dotnet-wpf\* + + + + + + diff --git a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props index d04f9b04b58..32b555a5d4e 100644 --- a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props +++ b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props @@ -161,4 +161,7 @@ + + + diff --git a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets index edadf38f4b3..7634aae5edb 100644 --- a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets +++ b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets @@ -155,4 +155,7 @@ + + +