Skip to content

Running a script via the commanline and -S is not working #27

@MikkyD2

Description

@MikkyD2

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions