You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to include all the files in "Shared"
From Oleg:
If you are hosting your script engine then it can be done very easy with dynamically composed includes script similarly to CS-Script "linq.includes.cs"
Though for stand alone script execution it's problematic.
I actually see this as a good (easy to implement) feature with syntax similar to this: //css_include *.cs
Derek:
That syntax looks good to me. It would be good to make sure it works with relative paths like:
//css_include ..\Shared*.cs
The text was updated successfully, but these errors were encountered:
* Issue #7: Have a way to import all the script files in a directory (Support for //css_inc sub*.cs)
* Issue #6: CodeCom Evaluator gets slower after many LoadCode iterations (removed test code)
*Reinstated WPF support/sample
Is there a way to import all script files in a directory?
I'd like to use a folder as a grouping mechanism for helper classes.
//css_dir ..\Shared;
//css_import BatchMethods;
//css_import BatchConstants;
//css_import SharedMethods;
...
It would be nice to be able to include all the files in "Shared"
From Oleg:
If you are hosting your script engine then it can be done very easy with dynamically composed includes script similarly to CS-Script "linq.includes.cs"
Though for stand alone script execution it's problematic.
I actually see this as a good (easy to implement) feature with syntax similar to this: //css_include *.cs
Derek:
That syntax looks good to me. It would be good to make sure it works with relative paths like:
//css_include ..\Shared*.cs
The text was updated successfully, but these errors were encountered: