samaguire / TabularEditorScripts

MIT License
20 stars 0 forks source link

How to start a Program from VsCode? #30

Closed Rasenkantenstein closed 1 year ago

Rasenkantenstein commented 2 years ago

Hi Sam,

due to me being new to C# I was wondering how to start a script for testing from VsCode.

I read that entering the debugging code should work. However, in the launch.json file there's a reference to a dll that doesn't exist in the repo: image

Otherwise thank you so much from the abundance of cool csx-files :-)

Konstantin

samaguire commented 2 years ago

The scripts are designed to be run from within TE3. There are some references that must be interpreted within the TE3 environment for the scripts to run. i.e. which columns are selected in the GUI.

However, for the purposes of building scripts within VSCode, I've referenced the TE3 assemblies from the default 64bit install directory.

I have in the works importing the scripts/macros into TE3. This when it's done will be one of the few scripts that could be run from outside of TE3.

samaguire commented 1 year ago

The recent updates to the report now address this. Please check out the updated ReadMe.