gpt4 book ai didi

c# - 无法安装或运行应用程序 - System.Windows.Interactivity 版本 4.0.0.0

转载 作者:行者123 更新时间:2023-11-30 20:52:55 24 4
gpt4 key购买 nike

我完全被卡住了。搜索和搜索。我引用了 System.Windows.Interactivity 版本 4.5.0.0当我通过ClickOnce释放系统时,系统没有安装并报如下错误。

Unable to install or run the application. The application requires that assembly System.Windows.Interactivity Version 4.0.0.0 be installed in the global assembly cache (GAC) first.

我正在使用 DevExpress 工具和 MVVMLight。如果我尝试添加版本 4.0.0.0,我会收到错误消息,因为需要 4.5。我们将不胜感激地接受任何帮助。谢谢斯科特

最佳答案

当您发布您的应用程序时——您的输出中可能会有这样的内容:无法解决“System.Windows.Interactivity,Version=4.5.0.0,...”之间的冲突。

你需要做的是在 app.config 中添加重映射就像在这里完成的一样What should I change when the compiler tells me to "Consider app.config remapping" when I have no app.config file?

关于c# - 无法安装或运行应用程序 - System.Windows.Interactivity 版本 4.0.0.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20406985/

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