Unable to run CSharp programs

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 9 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
vmaddux
Posts: 1
Last visit: Wed Oct 01, 2014 3:19 pm

Unable to run CSharp programs

Post by vmaddux »

I am having some difficulty with CSharp and PrimalScript 2014 (7.0.37). Upon running C# files, the error message that appears states "The specified command "$FileTitle$.exe" cannot be found". This appears to be a misconfigured CS compiler.

The Languages list in Options/Environment states that C# is set to the "$FileTitle$.exe" variable, and that the directory is $FileDir$.

Would you be kind enough to inform me where to point the Script Interpreter or Compile/Syntax Check options for C#? I have tried to set it to C:\Windows\Microsoft.NET\Framework64\v4.0.XXXXX\csc.exe, but that returns warning CS2008: No source files specified and error CS1562: Outputs without source must have the /out option specified. Running the file with the CScript (Windows Script Host) x64.exe located in C:\Program Files\SAPIEN Technologies, Inc\PrimalScript 2014\ScriptEngines\CScript (Windows Script Host) x64.exe returns Corrupt image file!.
This topic is 9 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.