简体   繁体   English

安装后“无法找到运行该应用程序.net框架初始化错误的运行时版本”

[英]“unable to find a version of the runtime to run this application .net framework initialization error” after install

I have a .net project which is currently set to utilise 3.5 of the framework, but for some reason all installs of the app seem to be broken now. 我有一个.net项目,当前将使用该框架的3.5版本,但由于某种原因,该应用程序的所有安装现在似乎已中断。 I believe its related to either SP1 or 4.0 being install via Windows update as we have not updated the software. 我相信它与通过Windows更新安装的SP1或4.0有关,因为我们尚未更新该软件。

On my PC here the app (with some tweaks) runs fine from Visual Studio 2008 but if I use the WIX Setup project to create an installer and install the software I even get the same error running the project from my PC. 在我的PC上,该应用程序(经过一些调整)可以从Visual Studio 2008正常运行,但是如果我使用WIX安装项目创建安装程序并安装软件,我什至在从PC运行该项目时也会遇到相同的错误。

Any idea how I can debug the program and find out whats causing the error? 知道如何调试程序并找出导致错误的原因吗? (Ive inherited the solution so the WIX side of things is a bit lost on me, but it seems straight forward) (我继承了该解决方案,所以WIX方面对我来说有些失落,但这似乎很简单)

I suppose this is related to the supportedRuntime setting. 我想这与supportedRuntime设置有关。 Find the dtf.chm file in your WiX installation, and get acquainted with the topic "Specifying the Runtime Version". 在您的WiX安装中找到dtf.chm文件,并熟悉“指定运行时版本”主题。 Afterwards explicitly set the version(s) of the runtime your custom action should run on. 之后,显式设置您的自定义操作应在其上运行的版本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:无法找到运行此应用程序的运行时版本 - Error : Unable to find a version of the runtime to run this application 在虚拟XP机器上运行.NET应用程序的“无法找到运行该应用程序的运行时版本” - “Unable to find a version of the runtime to run this application” running .NET app in virtual XP machine 无法找到运行时版本以在XP Sp3上运行此应用程序.net 4.0 - unable to find a version of the runtime to run this application .net 4.0 on XP Sp3 如果尝试下载我的独立应用程序时出现错误:无法找到运行该应用程序的运行时版本 - Getting error if trying to download my standalone app: Unable to find a version of the runtime to run this application 控制台应用程序 - 无法找到运行此应用程序的运行时版本(我拥有它们) - Console Application - Unable to find a version of the runtime to run this application (and I have them all) 当程序集位于“C:\Windows\System32”内时,我得到“无法找到运行此应用程序的运行时版本” - When assembly is inside 'C:\Windows\System32' i get 'Unable to find a version of the runtime to run this application' “无法找到运行此应用程序的运行时版本”,适用于64位Windows上的32位应用程序 - “Unable to find a version of runtime to run this application” for 32bit app on 64bit Windows 错误消息“无法安装或运行该应用程序。该应用程序需要在GAC中使用stole Version 7.0.3300.0“ - Error message “Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC” 在应用程序运行时检测框架版本 - Detect framework version at application runtime “您必须安装 .NET Desktop Runtime 才能运行此应用程序” - "You must install .NET Desktop Runtime to run this application"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM