Menu

#1 Getting starting with CSharp

open
nobody
None
5
2006-11-12
2006-11-12
Small SQL
No

Do you have a getting starting with CSharp? I have
installed the version 0.10 in Eclipse 3.1.2 and it
seems not to work.

First I want create a new CSharp project but there is
no such project. Then I have create a generic project
and have edit the nature manually. Then I have copy my
c# files from visual studio in the project.

If I open one of the c# files I receive the error "The
document contains CR charaters. Recommend to convert
lime delimerts to LF before modifications." What this
message means. The natural line delimters for c# files
CRLF. The file is open correct and the syntax is
highlited correct.

There is a new top level menu "Black-sun" but it seems
not to work of it. After some using I have the follow
output in the problems view:

Severity Description Resource In Folder Location
Creation Time Id
2 Resolve error @0(1, 1): MethodGroupBinding[Setup#2]:
MethodBinding[void, ikvm.awt.NetComponentPeer.Setup,
null@45341]
MethodBinding[void, ikvm.awt.NetButtonPeer.Setup,
null@68761]
toolkit.cs ikvm/awt line 1 12. November 2006 12:16:31
126860
1 Unresolved type hierarchy: size=36
Form
Form
Control
ContainerControl
gnu.java.awt.ClasspathToolkit
java.awt.GraphicsEnvironment
java.awt.GraphicsDevice
gnu.java.awt.peer.ClasspathFontPeer
java.awt.peer.LightweightPeer
java.awt.peer.LightweightPeer
java.awt.Image
java.awt.Graphics2D
java.awt.FontMetrics
IDisposable
ComponentPeer
java.awt.image.VolatileImage
java.awt.image.BufferedImage
java.awt.Image
java.awt.image.ImageConsumer
java.awt.GraphicsConfiguration
ButtonPeer
TextComponentPeer
ChoicePeer
CheckboxPeer
LabelPeer
TextFieldPeer
TextAreaPeer
ContainerPeer
PanelPeer
CanvasPeer
WindowPeer
FramePeer
java.lang.Runnable
DialogPeer
ListPeer
java.awt.font.LineMetrics
@0(1, 1) toolkit.cs ikvm/awt line 1 12. November
2006 12:16:31 126859

I have some questions:
1.) Does this version work with eclipse 3.1.2?
2.) How can I add assembly to the project? There are no
other options in the project seetings as the generics
seetings.
3.) How can I set the src and output directories?
4.) How can I setup the c# compiler. In the preferences
the csharp compiler tab is blank gray.

Volker

Discussion


Log in to post a comment.

MongoDB Logo MongoDB