Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on parse when using mining script #28

Closed
ChrisDevinePimss opened this issue Jul 4, 2017 · 1 comment
Closed

Error on parse when using mining script #28

ChrisDevinePimss opened this issue Jul 4, 2017 · 1 comment

Comments

@ChrisDevinePimss
Copy link

[
{
"TimeDateTimeIntraDayCal": "22.20.00",
"TimeDateTimeIntraSecMilliString": "474",
"CaptionString": "System.Exception: compilation error: (67,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declarations\r\n at BotSharp.ScriptRun.ScriptRun.<>c__DisplayClass61_0.b__0()",
"LineIndex": 66,
"CharacterIndexInLine": 33,
"LineIndexInAvalonEdit": 67,
"CharacterIndexInLineInAvalonEdit": 34
}
]

@Viir
Copy link
Collaborator

Viir commented Jul 10, 2017

To resolve this error, move the using directive from line 66 to the top of the script.

For more details, on this error see https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants