gpt4 book ai didi

c# - 由于不兼容,无法安装 toast 通知

转载 作者:行者123 更新时间:2023-11-30 23:13:18 24 4
gpt4 key购买 nike

安装toast通知包时出现如下错误

PM> Install-Package Mantin.Controls.Wpf.Notification
Installing 'Mantin.Controls.Wpf.Notification 3.2.0.0'.
You are downloading Mantin.Controls.Wpf.Notification from Lawrence Mantin, the license agreement to which is available at https://toastspopuphelpballoon.codeplex.com/license. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.

Successfully installed 'Mantin.Controls.Wpf.Notification 3.2.0.0'.
Adding 'Mantin.Controls.Wpf.Notification 3.2.0.0' to App. Uninstalling
'Mantin.Controls.Wpf.Notification 3.2.0.0'. Successfully uninstalled
'Mantin.Controls.Wpf.Notification 3.2.0.0'. Install failed. Rolling
back...

Install-Package : Could not install package 'Mantin.Controls.Wpf.Notification 3.2.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

最佳答案

您需要做的就是将您的目标框架更改为 4.6 或更高版本。

关于c# - 由于不兼容,无法安装 toast 通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43691135/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com