SharpDevelop sharpdevelop menuitem

SharpDevelop为.NET轻量级开发环境(可惜目前只有forWindows版本),安装所有组件不超过100MB,可以直接使用的主体文件(不含插件)大小仅为30MB,比最精简的VisualStudio 2005Express的1.1GB要小了近40倍。是VMWare里比较好的.NET开发解决方案,呵呵:)

SharpDevelop安装界面



SharpDevelop启动画面,是条小热带鱼?


IDE界面,支持mono GUI,即Gtk# (Gtk Sharp & Runtime)



SharpDevelop必备插件之FxCop,用于进行代码分析

好象是微软开发的!支持下列5类近200项测试:
* Library design
*Localization
* Namingconventions
*Performance
*Security

SharpDevelop必备插件之NCover,用于代码覆盖测试,比如 if分支覆盖测试


SharpDevelop必备插件之TortoiseSVN,是版本控制插件,Subversion版本控制软件的客户端接口


SharpDevelp内存资源使用情况


MS Visual Studio 2005 TeamSuit内存使用情况,看起来好象比SharpDevlop少,但BuildSolution时会消耗得更多些。


SharpDevelop安装过程总结一下:
--------------------------------------------------
SharpDevelop安装顺序(OS为Windows Server 2003 EnterpriseEdition):

WindowsInstaller3.0.zip,即补丁文件WindowsInstaller-KB893803-v2-x86.exe
dotnet2.zip,即.NET2.0 Framework

SharpDevelop_2.2.1.2648_Setup.msi
NCover-1.5.8.zip
FxCopInstall1.35.MSI
TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.msi
-------------------------------------------------------
要支持mono,继续安装:

mono-1.2.5.2-gtksharp-2.10.2-win32-0.exe,为开发环境
gtksharp-runtime-2.8.3-win32-0.0.exe,为运行环境

-------------------------------------------------------
两个SDK包的安装顺序(SharpDevelop网站建议安装,但非必须):

dotnet2sdk.exe
gtksharp-2.8.3-win32-0.0.exe

------------------------------------------------------
Linux下要运行mono GUI程序,必须先装mono for linux,再安装:

gtk-sharp-1.0.10.tar.gz

-----------------------------------------------------
因为遭遇了MonoDevelop滑铁卢,不得已才转向了SharpDevelop的
下面是那天战役的纪实:


1.set path
[root@myrf6 ~]# cd
[root@myrf6 ~]# cd monodevelop/
[root@myrf6 monodevelop]# more ./mono.sh
PATH=.:/usr/local/bin:$PATH
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
MONO_PATH=/usr/local/lib
export PATH LD_LIBRARY_PATH PKG_CONFIG_PATH MONO_PATH

[root@myrf6 monodevelop]# echo $MONO_PATH

[root@myrf6 monodevelop]# source ./mono.sh
[root@myrf6 monodevelop]# echo $MONO_PATH
/usr/local/lib
[root@myrf6 monodevelop]#

前面习惯性地忘记了shell脚本等号“ = ”两边是没有空格的。


2.checking for gnome-sharp-2.0 >= 1.9.3... Packagegnome-sharp-2.0 was not found in the pkg-config search path.Perhaps you should add the directory containing`gnome-sharp-2.0. pc' to the PKG_CONFIG_PATH environment variable Nopackage 'gnome-sharp-2.0' found
configure: error: Library requirements (gnome-sharp-2.0 >=1.9.3) not met; consider adjusting the PKG_CONFIG_PATH environmentvariable if your libraries are in a nonstandard prefix sopkg-config can find them.

在/root/monodevelop/gtk-sharp-2.8.4/gnome/gnome-sharp-2.0.pc中搜索到这一文件,加入路径:

[root@myrf6 monodevelop]# exportPKG_CONFIG_PATH=/root/monodevelop/gtk-sharp-2.8.4/gnome/:$PKG_CONFIG_PATH

3.checking for gtksourceview-1.0 >= 1.0.0... Packagegtksourceview-1.0 was not found in the pkg-config search path.Perhaps you should add the directory containing`gtksourceview-1.0.pc' to the PKG_CONFIG_PATH environment variableNo package 'gtksourceview-1.0' found
configure: error: Library requirements (gtksourceview-1.0 >=1.0.0) not met; consider adjusting the PKG_CONFIG_PATH environmentvariable if your libraries are in a nonstandard prefix sopkg-config can find them.

