Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

解決「Unable to find a version of the runtime to run this application」錯誤:安裝正確 .NET Framework 版本

編輯:關於 Windows

執行 C# 程式時出現 Unable to find a version of the runtime to run this application,代表系統缺少對應版本的 .NET Framework 執行環境。本文整理版本對應關係與下載連結,快速修復。

版本對應速查

.NET 版本最低系統需求相容性說明
1.xWindows 98/2000極舊版本,現代應用幾乎不使用,可忽略。
2.0 / 3.0 / 3.5 SP1Windows XP SP2 以上共用 2.0 執行核心,**安裝 3.5 SP1 即涵蓋 2.0、3.0、3.5 應用**。
4.0Windows XP SP3 以上獨立執行核心,**不包含 3.5 及舊版**;僅能執行以 4.0 開發的應用。
4.5Windows Vista SP2 / Win7 SP1 以上4.0 的就地升級版,國內 XP 用戶眾多,開發者較少以此為目標,一般可暫不安裝。

建議解決方案

若不確定應用程式以哪個版本開發,**建議同時安裝 .NET Framework 3.5 SP1 與 4.0**,即可涵蓋絕大多數情況。

官方下載連結(部分)

注意:雖為完整安裝包,安裝過程仍需連網下載語言包,請保持網路連線。

Copyright © Windows教程網 All Rights Reserved