sharpdevelop

C# 搭建WebService

99封情书 提交于 2021-01-10 16:50:09
前提:以启动IIS服务和数据库服务,并导入数据 使用SharpDevelop新建解决方案,使用模板 配置WebService的网络选项,创建虚拟目录 项目->项目选项->网络 运行项目,查看是否成功配置WebService 来源: oschina 链接: https://my.oschina.net/u/921036/blog/226854

编写C#程序的IDE

假装没事ソ 提交于 2020-02-13 05:09:37
编写C#程序,在Windows平台下,除了昂贵的Visual Studio.NET这个正宗的工具外,你还了解哪些? 听说有个Eclipse,IBM投钱开发的开源工具,有人也做了个for .NET的plugin,自己没有用过,没有发言权。 最近却看到另外一个让人耳目一新的开源IDE,SharpDevelop,它的目的就更为明确了,不象Eclipse那样要做一个什么都支持的IDE,给个接口给你,你自己去弄吧,据说连Websphere这样的大家伙也是用它的框架完成的,SharpDevelop目前只为C#和VB.NET而存在,紧贴.NET的发展。 http://www.icsharpcode.net/OpenSource/SD/ 第一时间下载安装后,首先想到的自然是和现在的C#项目的兼容性了,随便导入一个单机的C#项目,似乎还跑得不错啊... 赶紧写了个Hello World,似乎也不错,但对中文的支持还不是太好,应该有参数可以调整的。 界面字体则已经可以选择中文GB显示了。 下面是一个截图: 本来做了个全截图,可惜显示似乎不是太好啊。 工具似乎多了些东西,且直接有Unit Test的支持。 但看不到象设断点那些东西,不知道我们做的DEBUG是否给Unit Test代替了? 有空再仔细研究一下... 即使现在不是完美的,也应该不断完善吧... 我现在下载是最近发布的... 8月23日发布的

How to develop a Microsoft Office AddIn without Visual Studio

若如初见. 提交于 2019-12-29 11:35:26
问题 I'm trying to develop an MS Office Addin in C# .Net and I don't have access to Visual Studio. Instead I'm using SharpDevelop as my IDE, (but my question is equally relevant to anyone developing using any other IDE or compiling from the command line...) I've done a bit of searching for guides on how to develop AddIns, but they all seem to require Visual Studio and follow these steps: Install the Interop Assemblies Create a Visual Studio .Net Project ( I'm unable to do this bit ) Extend the VS

Is anyone using System.Data.SQLite within SharpDevelop?

[亡魂溺海] 提交于 2019-12-22 16:43:40
问题 I was just wondering if perhaps any of you guys has been successful integrating SQLite into a SharpDevelop project? If that's the case it'd be really interesting if you wouldn't mind to go ahead and share the experience with the rest of us. I've tried the more sort of orthodox approach of using Visual Studio 2008 Express Editions and whatnot but, although it apparently plays well with Visual Web Developer , unfortunately the SQlite.NET package fails to work with Visual C# , so SharpDevelop is

C# - Fill a combo box with a DataTable

余生长醉 提交于 2019-12-17 03:16:51
问题 I'm used to work with Java where large amounts of examples are available. For various reasons I had to switch to C# and trying to do the following in SharpDevelop: // Form has a menu containing a combobox added via SharpDevelop's GUI // --- Variables languages = new string[2]; languages[0] = "English"; languages[1] = "German"; DataSet myDataSet = new DataSet(); // --- Preparation DataTable lTable = new DataTable("Lang"); DataColumn lName = new DataColumn("Language", typeof(string)); lTable

WPF Debugging AvalonEdit binding to Document property

本小妞迷上赌 提交于 2019-12-13 18:19:36
问题 all day long I am sitting and trying to find out why binding to AvalonEdits Document property isn't working. AvalonEdit is an advanced WPF text editor - part of the SharpDevelop project.(it's going to be used in SharpDevelop v4 Mirador). So when I set up a simple project - one TextEditor (that's the AvalonEdits real name in the library) and made a simple class that has one property - Document and it returns a dummy object with some static text the binding is working perfectly. However in real

Sharpdevelop Access resource file settings

大城市里の小女人 提交于 2019-12-11 16:25:32
问题 I'm trying to access settings from a settings file(MySettings) that I have created through the SharpDevelop Template: Setting: [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("")] public string s_Username { get { return ((string)(this["s_Username"])); } set { this["s_Username"] = value; } } } Code: void MainFormLoad(object sender, EventArgs e) { MessageBox.Show

Converting from VB to C#

瘦欲@ 提交于 2019-12-10 14:48:48
问题 I was tasked with converting a solution from VB to C#. There were 22 projects and hundreds of classes, so I decided to research converters. I finally settled on SharpDevelop, which is an IDE with an included converter. I ran it on each of my projects, and have plenty of errors to fix, but I should be able to go through them and hopefully figure them out. The main issue I am having is with the summary log. I have hundreds of lines for various classes reading: -- line 0 col 0: Case labels with

C# SendKeys.SendWait to a dialog of another Process (notepad.exe)

余生长醉 提交于 2019-12-10 11:29:47
问题 I'm trying to do the following in C#: Open a new process (notepad.exe) Enter some text (using SendKeys) Close Notepad (deal with any confirmation dialogs) Here's what I got Process p = new Process(); p.StartInfo.Filename = "notepad.exe"; p.Start(); // use the user32.dll SetForegroundWindow method SetForegroundWindow( p.MainWindowHandle ); // make sure notepad has focus SendKeys.SendWait( "some text" ); SendKeys.SendWait( "%f" ); // send ALT+f SendKeys.SendWait( "x" ); // send x = exit // a

SharpDevelop error: “The tools version '12.0' is unrecognized…”

谁说胖子不能爱 提交于 2019-12-08 17:15:22
问题 I've been developing a vb.net project using Excel-DNA for the last few months using SharpDevelop and all of a sudden, when I open my project as usual, I have this error: The tools version "12.0" is unrecognized. Available tools versions are "2.0", "3.5", "4.0". C:\path\to\file.vbproj I'm gessing the falty codes is this part: <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> . As far as I can go in my Mercurial history it has