2015-10-19 66 views
1

我收到在日誌文件中出現以下錯誤,試圖在Windows 8安裝後無法打開Monodevelop。

FATAL ERROR [2015-10-19 16:59:49Z]: MonoDevelop-Unity failed to start. Some of the assemblies required to run MonoDevelop-Unity (for example gtk-sharp)may not be properly installed in the GAC. 

System.TypeInitializationException: The type initializer for 'System.Net.ServicePointManager' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Net.ComNetOS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 

at System.Diagnostics.TraceSource.Initialize() 
at System.Net.Logging.InitializeLogging() 
at System.Net.Logging.get_On() 
at System.Net.ComNetOS..cctor() 
--- End of inner exception stack trace --- 
at System.Net.ServicePointManager.get_PersistentConnectionLimit() 
at System.Net.ServicePointManager..cctor() 
--- End of inner exception stack trace --- 
at System.Net.ServicePointManager.get_ServerCertificateValidationCallback() 
at MonoDevelop.Core.Runtime.Initialize(Boolean updateAddinRegistry) in c:\buildslave\monodevelop\build\monodevelop\main\src\core\MonoDevelop.Core\MonoDevelop.Core\Runtime.cs:line 70 
at MonoDevelop.Ide.IdeStartup.Run(MonoDevelopOptions options) in c:\buildslave\monodevelop\build\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line 142 
at MonoDevelop.Ide.IdeStartup.Main(String[] args) in c:\buildslave\monodevelop\build\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line 542 

我猜的錯誤是有關Microsoft.Net框架版本,打開MonoDevelop的,統一-4.0的時候。但我不知道要解決這個問題。請幫忙。!!

回答

0

那麼第一個測試只是作爲管理員運行程序,在這種情況下可能不會修復它,但它並不傷害嘗試。如果這不起作用,那麼根據崩潰日誌,它無法加載,因爲它找不到'system.configuration'文件。在這種情況下,您將要單獨下載MonoDevelop安裝程序並進行安裝,以便它可以正確安裝其依賴項,因爲某些原因它首次發生錯誤。

你會希望去這裏獲得安裝程序:http://www.monodevelop.com/

雖然,如果錯誤與.NET Framework,然後只是去這裏下載/更新:http://www.microsoft.com/en-us/download/details.aspx?id=17851

+0

我試圖安裝.Net Framework時出現此錯誤。 。 - Microsoft .NET Framework 4已經是該操作系統的一部分。您不需要安裝.NET Framework 4可再發行組件。 此計算機上已經安裝了相同或更高版本的.NET Framework 4。我使用gtk從網站(http://www.monodevelop.com/)單獨安裝monodevelop,但沒有運氣。 –

1

我不知道這背後的原因,但每隔10〜15構建我跑會打破我的MonoDevelop的IDE。我將GTK-sharp安裝程序放在桌面上進行快速修復。

修復過程:

  • 轉到MonoDevelop的網站(http://www.monodevelop.com/download/
  • 點擊鏈接 - > GTK#爲.NET:從mono-project.com
  • 下載下載文件後,運行
  • 選擇修復
  • 回去工作

我的開發盒是一個Windows 10,在過去的幾個月裏,這種方式經常讓我相信我打破了IDE。

希望這會有所幫助。

相關問題