Jump to content

Dotnet 3.5 and Monodevelop/Visualstudio quirks


Recommended Posts

Sorry if this has been asked before but what is going on with the mono IDE? I wanted to test it out but it seems that there are many things it throws build errors with that Visual studio does not care about.

For instance doing this:


Public void somemethod(float input = 1.0f)
{

}

builds fine in Visual studio but in monodevelop it throws a build error on account of the default variable (input).

There was another case too. But dont remember what it was

A strange thing is that if i close the project, open the project in visual studio, save it

and then open it in mono again. It compiles fine... any idea why this is happening? Is there some assembly settings that are changed? The target language is always set to 3.5 / mono

One thing that is suggested as a fix is to to disable compiling in mono (inside the main options/debugger tab) but this disables the ide requiring you to compile with unity. Which does not appear to be a valid option for ksp plugins.

Im a noob at programming so im sorry if this is a stupid question.

Im using Monodevelop 4.01(the one that ships with unity)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...