An item with the same key has already been added. - Javascript

hello,
i just started to learn unity2D and i ran in to a problem with my first code file…
i followed the instructions, which are simple and i get the above Error.
i created a js file and without even adding anything i get the error.
An item with the same key has already been added(Error:System.ArgumentException)

help any one?

thank you

Welcome to the forum!

Please show at least the code, such that we get an idea. Also point us to the line where the issue happens and don’t forget to use code tags:

as i said the code is very basic and i get the error in the MonoDevelop unity when i press build all . but it still worked in play mode in the console.

#pragma strict
var greeting:String = "Hello World!";
function Start ()
{
print(greeting);
}
function Update ()
{}

MonoDevelop doesn’t support UnityScript as far as I know.