我完全被困住了。搜索了又搜索。 我有一个对 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/