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