AHAQ_QGNH/packages/Microsoft.Xaml.Behaviors.Wpf.1.1.135/tools/Install.ps1

5 lines
395 B
PowerShell
Raw Permalink Normal View History

2025-05-19 09:31:47 +08:00
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' -or $_.Name -eq 'Microsoft.Xaml.Behaviors.DesignTools' } | ForEach-Object { $_.Remove() }