Skip to content

Commit

Permalink
Remove Microsoft.Xaml.Behaviors.DesignTools in install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoertz-msft committed Oct 27, 2023
1 parent d950cf1 commit c76812a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.Xaml.Behaviors/Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
$project.Object.References | Where-Object { $_.Name -eq 'Microsoft.Xaml.Behaviors.Design' -or $_.Name -eq 'Microsoft.Xaml.Behaviors.DesignTools' } | ForEach-Object { $_.Remove() }

0 comments on commit c76812a

Please sign in to comment.