Install.ps1 340 B

12345
  1. param($installPath, $toolsPath, $package, $project)
  2. # Remove the reference to the .Design.dll, which is incorrectly referenced during
  3. # the NuGet package installation in .NET Framework applications (not .NET Core).
  4. $project.Object.References | Where-Object { $_.Name -eq 'Microsoft.Xaml.Behaviors.Design' } | ForEach-Object { $_.Remove() }