From c76812a2b2e7cb411a265a6c60b4aa726e5ce1d5 Mon Sep 17 00:00:00 2001 From: Marco Goertz Date: Fri, 27 Oct 2023 15:47:33 -0700 Subject: [PATCH] Remove Microsoft.Xaml.Behaviors.DesignTools in install.ps1 --- src/Microsoft.Xaml.Behaviors/Install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Xaml.Behaviors/Install.ps1 b/src/Microsoft.Xaml.Behaviors/Install.ps1 index b980f23..74c971a 100644 --- a/src/Microsoft.Xaml.Behaviors/Install.ps1 +++ b/src/Microsoft.Xaml.Behaviors/Install.ps1 @@ -2,4 +2,4 @@ param($installPath, $toolsPath, $package, $project) # Remove the reference to the .Design.dll, which is incorrectly referenced during # the NuGet package installation in .NET Framework applications (not .NET Core). -$project.Object.References | Where-Object { $_.Name -eq 'Microsoft.Xaml.Behaviors.Design' } | ForEach-Object { $_.Remove() } \ No newline at end of file +$project.Object.References | Where-Object { $_.Name -eq 'Microsoft.Xaml.Behaviors.Design' -or $_.Name -eq 'Microsoft.Xaml.Behaviors.DesignTools' } | ForEach-Object { $_.Remove() } \ No newline at end of file