[MonoDevelop] New on MonoDevelop - some questions

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Jul 19 10:05:57 EDT 2009


2009/7/19 jos_ <junk at sonhult.se>:
>
> I'm used to Visual Studio, and just started out with MonoDevelop (version
> 2.0). I have some basic questions:
>
> 1. Can I change where brackets are placed? In Visual Studio I can set it not
> to create brackets on new lines.

You meant for auto-generated code? This is possible using code
formatting styles in MD trunk. If you'd like to play with it, try
building trunk (http://monodevelop.com/Developers/Development:_Getting_Started),
but beware instability -- or wait for MD 2.2.

> 2. Is there any auto-formatting for the code editor (Ctrl+D, Ctrl+K in
> Visual Studio)?

Yes, but also only MD trunk.

> 3. When I add controls to the .aspx-page, for example <asp:Panel id="test"
> runat="server" /> it is not reachable from code-behind. Is this not
> supported yet?

It is, but the designer class is only updated when you build the
project. I expect to fix this in time for MD 2.2.

> 4. Is debugging supported? It just passes my breakpoints, for both Console
> applications and ASP.NET.

You need to install the debugger addin (monodevelop-debugger-mdb
package) to debug regular apps. For experimental ASP.NET debugging,
you need MD trunk and the Mono Debugger trunk.

> 5. When I add references to ZedGraph.dll and ZedGraph.Web.dll and
> double-click on them in the Solution Explorer (under References) I can open
> ZedGraph.dll but not ZedGraph.Web.dll. It gives an error message about not
> finding ZedGraph.dll. See  http://pix.sonhult.se/mono2.jpg

Does this just happen with the assembly browser? Can you file a bug?

> 6. GUI-comment: If you check the screenshot above, the upper bar looks...
> strange... with the background color on my theme.

You mean the application toolbar? This could be an artifact of the
theme - GTK themes that change things like toolbar button colours have
to attach styles to widget class names, which obviously breaks on
custom widgets like our dockable toolbar. Please file a bug, but be
aware that we may not be able to fix it with the current GTK theming
system.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list