If there are 2 classes compiling to the same javascript file, it seems that the
casing of the output file matters.
The 2 classes compile to the same javascript file if the output file matches in
both.
But if one of the classes has a different case, KAPUT, it seems to delete
everything else in the javascript file, keeping only one class.
[JsType(JsMode.Clr, Filename = "~/../dev/resjs/Common.js")]
public enum DataEditors
{
Textbox,
Textarea,
ImagePicker,
ContentEditor,
DateEditor,
}
[JsType(JsMode.Clr, Filename = "~/../dev/resjs/common.js")]
public enum DataEditorsDeux
{
Textbox,
Textarea,
ImagePicker,
ContentEditor,
DateEditor,
}
Note the common.js VS Common.js
In my case I had like 20 classes compiling to Common.js
By mistake I added the common.js (lowercase) and it erased everything else, had
to Camelize it to Common.js and then everything popped back up.
Original issue reported on code.google.com by DanelK...@gmail.com on 31 Jul 2013 at 2:09
Original issue reported on code.google.com by
DanelK...@gmail.com
on 31 Jul 2013 at 2:09