Skip to content

Commit

Permalink
Merge pull request #143 from microsoft/dev/mgoertz/designtools
Browse files Browse the repository at this point in the history
Remove Microsoft.Xaml.Behaviors.DesignTools in install.ps1
  • Loading branch information
brianlagunas authored Oct 27, 2023
2 parents d950cf1 + c76812a commit b66c1ee
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 b66c1ee

Please sign in to comment.