Running a script via the commanline and -S is not working
I can run a C# script in TE2 or TE3 with no problem. When invoking the same script via the command line I get an error as follows. C# is all new to me
The script also works from TE2 when I open the tool from the command line using the SPN so I doubt its access related.
Executing script 0... Script compilation errors: Error CS1024 on line 1, col 2: Preprocessor directive expected Error CS1025 on line 1, col 4: Single-line comment or end-of-line expected
Script has LF as EOL. Error occurirng at line 2. I'll dig around and see if I need to install anything else that comes built into TE
#r "Microsoft.AnalysisServices.Core.dll" using ToM = Microsoft.AnalysisServices.Tabular;
@MikkyD2 The current version seems to require CRLF as EOL. Replacing LF to CRLF in the script should fix the error.
Thank you
This should now be fixed in 2.20.0!