Forum

Yet another export error

Edit: Found what was causing this error. Seems to be a bad idea to use a Pipe (|) inside a Pin name.

@elias It’s the patch I send you. Tried with 2021.4.0-0112

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5826,19): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5826,19): Invalid expression term '|'

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,240): ) expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,240): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,240): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,248): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,248): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,262): Invalid expression term 'out'

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,262): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,262): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,305): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,305): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,334): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,334): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,351): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(5827,351): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6056,361): Syntax error, ',' expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6056,362): Syntax error, ',' expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6056,366): Identifier expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6454,19): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6454,19): Invalid expression term '|'

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,247): ) expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,247): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,247): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,255): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,255): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,269): Invalid expression term 'out'

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,269): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,269): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,312): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,312): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,341): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,341): } expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,358): ; expected

Csc: : ERROR D:\_Patching\SomeProject\Executable\src\KWO.Core\KWO.Content.vl.cs(6455,358): } expected

System.Exception: ; expected
Invalid expression term '|'
) expected
; expected
} expected
; expected
} expected
Invalid expression term 'out'
; expected
} expected
; expected
} expected
; expected
} expected
; expected
} expected
Syntax error, ',' expected
Syntax error, ',' expected
Identifier expected
; expected
Invalid expression term '|'
) expected
; expected
} expected
; expected
} expected
Invalid expression term 'out'
; expected
} expected
; expected
} expected
; expected
} expected
; expected
} expected
   at VL.Lang.Roslyn.Export.ProjectBuilder.<Build>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.Lang.Roslyn.Export.SolutionBuilder.<Build>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.Lang.Roslyn.Export.SolutionBuilder.<Export>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.HDE.Forms.AppExporterForm.<ExportButton_Click>d__15.MoveNext()

The pipe character should get escaped in upcoming builds. Thanks.