oleg-shilo / CS-Script.VSIX

5 stars 2 forks source link

Trying to use the extension for visual studio 2019 #4

Closed oleg-shilo closed 3 years ago

oleg-shilo commented 3 years ago

Moved from https://groups.google.com/g/cs-script/c/ZuKwBI5TGKU/m/CXqIWCCCBQAJ Trying to use the extension for visual studio 2019 i got the following

image

Cs-script extension is disabled , no compatible cs-script version found min3.4.2

But i have installed the 3.30.3.0 The same in vs studio 2015 and 2017 and for project based on framework .net 3.0 and 3.5 Please help , what can i do? Thank a lot in advance

oleg-shilo commented 3 years ago

The extension tries to find the location of the script engine via dedicated envar. If it is empty or not pointing to the right location the extension will not work.

I suggest you try to see by yourself if the envar points to the right location.

let me know what is the output of echo %CSSCRIPT_DIR% in your command prompt.

allebonvi commented 3 years ago

Hi all, thank you the problem was exactly that of CSCSCRIP_INC pointing to a wrong place

HuoYingCunCunZhang commented 3 years ago

I have the same question, may I ask how to solve it @oleg-shilo

oleg-shilo commented 3 years ago

The second message in this thread is the answer: image

HuoYingCunCunZhang commented 3 years ago

Thank you very much. I'll look for the corresponding environment variable.

HuoYingCunCunZhang commented 3 years ago

The second message in this thread is the answer: image

I use the command install cs-script

choco install cs-script 

image

How I configure it, please explain in detail