Menu
  • HOME
  • TAGS

How to create a local SQL Server database in SharpDev?

c#,sql-server,sharpdevelop

Open Sql Server Management Studio. Connect to your local Sql Server when the dialog prompts you. In the Object Explorer select Databases, right click and select New Database. Give it a name and select OK. Another alternative would be to install Visual Studio Express which may allow you to...

static method invoked via derived type

c#,sharpdevelop

SetZIndex is defined on the Panel class, which Canvas derives from. The compiler is generating a warning saying you're using a static method on a sub-type. This isn't an actual problem, but it may lead to confusions when used in certain ways. As SetZIndex is void returning, that shouldn't be...

How do I add an icon to Windows Form in SharpDevelop?

c#,winforms,ide,sharpdevelop

SharpDevelop has a designer for Windows Forms. Open MainForm.cs, and at the bottom of the text editor there should be a Design tab. Click the Design tab to open the forms designer. Then you can select the form, right click select Properties and then in the Properties window you can...

Disable code inspection in SharpDevelop

sharpdevelop,code-inspection

It looks like it is not currently possible to disable code analysis. Looking at the SharpDevelop source code that check box does not do anything even if it was enabled. So your options are: Disable the C# addin. Which will break C# completely. Disable all the analysis rules. Build SharpDevelop...

Accessing SQLite database from tt template in SharpDevelop

sqlite,code-generation,sharpdevelop

Thanks to @matt-ward input, I finally figured this out! I used Process Monitor to find out where SharpDevelop was looking for the DLL.. Here's what I found... C:\Users\ghigad\Projets\CS\TestT4\packages\System.Data.SQLite.Core.1.0.92.0\lib\net40\x86\SQLite.Interop.dll C:\Users\ghigad\Projets\CS\TestT4\packages\System.Data.SQLite.Core.1.0.92.0\lib\net40\Win32\SQLite.Interop.dll C:\Program Files (x86)\SharpDevelop\4.4\AddIns\Misc\TextTemplating\x86\SQLite.Interop.dll C:\Program Files...

How to view console in SharpDevelop?

c#,debugging,console,sharpdevelop

If you want to view compiling output, then select "Output" from "View" menu. Output window will appear at bottom of SharpDevelop. Select "Build" from drop-down list. Debug output will appear when "Debug" selected for output. Console.Output will never appear anywhere inside IDE - SharpDevelop didn't catch this. You can see...

Why can`t I seem to assign values to my constant fields?

c#,sharpdevelop

Constant fields must be initialized with constant values. And they have to be of a value type, or string, or be initialized with null. Types_of_Accuracy is a class (reference type), and you're trying to initialize the constants with method calls, which are not constants. As a workaround, you can...

Application is missing required files

c#,.net,windows,winforms,sharpdevelop

Your program is looking for compas.ico inside the build directory, while it probably resides in some other directory in your project.