无法安装或运行应用程序 - System.Windows.Interactivity版本4.0.0.0 [英] Unable to install or run the application - System.Windows.Interactivity Version 4.0.0.0

查看:751
本文介绍了无法安装或运行应用程序 - System.Windows.Interactivity版本4.0.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我绝对卡住了。搜索和搜索。
我有一个参考System.Windows.Interactivity版本4.5.0.0
当我通过ClickOnce发布系统,系统没有安装并报告以下错误。


无法安装或运行应用程序。应用程序需要
,该程序集System.Windows.Interactivity版本4.0.0.0首先在全局程序集缓存(GAC)中安装


我正在使用DevExpress工具以及MVVMLight。如果我尝试添加版本4.0.0.0我得到错误,因为4.5是必需的。任何帮助将被感激地接受。谢谢Scott

解决方案

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



您需要做的是在app.config中添加重新映射
,就像在这里完成的那样当编译器告诉我考虑app.config重新映射时,应该改变什么当我没有app.config文件?


I am absolutely stuck.Searched and searched. I have a reference to System.Windows.Interactivity Version 4.5.0.0 When I release the system via ClickOnce the system does not installed and reports the following error.

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.

I am using DevExpress tools along with MVVMLight. If I try and add version 4.0.0.0 I get errors as 4.5 is required. Any help would be gratefully accepted. Thanks Scott

解决方案

When you publish your application - probably you have this in your output: No way to resolve conflict between "System.Windows.Interactivity, Version=4.5.0.0, ....".

What you need to do is add remapping in app.config like it's done here What should I change when the compiler tells me to "Consider app.config remapping" when I have no app.config file?

这篇关于无法安装或运行应用程序 - System.Windows.Interactivity版本4.0.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