有人经常用这个IDE吗?
SharpDevelop Version : 4.0.0.7070-dce2df4c
.NET Version         : 4.0.30319.225
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : Chinese (Simplified, PRC) (zh-CN)
Current UI language  : en
Running under WOW6432, processor architecture: AMD64
Working Set Memory   : 130940kb
GC Heap Memory       : 18248kbUnhandled WPF exception
Exception thrown:
System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.StartWithoutDebugging(ProcessStartInfo processStartInfo)
   at ICSharpCode.SharpDevelop.Project.AbstractProject.Start(Boolean withDebugging)
   at ICSharpCode.SharpDevelop.Project.Commands.Execute.<>c__DisplayClass1.<Run>b__0(Object , EventArgs )
   at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.OnBuildComplete(EventArgs e)
   at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.CallbackMethod(BuildResults results)
   at ICSharpCode.SharpDevelop.Project.BuildEngine.<ReportDone>b__3()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)---- Recent log messages:
17:02:18.635 [18] DEBUG - Telling worker process to exit
17:02:18.635 [18] DEBUG - Waiting for thread-join
17:02:18.636 [20] DEBUG - Cannot read from WorkerProcess 1704: end of stream
17:02:18.636 [20] DEBUG - Stopped reading from WorkerProcess 1704.
17:02:18.636 [20] DEBUG - Telling worker process to exit
17:02:18.636 [20] DEBUG - End of reader thread on WorkerProcess 1704.
17:02:18.636 [18] DEBUG - Joined!
17:02:19.508 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.ExecuteWithoutDebugger', activation=Shortcut
17:02:19.509 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.BuildEngine.Build'
17:02:19.509 [1] INFO - Start building test2
17:02:19.509 [19] DEBUG - Setting property CurrentSolutionConfigurationContents to '<SolutionConfiguration><ProjectConfiguration Project="{FC4741C3-8823-4042-8A65-9F7D59CA5F82}">Debug|x86</ProjectConfiguration></SolutionConfiguration>'
17:02:19.509 [19] DEBUG - Setting property SolutionDir to 'D:\快盘\C#测试用例代码\test2\'
17:02:19.509 [19] DEBUG - Setting property SolutionExt to '.sln'
17:02:19.509 [1] DEBUG - CompilerMessageView: Combined 2 appends.
17:02:19.509 [19] DEBUG - Setting property SolutionFileName to 'test2.sln'
17:02:19.509 [19] DEBUG - Setting property SolutionPath to 'D:\快盘\C#测试用例代码\test2\test2.sln'
17:02:19.682 [17] DEBUG - Received command ReportEvent
17:02:19.730 [17] DEBUG - Received command ReportEvent
17:02:19.807 [17] DEBUG - Received command ReportEvent
17:02:19.810 [17] DEBUG - Received command ReportEvent
17:02:19.810 [17] DEBUG - Received command BuildDone
17:02:19.811 [17] INFO - Finished building test2, success=True
17:02:19.811 [17] INFO - Start building test2
17:02:19.811 [22] INFO - Finished building test2, success=True
17:02:19.815 [1] INFO - Debugger Command: Start (withDebugger=False)---- Post-error application state information:
Installed 3rd party AddIns: 
Workbench.ActiveContent: [AvalonEditViewContent D:\快盘\C#测试用例代码\test2\test2\Program.cs]
ProjectService.OpenSolution: [Solution: FileName=D:\快盘\C#测试用例代码\test2\test2.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: test2]

解决方案 »

  1.   

    The specified executable is not a valid application for this OS platform.
    64bit系统?指定的可执行文件在当前操作系统平台下不是有效的程序
      

  2.   

    给你个参考:SharpDevelop问题大全
      

  3.   

    System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.OS不兼容,检查下他的兼容OS
      

  4.   

    可能是你的操作系统不兼容吧,我用xp的系统,SharpDevelop从未出现过问题啊
      

  5.   

    恩,但是我好像清理了下工程又可以了!
    不知道怎么替换到合适的.net版本
      

  6.   

    System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
      at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
      at System.Diagnostics.Process.Start()
      at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
      at ICSharpCode.SharpDevelop.Services.WindowsDebugger.StartWithoutDebugging(ProcessStartInfo processStartInfo)
      at ICSharpCode.SharpDevelop.Project.AbstractProject.Start(Boolean withDebugging)
      at ICSharpCode.SharpDevelop.Project.Commands.Execute.<>c__DisplayClass1.<Run>b__0(Object , EventArgs )
      at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.OnBuildComplete(EventArgs e)
      at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.CallbackMethod(BuildResults results)
      at ICSharpCode.SharpDevelop.Project.BuildEngine.<ReportDone>b__3()根据 callstack来看,像是sharpdevelip的问题,不是.net的问题我觉得sharpdevelop没有vs好用
      

  7.   

    +1我以前也尝试过Eclipse等一些IDE,相比VS的优势就是占用小、速度快、定制模块多。但是VS 2008以后,我发现数据库支持、发布工程以及代码编辑器的智能化都有了很大提高,所以又用回VS了。
      

  8.   

    我查了好久 似乎这个软件没有更换,net版本的功能