搜索不到gtksourceview-1.0.pc,于是google下载了一个并安装之:
http://ftp.acc.umu.se/pub/GNOME/sources/gtksourceview/1.0/gtksourceview-1.0.0.tar.gz

4.在make gtksourceview2.0是又出现下列错识:
Unhandled Exception: System.IO.DirectoryNotFoundException: Couldnot find a part of the path"/root/monodevelop/share/gapi-2.0/gnome-api.xml".
at System.IO.FileStream..ctor (System.Stringname, FileMode mode, FileAccess access, FileShare share, Int32bufferSize, Boolean anonymous, FileOptions options) [0x00000]
先绕过

5.一路装其他2个包,正常
6.安装monodevelop包,./configure时显示
configure: error: Package requirements (gconf-sharp-2.0 >=2.8.0) were not met:

No package 'gconf-sharp-2.0' found
一搜,发现在/root/monodevelop/gtk-sharp-2.8.4/gconf/GConf/gconf-sharp-2.0.pc,于是加入路径:
SharpDevelop sharpdevelop menuitem
[root@myrf6 monodevelop]# exportPKG_CONFIG_PATH=/root/monodevelop/gtk-sharp-2.8.4/gconf/GConf/:$PKG_CONFIG_PATH

7.再次提示:
checking for GTKHTML_SHARP... configure: error: Packagerequirements (gtkhtml-sharp-2.0 >= 2.8.0) were not met:

No package 'gtkhtml-sharp-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable ifyou
installed software in a non-standard prefix.
一搜在/root/monodevelop/gtk-sharp-2.8.4/gtkhtml/gtkhtml-sharp-2.0.pc下,于是加入路径:
[root@myrf6 monodevelop]# exportPKG_CONFIG_PATH=/root/monodevelop/gtk-sharp-2.8.4/gtkhtml/:$PKG_CONFIG_PATH

8.总算monodevelop的./configure一切正常,显示如下:
Configuration summary

* Installation prefix =/usr/local
* C# compiler =/usr/local/bin/gmcs
* Mozilla home:/usr/lib/firefox
* mono-debugger: no
* MonoDevelop.Databasesupport: yes
* Providers:
*PostgreSQL: yes
*MySQL:yes
*SQLite:yes
*SQL Server: yes
* java support: no
* boo support: no
* Nemerle support: no
* Mono class librarydevelopment extensions: yes
* Version control support:yes
* Providers:
*Subversion: no
* ASP.NET project support:yes
* ASP.NET Visual Designer:no
* Web References: yes
* C/C++ project support:yes
---------------
但make时又出错了:
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [../../build/bin/Mono.Addins.Gui.dll] 错误 1
make[2]: Leaving directory`/root/monodevelop/monodevelop-0.16/contrib/Mono.Addins'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory`/root/monodevelop/monodevelop-0.16/contrib'
make: *** [all-recursive] 错误 1
------------

暂停该任务!

  

爱华网本文地址 » http://www.413yy.cn/a/25101016/310156.html

更多阅读

日立硬盘保修经历 日立硬盘保修几年

08年买的一个日立笔记本硬盘,当移动硬盘用.09年的时候坏了,那次不知道是啥原因,就是将USB口直接拔了,然后再插上去电脑就认不出这个硬盘了.结果一直放那.今年3月份的时候突然发现自己本本在存了些PSP+wii的ISO后,容量急剧下降,于是

声明:《SharpDevelop sharpdevelop menuitem》为网友社会演员多分享!如侵犯到您的合法权益请联系我们删除