2015-10-19 355 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。

希望这会有所帮助。

相关问题