Visual C# Developer Center > Visual C# Forums > Visual C# General > Scripting with Miscrosoft.JScript.Vsa
Ask a questionAsk a question
 

General DiscussionScripting with Miscrosoft.JScript.Vsa

  • Friday, November 06, 2009 4:19 PMalexxz4 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi

    I'm using a JScript vsaEngine to evaluate expressions. I tried to add functions to the expressions : it works when the function is present in the expression. But when I try to evaluate a string with only functions then separately evaluate expressions where I use those functions, it dont work. The references are lost. Is there a way to make it persistant?

All Replies

  • Tuesday, November 10, 2009 10:46 AMRoahn LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello alex,

    Could you please describe the issue in more detail? "The references are lost", do you mean the reference to Microsoft.JScript.Vsa.dll is lost?

    Thanks a lot!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!