├── .gitattributes ├── .github └── workflows │ └── dotnet-desktop.yml ├── .gitignore ├── LICENSE ├── README.md ├── bin ├── choco │ ├── cs-script.4.0.0.0.nupkg │ └── cs-script.4.0.1.0.nupkg └── linux │ └── ubuntu │ ├── OBSOLETE.MONO-BUILD │ ├── build │ ├── debian │ │ ├── README │ │ ├── changelog │ │ ├── changelog.template │ │ ├── compat │ │ ├── control │ │ ├── copyright │ │ ├── cs-script-docs.docs │ │ ├── cs-script.links │ │ ├── cs-script.substvars │ │ ├── debhelper-build-stamp │ │ ├── files │ │ ├── install │ │ ├── install.template │ │ ├── postinst │ │ ├── rules │ │ └── source │ │ │ └── format │ ├── prepare_package_sources.cs │ └── readme.md │ ├── cs-script_3.27.2.1.deb │ ├── cs-script_3.27.5.0_all.deb │ ├── cs-script_3.28.8.0_all.deb │ └── version.txt ├── docs ├── Donation.html ├── README.md ├── _config.yml ├── download.stats │ ├── css.npp.count.jpeg │ ├── daily_downloads.files │ │ ├── examples.css │ │ ├── jquery.js │ │ ├── jquery_002.js │ │ ├── jquery_003.js │ │ └── jquery_004.js │ └── daily_downloads.html ├── help-legacy │ ├── Adding_Searchdirs.html │ ├── Advanced_scripting.html │ ├── Advanced_scripting_tutorial.html │ ├── Alternative_Compilers.html │ ├── AppConfig.html │ ├── AppConfig_Tutorial.html │ ├── AutoClass.html │ ├── CF.html │ ├── CS-Script_on_Mono.html │ ├── CSI.html │ ├── CSScript.html │ ├── Classless.html │ ├── ClasslessOverview.html │ ├── Command-line_Interface.html │ ├── Compatibility.html │ ├── Compile.html │ ├── CompileAssembly.html │ ├── CompilerOptionsDirective.html │ ├── Complex_scripting.html │ ├── Config.html │ ├── ConfigUtils.html │ ├── Configuration.html │ ├── Copy of Config.html │ ├── Creating_shell_extension.html │ ├── Debugging.html │ ├── Deployment.html │ ├── Deployment_tutorial.html │ ├── Development_tools.html │ ├── Directives.html │ ├── Dynamic_assembly_loading.html │ ├── Embedded_Arguments.html │ ├── Environment.html │ ├── Extending_applications.html │ ├── Extending_scripting_system.html │ ├── Features.html │ ├── Feedback.html │ ├── Further_information.html │ ├── General_Concept.html │ ├── HTML Help Workshop.lnk │ ├── Hello_World.html │ ├── Image_processor.html │ ├── Images │ │ ├── AppSettings.PNG │ │ ├── CF1.PNG │ │ ├── CF2.PNG │ │ ├── CFMenu.PNG │ │ ├── CLRDebugger.PNG │ │ ├── CLRDebuggerMenu.PNG │ │ ├── CSI.png │ │ ├── CmdShellMenu.PNG │ │ ├── Copy of pre_post.PNG │ │ ├── DefaultExecutionModel.png │ │ ├── Linux.png │ │ ├── Mono.PNG │ │ ├── NPP.PNG │ │ ├── Printint_tutorial.PNG │ │ ├── SD.PNG │ │ ├── SDOpenMenu.PNG │ │ ├── ShellExt.PNG │ │ ├── ShellExt2.PNG │ │ ├── ShellExt3.PNG │ │ ├── SurrogateExecutionModel.png │ │ ├── Thumbs.db │ │ ├── TraceMonitor.PNG │ │ ├── VS10.0Debugger.PNG │ │ ├── VS10.0DebuggerMenu.PNG │ │ ├── VS7.1Debugger.PNG │ │ ├── VS7.1DebuggerMenu.PNG │ │ ├── VS8.0Debugger.PNG │ │ ├── VS8.0Debugger1.PNG │ │ ├── VS8.0Debugger2.PNG │ │ ├── VS8.0DebuggerMenu.PNG │ │ ├── VS9.0Debugger.PNG │ │ ├── VS9.0DebuggerMenu.PNG │ │ ├── WinForm.PNG │ │ ├── architecture.PNG │ │ ├── config.PNG │ │ ├── config.a.png │ │ ├── config1.PNG │ │ ├── config2.PNG │ │ ├── config3.png │ │ ├── config4.png │ │ ├── config5.png │ │ ├── config6.png │ │ ├── custom_type.PNG │ │ ├── custom_type2.PNG │ │ ├── dcg.PNG │ │ ├── dcg1.PNG │ │ ├── dcg2.PNG │ │ ├── debugger.PNG │ │ ├── hello.PNG │ │ ├── hello_vb.PNG │ │ ├── imageprocessor.PNG │ │ ├── imageprocessor1.PNG │ │ ├── interop_tut.PNG │ │ ├── mono1.png │ │ ├── mono2.png │ │ ├── mono3.png │ │ ├── mono4.png │ │ ├── nuget.png │ │ ├── pre_post.PNG │ │ ├── scriptInNP.png │ │ ├── searchDirs.png │ │ ├── selectDir.PNG │ │ ├── shell_ext_incompatibility.PNG │ │ ├── silverlight_menu.png │ │ ├── syntime.PNG │ │ ├── textprocessor.PNG │ │ ├── textprocessor1.PNG │ │ ├── textprocessor2.PNG │ │ ├── textprocessor3.PNG │ │ ├── textprocessor4.PNG │ │ ├── toolbar1.PNG │ │ ├── toolbar2.PNG │ │ ├── well-known_type.PNG │ │ ├── ws1.PNG │ │ └── ws2.PNG │ ├── Importing_script_Tutorial.html │ ├── Importing_scripts.html │ ├── Installation.html │ ├── Installation_files │ │ ├── colorschememapping.xml │ │ ├── filelist.xml │ │ └── themedata.thmx │ ├── Integration_with_OS.html │ ├── Isolated_execution_patern.html │ ├── Licence.html │ ├── Load_assemblies.html │ ├── MSDN.css │ ├── MS_VS_10.0.html │ ├── MS_VS_7.1.html │ ├── MS_VS_8.0.html │ ├── MS_VS_9.0.html │ ├── NonEngineDirectives.html │ ├── Notepad++.html │ ├── ObjectCasterLicence.html │ ├── Overview.html │ ├── Passing_custom_type_between_script_and_host.html │ ├── Passing_well-known_type_between_script_and_host.html │ ├── Platform_SDK.html │ ├── ProgrammingReference.html │ ├── Quick_start.html │ ├── Sample_script.html │ ├── Script_hosting_guideline_.html │ ├── Script_library.html │ ├── SharpDevelop.html │ ├── Simple_Scripting.html │ ├── Synchronise_system_clock.html │ ├── Text_processor.html │ ├── Text_processor1.html │ ├── Tutorial.html │ ├── Tutorial │ │ ├── CF │ │ │ └── Hello.cs │ │ ├── CmdShell.cs │ │ ├── CustomAppSettings.cs.config │ │ ├── Hello.cs │ │ ├── Macros │ │ │ ├── precompile.cs │ │ │ └── script_simple.cs │ │ ├── Non-C# │ │ │ ├── CSSCodeProvider.cs │ │ │ ├── Hello.js │ │ │ ├── Hello.vb │ │ │ └── compilers.cs │ │ ├── PrintText.cs │ │ ├── WS │ │ │ ├── Hello.cs │ │ │ ├── Hello_WS │ │ │ │ └── Hello.asmx │ │ │ └── helloClient.cs │ │ ├── WinForm.cs │ │ ├── WinForm.cs.txt │ │ ├── calendar.cs │ │ ├── synTime.cs │ │ └── web.config │ ├── Type_sharing_patern.html │ ├── Using_.NET_assemblies.html │ ├── Using_COM.html │ ├── Using_COM_tutorial.html │ ├── Using_Resources.html │ ├── What_is_new.html │ ├── What_is_new_Next.html │ ├── What_is_new_files │ │ ├── CmdShell.cs │ │ ├── CustomAppSettings.cs.config │ │ ├── Hello.cs │ │ ├── PrintText.cs │ │ ├── WinForm.cs │ │ ├── calendar.cs │ │ ├── colorschememapping.xml │ │ ├── filelist.xml │ │ ├── synTime.cs │ │ └── themedata.thmx │ ├── WinForm_script.html │ ├── add_searchdir_cmd.html │ ├── advanced.html │ ├── clear.cs │ ├── cpp.html │ ├── dcg.corrupted.html │ ├── dcg.html │ ├── evaluator.html │ ├── fundamantals.html │ ├── hosting_control.html │ ├── ignoreNS.html │ ├── imageprocessor.resx │ ├── indexNoFrame.html │ ├── introduction.html │ ├── js.html │ ├── nant.html │ ├── noconfig.html │ ├── non_cs_compilers.html │ ├── non_engine_directives.html │ ├── other_languages.html │ ├── pre_post_scripts.html │ ├── precompiler_directive.html │ ├── precompilers.html │ ├── remoting.html │ ├── root │ │ ├── MSDN.css │ │ ├── Thumbs.db │ │ ├── WhatIsNew.html │ │ ├── contents.html │ │ ├── css_update.cs │ │ ├── index.html │ │ ├── indexCOMTutorial.html │ │ ├── indexGuideline.html │ │ ├── indexImporting.html │ │ ├── indexNoFrame.html │ │ ├── indexScriptHosting.html │ │ ├── indexTutorial.html │ │ ├── indexUsingAssemblies.html │ │ ├── indexWhatNew.html │ │ ├── search.bmp │ │ ├── search.html │ │ ├── synch.bmp │ │ ├── tree.css │ │ ├── tree.js │ │ ├── treenodedot.gif │ │ ├── treenodeminus.gif │ │ └── treenodeplus.gif │ ├── scriptAliases.html │ ├── scriptPostProcessing.html │ ├── script_nugets.html │ ├── shell_extensions.html │ ├── simplified_hosting.html │ ├── todo.txt │ ├── vb.html │ ├── vista.html │ ├── wcf.html │ ├── wpf.html │ └── ws.html ├── help │ ├── fti │ │ ├── FTI_100.json │ │ ├── FTI_101.json │ │ ├── FTI_102.json │ │ ├── FTI_103.json │ │ ├── FTI_104.json │ │ ├── FTI_105.json │ │ ├── FTI_106.json │ │ ├── FTI_107.json │ │ ├── FTI_108.json │ │ ├── FTI_109.json │ │ ├── FTI_110.json │ │ ├── FTI_111.json │ │ ├── FTI_112.json │ │ ├── FTI_114.json │ │ ├── FTI_115.json │ │ ├── FTI_116.json │ │ ├── FTI_117.json │ │ ├── FTI_118.json │ │ ├── FTI_119.json │ │ ├── FTI_120.json │ │ ├── FTI_97.json │ │ ├── FTI_98.json │ │ ├── FTI_99.json │ │ └── FTI_Files.json │ ├── html │ │ ├── 00a902da-a4b5-9520-794a-271520c93b86.htm │ │ ├── 01b5c926-81be-482d-f638-9b5bc1b3750d.htm │ │ ├── 07c0d0c4-5ca3-69d7-38e4-a2eb18461661.htm │ │ ├── 09b0bcc7-5448-3c36-0892-68321d61e751.htm │ │ ├── 09f052d8-4ec5-ad27-ee79-c1ee2daec0f1.htm │ │ ├── 0ab39db9-2087-547f-ffda-47c40e999ff6.htm │ │ ├── 0abb862d-f98f-3a95-2826-cf1bebbb23b7.htm │ │ ├── 0bab5c7c-d6d7-0b88-744b-10af4c0270dc.htm │ │ ├── 0cc51cbb-ec0d-3a24-2b17-07a5427af789.htm │ │ ├── 0e1f8b7b-1d8a-423e-a4a3-7c35249bf89a.htm │ │ ├── 0fad0344-9eba-f494-5c72-3b6ee89d3aea.htm │ │ ├── 108a0b21-21aa-711d-bdf5-d2e9ed51f742.htm │ │ ├── 10aa6cee-85d8-20ee-3805-04eb499e18c2.htm │ │ ├── 119d5cb0-66b7-5527-367a-62c64ac98e2c.htm │ │ ├── 13d95584-7d3c-62fe-b3d7-1cbe59658f8f.htm │ │ ├── 15340d94-9413-8591-1a8a-4e72c0a5e954.htm │ │ ├── 15452a6a-8882-4106-80c3-6760822aa5db.htm │ │ ├── 18ed393e-2fc6-af33-8390-0ee3ff72824a.htm │ │ ├── 195d70b4-04fa-e149-4b5a-220191416fab.htm │ │ ├── 19752f72-af80-7204-d8c5-52b603b2a789.htm │ │ ├── 1a8bb1a0-2325-9361-98e4-520e5020fe71.htm │ │ ├── 1b339948-d1d7-5952-a62e-5035def91ea9.htm │ │ ├── 1b7af478-aa42-2aee-8662-266fc931e322.htm │ │ ├── 1cf3a07f-22dd-f50a-a472-847296503259.htm │ │ ├── 1fc041db-891d-ea4d-44e2-1a08c768b365.htm │ │ ├── 20c06a92-1d55-9ee0-44b9-fc27ae651f28.htm │ │ ├── 238de62d-63ae-b4f3-236c-ee6ec42c5316.htm │ │ ├── 2393b5e9-ba1f-8f10-f735-8de2026b1240.htm │ │ ├── 2454ea46-287b-8906-08bc-d4e26668d30a.htm │ │ ├── 24a8edf3-c189-eafc-310b-19f1f58a7fec.htm │ │ ├── 24de8db2-3002-d30f-e309-70a9399a420f.htm │ │ ├── 26af89dd-5623-fa8d-16bf-1d5543d0401b.htm │ │ ├── 29c8a0d4-aa24-ac3e-d9c0-a5ed5d636c97.htm │ │ ├── 2b1bad97-793d-f324-4407-b6d683c31c70.htm │ │ ├── 2c385d49-7614-07ea-1214-0b8034380290.htm │ │ ├── 300d962a-a0f2-f339-1403-fc8297b60814.htm │ │ ├── 31d29ac8-5a9a-a4ae-ac6f-8d8ee297c2c4.htm │ │ ├── 3347382d-f142-cd67-390d-8fc0566d9458.htm │ │ ├── 33e2b04a-87b0-98e5-bfc2-f85c47029951.htm │ │ ├── 33e53372-e8ea-848d-e27f-055e834015b2.htm │ │ ├── 343db066-d527-c39e-76fb-bb3e7e06f64d.htm │ │ ├── 367c21dc-5207-dc5c-813d-93c790dd2894.htm │ │ ├── 367ecb28-9e87-9a5b-908c-35abcc5511be.htm │ │ ├── 3853215a-1dba-de06-cfdc-13a6edb2e37f.htm │ │ ├── 387f2101-8cca-a21e-294d-820976872051.htm │ │ ├── 39458dfb-f9f1-c3eb-d545-19bda88dd558.htm │ │ ├── 3b8d34f1-2306-908a-2573-f23afa196f2f.htm │ │ ├── 3bca438b-6a3b-acb6-218a-f07ec3aa462e.htm │ │ ├── 3be9ef02-eb46-3210-6986-e2aaa7567039.htm │ │ ├── 3dc26165-988b-6fbb-2d84-81ff27b5e2a6.htm │ │ ├── 3e51f27f-ce40-91a2-9a58-be71be00e6a0.htm │ │ ├── 3e90a541-99ac-2d3d-ced7-932cec839e04.htm │ │ ├── 3ea68040-34fa-2b39-99c8-0756260830b0.htm │ │ ├── 3fa43fb5-189f-29f6-97d2-a5505ce2d2a5.htm │ │ ├── 3fd19c59-76a9-c480-883f-f9ff3a00c242.htm │ │ ├── 412133e7-e81d-fde0-974a-4ff33aaa1375.htm │ │ ├── 41878467-4d4b-c5e7-e10b-7ce187a692e3.htm │ │ ├── 41d87c3b-6937-e0db-5c7f-da8d442e8420.htm │ │ ├── 423d47aa-a3fe-ca7f-a341-8c7532904cf3.htm │ │ ├── 429e2422-efde-c897-ebe1-31b7d55a346c.htm │ │ ├── 4459e9ea-c190-a6fe-432a-faab31f6e212.htm │ │ ├── 448f9e5b-2ab7-7889-2023-b49017452017.htm │ │ ├── 471753f8-9f49-0b80-2adb-cca16d544c2e.htm │ │ ├── 47368b85-09ce-e9de-406b-c62b8e0e47db.htm │ │ ├── 4854a1ee-3ee3-a687-e45c-976e527f9b79.htm │ │ ├── 487b1e3d-eddd-6461-575f-fa338c0b099b.htm │ │ ├── 48da3d94-90a9-5f88-9599-183f2cc20743.htm │ │ ├── 4bd650f0-0793-3ad1-9fc0-7845076363f9.htm │ │ ├── 4d700ff7-e794-57b4-6841-7cf299d12a6c.htm │ │ ├── 4e831977-d07c-c462-2ce8-4f5edac5c93c.htm │ │ ├── 4fceaaff-ad51-713d-8099-042988f73527.htm │ │ ├── 515d61bf-129c-2477-7f86-0aa117d45cef.htm │ │ ├── 522235f3-1096-fd9c-c33d-283e45ad3eba.htm │ │ ├── 53b51249-bd71-9894-2630-5e027d1a169a.htm │ │ ├── 54ba38ea-fba4-86e8-42af-2e00b3253f56.htm │ │ ├── 5516d983-327d-1b1d-3fe8-08bea3806c5b.htm │ │ ├── 557e88dc-551d-3201-e754-55b55fa53a54.htm │ │ ├── 565c1bd9-120e-2898-f064-e002af7a1853.htm │ │ ├── 56c4b2cd-0d95-7456-e9a2-e6416d705f09.htm │ │ ├── 5896e93b-159e-7fe3-207c-8375967680a5.htm │ │ ├── 59a91107-b1f6-e858-80c2-9dc9a23478e6.htm │ │ ├── 5cf3c013-48af-0aa7-0bc3-67a21d4dde3b.htm │ │ ├── 5d8c4f33-1c53-0f57-512a-41a75662c753.htm │ │ ├── 5e2dbdc6-548f-068d-e74a-9924b58479d2.htm │ │ ├── 62813cb3-4ff1-feab-56f4-8b37b36ec3df.htm │ │ ├── 62ee5b67-b522-438d-0a01-da897fc2ba5b.htm │ │ ├── 6398bbf7-8c95-3cf4-ad9c-40465ef9b496.htm │ │ ├── 6425d73f-7f0d-6e96-f3b3-8506f414cca5.htm │ │ ├── 6b72a75d-964e-5348-9d53-2d47034b8af2.htm │ │ ├── 6bc77af5-b8d1-34db-aafb-5a50f1456d5c.htm │ │ ├── 6bc88fe4-05ea-e8a2-a777-3275e58d37d2.htm │ │ ├── 6c12c148-e999-2f2e-e85b-1e46a939019d.htm │ │ ├── 6e5d4f63-37af-c074-ddfb-87924ab90568.htm │ │ ├── 6f07d62d-dc7e-8289-9888-c3db25d10e70.htm │ │ ├── 6f9bb20e-13dc-78e9-f56c-e0d62cd2beac.htm │ │ ├── 711b6834-2861-09a4-873c-3c53ff50e3e4.htm │ │ ├── 7308e6b8-7770-c651-df5c-9cb30cfba4f9.htm │ │ ├── 73d1f875-0f76-8ab8-10b1-8f40885c2ae0.htm │ │ ├── 7686eb04-f896-6c92-a375-eec64782cfbc.htm │ │ ├── 78976dd5-4163-18cb-da0f-c7e70d9d356d.htm │ │ ├── 7bb13481-c494-0623-c125-7750ab6c12c8.htm │ │ ├── 7c96a2ac-351c-464a-6c9b-e1cab512840a.htm │ │ ├── 7d9f60f6-df61-5cab-cd86-f9b37d9a45db.htm │ │ ├── 7e9ce57f-1055-7c3f-35f7-8e4ed3fb01fa.htm │ │ ├── 7eed9c18-7f7d-0bb9-b94a-cedfae6d6b47.htm │ │ ├── 8089c58b-f088-f426-bfa8-853fb375c052.htm │ │ ├── 80cb0634-dd16-46c4-b6e5-c03d07d8349d.htm │ │ ├── 834b1fdd-fabe-a0c9-6b35-3ce78dda2645.htm │ │ ├── 835964e9-e419-a3ca-5d60-78f94d3ad79d.htm │ │ ├── 83c83aee-4e9d-c68a-b76f-cc8bb0127fb7.htm │ │ ├── 84144ad6-26ea-6026-f36a-935f10358d75.htm │ │ ├── 84d0b57a-5927-77c0-91f4-af8f51d4ce39.htm │ │ ├── 8633c34f-f1e2-e370-5d13-d2725126503e.htm │ │ ├── 8635a3b6-4dda-78b6-3c00-b680f5bd52bf.htm │ │ ├── 868271a1-3c9b-e6a6-e033-fb62bceb1c8c.htm │ │ ├── 87cbc735-60de-4827-00d1-8aaef756c074.htm │ │ ├── 8990abcd-0048-0e49-f99b-36350c3d1ce3.htm │ │ ├── 899a253d-2696-e2bd-d2ef-fc1da8437399.htm │ │ ├── 8b1c1eed-6b6c-80ee-4b44-c038fc91d518.htm │ │ ├── 8bdb6840-f8b9-a23c-a912-072e2d7bfe9f.htm │ │ ├── 8c43d32e-f3d6-96ab-af8b-fe2c530b8f5f.htm │ │ ├── 8d901c29-e4ed-e9c9-0ce6-45a26cb5de74.htm │ │ ├── 8eed2f6c-0e19-3dc2-8b02-202e02c303c7.htm │ │ ├── 8f951ca5-7fc7-5951-38af-40df3a7be777.htm │ │ ├── 8fb431a4-af6f-75a9-618a-31c3ae15cf24.htm │ │ ├── 8ffb5221-d395-1789-803e-2716762a85b6.htm │ │ ├── 92b5d386-3f17-f4d1-6170-5eb634eb8424.htm │ │ ├── 93d18638-35b7-4211-3b91-b36a527d3e4a.htm │ │ ├── 9444c04e-cf37-e231-e78d-547795d56d5f.htm │ │ ├── 95931667-e660-1655-2efd-bca4a7e485ff.htm │ │ ├── 9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm │ │ ├── 98f348ea-cd3f-9c28-b493-1565d11f506d.htm │ │ ├── 99418b18-b71b-9033-7c08-6ff39aac88d2.htm │ │ ├── 99715cef-706e-a399-64e1-da83f52f4b31.htm │ │ ├── 9973ac36-9f74-ec7e-4cb4-7f23b8633482.htm │ │ ├── 9c4ff282-5122-0716-f5e3-75f6b857506a.htm │ │ ├── 9cb2b395-7837-711a-3c3b-8f1bfe204f58.htm │ │ ├── 9ccfef92-111b-7160-243a-062983a05bec.htm │ │ ├── 9eb85bf0-62eb-f51c-9105-aab916d8b926.htm │ │ ├── 9f19fa04-c9ca-00ab-dfdc-415d68d61e92.htm │ │ ├── 9f55be09-ce20-f8e8-84a9-c6c4c429d0af.htm │ │ ├── 9fc04891-14d4-6231-2985-ef92ec6d48a2.htm │ │ ├── GeneralError.htm │ │ ├── PageNotFound.htm │ │ ├── a107dbdb-cf7e-ba59-6db8-ab086f323ccf.htm │ │ ├── a110f418-7506-c29a-5d06-627050d100b4.htm │ │ ├── a2712081-4471-2357-bcc0-8827942aa439.htm │ │ ├── a2e65ef3-844b-3034-6509-8a991d4e12eb.htm │ │ ├── a456d967-d82c-977c-c4bc-f0399b313940.htm │ │ ├── a83356f7-6ec5-9695-377f-13a40f606bfd.htm │ │ ├── aa06b467-db5b-91fa-cfee-eafe8a850bba.htm │ │ ├── aada4d22-a321-2e08-5a3a-be3b1294612f.htm │ │ ├── ab4ae96a-c7d5-b223-7be9-6b0841f2b185.htm │ │ ├── ab56394f-7f51-435a-b0c3-ec1a1d317b46.htm │ │ ├── ad579f7b-d27f-ffd2-d80f-da9d6b53fd66.htm │ │ ├── ad5d369f-a449-90d9-6159-a9d431c80dfb.htm │ │ ├── aed98efc-048e-81bd-0174-d6d33d976047.htm │ │ ├── b28e37f3-1366-dd92-ac66-5c77512168d7.htm │ │ ├── b3162e9a-1cef-2092-488f-ac1d1f924519.htm │ │ ├── b4cde4c3-01e3-ffa2-acda-4d5b6fce6866.htm │ │ ├── b566748c-9cd1-3f37-abd8-a944fbdc201f.htm │ │ ├── b5c3d6fc-b602-6a2e-53ad-395d817f77fd.htm │ │ ├── b6f83acb-1293-5586-e1b6-c3f07ca55cd0.htm │ │ ├── b6fe003b-4d24-8ba0-919b-ae793b1852cf.htm │ │ ├── b717f267-2662-14ed-5247-fefc4d1d296b.htm │ │ ├── b9762da7-cbce-bc9f-b786-1145e498542c.htm │ │ ├── bcd579ae-f88a-a5b3-283a-eec349b640c0.htm │ │ ├── bd7ee734-896b-4281-ce08-71d867253ae4.htm │ │ ├── bd97ebe8-8b92-a232-a4c6-0cc7c1a65564.htm │ │ ├── c1bb9823-74b5-b504-2ff1-867965c16d7d.htm │ │ ├── c2dcbd48-e643-a8be-7fb8-559f8f472d09.htm │ │ ├── c65c8e9f-499d-4fe0-cd1d-247a09d1760b.htm │ │ ├── c7b7c3e6-f83c-8bd0-3f0a-039089ddc51c.htm │ │ ├── c97f99a4-8518-1c6d-b5cf-910c99bddd55.htm │ │ ├── c9938dbd-8050-ae76-586d-4b3c2b5051d4.htm │ │ ├── cd2ceb07-2ba5-37ed-6af8-1ad949edff47.htm │ │ ├── cd756a37-fd28-bd12-2abf-a88262d30d40.htm │ │ ├── cdbd28da-408d-8785-a1e5-36879e2b71a0.htm │ │ ├── ceb4eab2-3fb7-b506-eb71-c942971c8641.htm │ │ ├── cfef411d-2c62-bd5e-6966-ef8caaa94f3e.htm │ │ ├── d08c15b2-298e-c46d-bf57-da1c09896009.htm │ │ ├── d096b785-4355-62d3-1b79-d45d9ea943a6.htm │ │ ├── d1021c54-75f4-209d-7d53-2d4c1ed2abd5.htm │ │ ├── d102f883-37bb-3977-9012-0f21657bdf28.htm │ │ ├── d2b6b5f2-6267-742c-e0c7-bc9f53e81461.htm │ │ ├── d49770f2-b1c0-3cd2-7d95-7db0895918d0.htm │ │ ├── d4f69782-4a15-87f0-3060-5cc035516a23.htm │ │ ├── d6b0dba1-3686-d6c9-603d-a8069d4da7f8.htm │ │ ├── d781a151-36c2-0b0d-e72c-9ed09cd9ef26.htm │ │ ├── d8ded867-4253-3df7-74ef-ee5b6deac315.htm │ │ ├── dbcb78d8-5bcc-4ad3-da25-d2c7bb971980.htm │ │ ├── dcc36655-67ef-6f81-2c41-f70663a90c03.htm │ │ ├── dd1b4b57-92d4-2a46-8dd3-0083c51f383d.htm │ │ ├── dd1d21fd-0687-3709-ad9e-fb2c04b07fdd.htm │ │ ├── df6eae6d-0c92-b901-1465-656142826a1b.htm │ │ ├── dfdf27a9-1c0a-ad7c-0c81-82be9b94e1e8.htm │ │ ├── e0d86ffe-761e-6966-20e1-a4bae887ba6b.htm │ │ ├── e0f33ea5-a8ae-ec13-347f-628523337c10.htm │ │ ├── e1cb974a-6909-64d1-397e-41e1b6119ab1.htm │ │ ├── e35b2c14-feb8-2a05-b4ac-5421fd0d57f0.htm │ │ ├── e47a926c-2877-8e9f-594d-68eac5f6d191.htm │ │ ├── e4b46158-d759-e297-d425-6fc119e5b545.htm │ │ ├── e6a0b895-9bb1-21d5-ca24-a6bd3fef087a.htm │ │ ├── e70f4c22-e637-e8d0-051b-540301ec27b2.htm │ │ ├── e7327ccc-223b-979b-4488-2a2f0af63fd3.htm │ │ ├── e84b0e28-32b7-d255-1029-cf56ef52bb0c.htm │ │ ├── e862697d-3cd2-4fa7-bdbd-3d17ef405b58.htm │ │ ├── e8feecdf-589c-0cb4-0776-e3653335f139.htm │ │ ├── e9934cba-0d21-941b-ae5d-deeb63294f4a.htm │ │ ├── ea230527-cb73-5f65-3758-3cefe73be216.htm │ │ ├── ea593052-9519-dc6d-9b6d-3737fe51c56c.htm │ │ ├── ebc3afc5-8d42-9a7b-d9a4-eef0d80d73fd.htm │ │ ├── ec3bbab6-6e4b-24be-5f16-22d26181db1b.htm │ │ ├── ed88c78c-4eae-ca54-cef4-ed6e5bb54ecc.htm │ │ ├── ed93ede5-726f-0851-4f97-86672c67da7e.htm │ │ ├── eed08338-c834-567c-1095-ab484c37ebac.htm │ │ ├── ef0eca59-43e0-7ad8-4d1e-120f4da50604.htm │ │ ├── f09af14a-a96c-ff1c-f1b5-55440434391d.htm │ │ ├── f278c301-ea20-80a0-593e-6a912b0eda89.htm │ │ ├── f35df10b-1494-9f5a-0244-44f6d395d8c3.htm │ │ ├── f3a34d8f-79b9-4863-5089-b74fb32b266b.htm │ │ ├── f4567bee-c0ab-2e65-9e85-bcf87289a445.htm │ │ ├── f48006c1-07c7-60fb-427a-d125a7d04149.htm │ │ ├── f5eb4f01-8395-d745-0665-c2cb7fc57f1b.htm │ │ ├── f6a6e393-2998-fed9-9861-369ed7537841.htm │ │ ├── f706d49a-511f-da56-d67d-4d25ea24868a.htm │ │ ├── faf11216-2330-e125-eef1-ad744fed8227.htm │ │ ├── fc41bf6b-df51-f7a1-8162-19764192029a.htm │ │ ├── fc80ae9e-0234-1428-984e-e4033ad8079e.htm │ │ └── fffa2be9-b2b0-a2e0-1965-20d046d5c77f.htm │ ├── icons │ │ ├── AlertCaution.png │ │ ├── AlertNote.png │ │ ├── AlertSecurity.png │ │ ├── CFW.gif │ │ ├── CodeExample.png │ │ ├── Help.png │ │ ├── Search.png │ │ ├── SectionCollapsed.png │ │ ├── SectionExpanded.png │ │ ├── TocClose.gif │ │ ├── TocCollapsed.gif │ │ ├── TocExpanded.gif │ │ ├── TocOpen.gif │ │ ├── favicon.ico │ │ ├── privclass.gif │ │ ├── privdelegate.gif │ │ ├── privenumeration.gif │ │ ├── privevent.gif │ │ ├── privextension.gif │ │ ├── privfield.gif │ │ ├── privinterface.gif │ │ ├── privmethod.gif │ │ ├── privproperty.gif │ │ ├── privstructure.gif │ │ ├── protclass.gif │ │ ├── protdelegate.gif │ │ ├── protenumeration.gif │ │ ├── protevent.gif │ │ ├── protextension.gif │ │ ├── protfield.gif │ │ ├── protinterface.gif │ │ ├── protmethod.gif │ │ ├── protoperator.gif │ │ ├── protproperty.gif │ │ ├── protstructure.gif │ │ ├── pubclass.gif │ │ ├── pubdelegate.gif │ │ ├── pubenumeration.gif │ │ ├── pubevent.gif │ │ ├── pubextension.gif │ │ ├── pubfield.gif │ │ ├── pubinterface.gif │ │ ├── pubmethod.gif │ │ ├── puboperator.gif │ │ ├── pubproperty.gif │ │ ├── pubstructure.gif │ │ ├── slMobile.gif │ │ ├── static.gif │ │ └── xna.gif │ ├── index.html │ ├── scripts │ │ ├── branding-Website.js │ │ ├── branding.js │ │ ├── clipboard.min.js │ │ ├── highlight.js │ │ └── jquery-3.3.1.min.js │ ├── styles │ │ ├── branding-Help1.css │ │ ├── branding-HelpViewer.css │ │ ├── branding-Website.css │ │ ├── branding-cs-CZ.css │ │ ├── branding-de-DE.css │ │ ├── branding-en-US.css │ │ ├── branding-es-ES.css │ │ ├── branding-fr-FR.css │ │ ├── branding-it-IT.css │ │ ├── branding-ja-JP.css │ │ ├── branding-ko-KR.css │ │ ├── branding-pl-PL.css │ │ ├── branding-pt-BR.css │ │ ├── branding-ru-RU.css │ │ ├── branding-tr-TR.css │ │ ├── branding-zh-CN.css │ │ ├── branding-zh-TW.css │ │ ├── branding.css │ │ └── highlight.css │ └── toc │ │ ├── 0abb862d-f98f-3a95-2826-cf1bebbb23b7.xml │ │ ├── 0e1f8b7b-1d8a-423e-a4a3-7c35249bf89a.xml │ │ ├── 108a0b21-21aa-711d-bdf5-d2e9ed51f742.xml │ │ ├── 15452a6a-8882-4106-80c3-6760822aa5db.xml │ │ ├── 18ed393e-2fc6-af33-8390-0ee3ff72824a.xml │ │ ├── 195d70b4-04fa-e149-4b5a-220191416fab.xml │ │ ├── 1a8bb1a0-2325-9361-98e4-520e5020fe71.xml │ │ ├── 1cf3a07f-22dd-f50a-a472-847296503259.xml │ │ ├── 238de62d-63ae-b4f3-236c-ee6ec42c5316.xml │ │ ├── 26af89dd-5623-fa8d-16bf-1d5543d0401b.xml │ │ ├── 29c8a0d4-aa24-ac3e-d9c0-a5ed5d636c97.xml │ │ ├── 367c21dc-5207-dc5c-813d-93c790dd2894.xml │ │ ├── 3853215a-1dba-de06-cfdc-13a6edb2e37f.xml │ │ ├── 387f2101-8cca-a21e-294d-820976872051.xml │ │ ├── 39458dfb-f9f1-c3eb-d545-19bda88dd558.xml │ │ ├── 3bca438b-6a3b-acb6-218a-f07ec3aa462e.xml │ │ ├── 3fa43fb5-189f-29f6-97d2-a5505ce2d2a5.xml │ │ ├── 429e2422-efde-c897-ebe1-31b7d55a346c.xml │ │ ├── 4bd650f0-0793-3ad1-9fc0-7845076363f9.xml │ │ ├── 4fceaaff-ad51-713d-8099-042988f73527.xml │ │ ├── 515d61bf-129c-2477-7f86-0aa117d45cef.xml │ │ ├── 54ba38ea-fba4-86e8-42af-2e00b3253f56.xml │ │ ├── 59a91107-b1f6-e858-80c2-9dc9a23478e6.xml │ │ ├── 62813cb3-4ff1-feab-56f4-8b37b36ec3df.xml │ │ ├── 6c12c148-e999-2f2e-e85b-1e46a939019d.xml │ │ ├── 73d1f875-0f76-8ab8-10b1-8f40885c2ae0.xml │ │ ├── 7686eb04-f896-6c92-a375-eec64782cfbc.xml │ │ ├── 899a253d-2696-e2bd-d2ef-fc1da8437399.xml │ │ ├── 8b1c1eed-6b6c-80ee-4b44-c038fc91d518.xml │ │ ├── 93d18638-35b7-4211-3b91-b36a527d3e4a.xml │ │ ├── 9674b5d1-3a9a-73ad-7eb0-38ff27b81336.xml │ │ ├── 98f348ea-cd3f-9c28-b493-1565d11f506d.xml │ │ ├── 9973ac36-9f74-ec7e-4cb4-7f23b8633482.xml │ │ ├── 9c4ff282-5122-0716-f5e3-75f6b857506a.xml │ │ ├── 9f55be09-ce20-f8e8-84a9-c6c4c429d0af.xml │ │ ├── a2e65ef3-844b-3034-6509-8a991d4e12eb.xml │ │ ├── ab4ae96a-c7d5-b223-7be9-6b0841f2b185.xml │ │ ├── ab56394f-7f51-435a-b0c3-ec1a1d317b46.xml │ │ ├── aed98efc-048e-81bd-0174-d6d33d976047.xml │ │ ├── b3162e9a-1cef-2092-488f-ac1d1f924519.xml │ │ ├── b717f267-2662-14ed-5247-fefc4d1d296b.xml │ │ ├── bcd579ae-f88a-a5b3-283a-eec349b640c0.xml │ │ ├── c1bb9823-74b5-b504-2ff1-867965c16d7d.xml │ │ ├── c7b7c3e6-f83c-8bd0-3f0a-039089ddc51c.xml │ │ ├── c97f99a4-8518-1c6d-b5cf-910c99bddd55.xml │ │ ├── cfef411d-2c62-bd5e-6966-ef8caaa94f3e.xml │ │ ├── d08c15b2-298e-c46d-bf57-da1c09896009.xml │ │ ├── d4f69782-4a15-87f0-3060-5cc035516a23.xml │ │ ├── d8ded867-4253-3df7-74ef-ee5b6deac315.xml │ │ ├── dbcb78d8-5bcc-4ad3-da25-d2c7bb971980.xml │ │ ├── dd1d21fd-0687-3709-ad9e-fb2c04b07fdd.xml │ │ ├── e4b46158-d759-e297-d425-6fc119e5b545.xml │ │ ├── e7327ccc-223b-979b-4488-2a2f0af63fd3.xml │ │ ├── ebc3afc5-8d42-9a7b-d9a4-eef0d80d73fd.xml │ │ ├── ed88c78c-4eae-ca54-cef4-ed6e5bb54ecc.xml │ │ ├── ed93ede5-726f-0851-4f97-86672c67da7e.xml │ │ ├── f706d49a-511f-da56-d67d-4d25ea24868a.xml │ │ ├── fc80ae9e-0234-1428-984e-e4033ad8079e.xml │ │ ├── fffa2be9-b2b0-a2e0-1965-20d046d5c77f.xml │ │ └── roottoc.xml ├── index.md ├── linux │ └── ubuntu │ │ ├── cs-script_3.27.2.1.deb │ │ ├── cs-script_3.27.5.0_all.deb │ │ ├── cs-script_3.28.8.0_all.deb │ │ └── version.txt └── samples │ └── cli │ └── web-api │ ├── WeatherForecast.cs │ ├── client.cs │ └── server.cs ├── help.txt └── src ├── .editorconfig ├── 1.build-binaries.cmd ├── 1.build-release.cmd ├── 2.run-tests-ci.cmd ├── 2.run-tests.cmd ├── 3.build-documentation.cmd ├── 3.build-linux-distro.cmd ├── 4.build-choco.cmd ├── 4.build-winget.cmd ├── BuildServer ├── BuildServer.csproj ├── GlobalSuppressions.cs ├── Program.cs └── Properties │ └── launchSettings.json ├── CS-Script.sln ├── CSScriptLib.Doc ├── CSScriptLib.Doc.shfbproj ├── CSScriptLib.Doc.sln ├── Content │ ├── VersionHistory │ │ ├── VersionHistory.aml │ │ └── v1.0.0.0.aml │ └── Welcome.aml ├── ContentLayout.content ├── icons │ └── Help.png └── readme.txt ├── CSScriptLib ├── CSScriptLib.sln └── src │ ├── CSScriptLib │ ├── AppDomain.cs │ ├── AssemblyResolver.cs │ ├── BuildServer.proxy.cs │ ├── CSScript.cs │ ├── CSScriptLib.csproj │ ├── CSScriptLib.net6.csproj │ ├── Evaluator.CodeDom.cs │ ├── Evaluator.Roslyn.cs │ ├── EvaluatorBase.cs │ ├── IEvaluator.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ ├── Utils │ │ ├── CoreExtension.Local.cs │ │ └── Crc32.cs │ ├── csparser.cs │ ├── output │ │ └── aggregate.cs │ └── samples.cs │ ├── Client.NET-Core │ ├── Client.NET-CLI.csproj │ └── Program.cs │ ├── Client.NET-Framework (CodeDom) │ ├── App.config │ ├── Client.NET_Framework (CodeDom).csproj │ ├── NetCompiler.cs │ ├── Program.cs │ └── Properties │ │ └── AssemblyInfo.cs │ ├── Client.NET-Framework (Roslyn+CodeDom) │ ├── App.config │ ├── Client.NET_Framework (Roslyn+CodeDom).csproj │ ├── NetCompiler.cs │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── Client.SingleFileBuild │ ├── Client.SingleFileBuild.csproj │ └── Program.cs │ └── Client.WPF │ ├── App.xaml │ ├── App.xaml.cs │ ├── AssemblyInfo.cs │ ├── Client.NET-WPF.csproj │ ├── MainWindow.xaml │ └── MainWindow.xaml.cs ├── Tests.CSScriptLib ├── Evaluator.Api.Test.cs ├── Evaluator.CodeDom.Test.cs ├── Evaluator.Roslyn.Tests.cs ├── GenericTests.cs ├── ImportDirectiveParsingTests.cs ├── IssuesTests.cs ├── Tests.CSScriptLib.csproj └── Utils.cs ├── Tests.cscs ├── CliAlgorithms.cs ├── FileParserTests.cs ├── Tests.CLI.csproj ├── Utils.cs └── cli.cs ├── build.readme.md ├── chocolatey ├── build.cmd ├── cs-script.nuspec ├── css_logo_codeplex_256x256.png ├── publish.cmd ├── readme.build.txt ├── tools │ ├── chocolateyInstall.ps1 │ ├── chocolateyInstall.ps1.template │ └── chocolateyuninstall.ps1 └── update_package.cs ├── cscs ├── AssemblyExecutor.cs ├── AssemblyResolver.cs ├── BuildServer.cs ├── CSExecutionClient.cs ├── CodeDom │ ├── CSharpCompiler.engines.cs │ ├── CompilerError.cs │ ├── CompilerResults.cs │ └── Proxies.cs ├── Exceptions.cs ├── ExecuteOptions.cs ├── HelpProvider.cs ├── Models │ ├── BuildResult.cs │ ├── CompilingInfo.cs │ └── Interfaces.cs ├── NuGet.Core.cs ├── Precompiler.cs ├── Program.cs ├── Project.cs ├── Properties │ ├── Resources.Designer.cs │ └── Resources.resx ├── ScriptParser.cs ├── ScriptParsingResult.cs ├── Services.Roslyn.cs ├── Settings.cs ├── Utils │ ├── CLIExtensions.cs │ ├── ConsoleExtensions.cs │ ├── CorFlagsReader.cs │ ├── CoreExtensions.cs │ ├── CurrentDirGuard.cs │ ├── Globals.cs │ ├── LinqExtensions.cs │ ├── PathExtensions.cs │ ├── Profiler.cs │ ├── ReflectionExtensions.cs │ ├── Runtime.cs │ ├── SerializationExtensions.cs │ ├── SimpleAsmProbing.cs │ ├── SocketExtensions.cs │ ├── StringExtensions.cs │ ├── SystemWideLock.cs │ ├── Utils.cs │ ├── VSConfig.cs │ └── WildCardExtensions.cs ├── cscs.7.csproj ├── cscs.8.csproj ├── cscs.csproj ├── csparser.cs ├── css_logo.ico ├── csscript.cli.cs ├── csscript.cs ├── dbg.cs ├── dbg.res.cs ├── fileparser.cs └── package_readme.md ├── css ├── App.config ├── Args.cs ├── GlobalSuppressions.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── css (win launcher).csproj ├── css.cs ├── css_logo.ico ├── css_logo.png └── spike │ └── css.cs ├── csws ├── Properties │ ├── Resources.Designer.cs │ ├── Resources.resx │ └── launchSettings.json ├── css_logo.ico └── csws.csproj ├── distro ├── README.txt ├── ServiceStack.cs ├── WebApi.cs ├── cmd.cs ├── fkill.cs ├── isadmin.cs ├── linux │ ├── cs-script_1.4-6.deb │ ├── readme.txt │ └── wsl │ │ ├── Download .NET 5.0 SDK (v5.0.101) - Linux x64 Binaries.URL │ │ ├── Install .NET on Ubuntu - .NET - Microsoft Docs.url │ │ └── Running .NET Core Apps under Windows Subsystem for Linux (Bash for Windows) - Rick Strahl's Web Log.URL ├── pkill.cs ├── runas.cs └── who.cs ├── logo ├── css_logo.ico ├── css_logo.png └── css_logo_100x100.png ├── out ├── Windows │ └── csws.runtimeconfig.json ├── ci │ ├── 7z.dll │ ├── 7z.exe │ ├── build-deb.cs │ ├── build.cmd │ ├── build.sh │ ├── cmd.cs │ ├── linux │ │ ├── package.build │ │ │ ├── DEBIAN_template │ │ │ │ ├── control │ │ │ │ ├── cs-script.links │ │ │ │ ├── postinst │ │ │ │ ├── postrm │ │ │ │ └── prerm │ │ │ ├── build.cmd │ │ │ ├── build.sh │ │ │ ├── build.sh.template │ │ │ ├── cs-script_4.0-0 │ │ │ │ └── DEBIAN │ │ │ │ │ ├── control │ │ │ │ │ ├── cs-script.links │ │ │ │ │ ├── postinst │ │ │ │ │ ├── postrm │ │ │ │ │ └── prerm │ │ │ └── readme.md │ │ └── readme.md │ ├── rn2n.cs │ ├── set_version.cs │ ├── update_choco_scripts.cs │ ├── update_static_content.cs │ └── update_winget_scripts.cs └── static_content │ ├── -edit │ ├── -run.cs │ └── 1.0.0.version │ ├── -mkshim │ ├── -run.cs │ ├── 1.0.0.version │ ├── ConsoleShim.cstemplate │ └── IconExtractor.dll │ ├── -pkill │ ├── -run.cs │ └── 1.0.0.version │ ├── -runas │ ├── -run.cs │ └── 1.0.0.version │ ├── -self │ ├── -alias │ │ ├── -run.cs │ │ └── 1.0.0.version │ ├── -exe │ │ ├── -build.cs │ │ ├── -run.cs │ │ └── 1.0.0.version │ ├── -install │ │ ├── -run.cs │ │ └── 1.0.0.version │ ├── -run.cs │ ├── -test │ │ ├── -run.cs │ │ ├── 1.0.0.version │ │ ├── cli.cs │ │ └── xunit.polyfill.cs │ └── -update │ │ ├── -run.cs │ │ └── 1.0.0.version │ ├── -set │ └── -rt │ │ ├── -run.cs │ │ ├── -self.cs │ │ └── 1.0.0.version │ ├── -unlock │ └── -run.cs │ ├── -wdbg │ ├── -run.cs │ ├── Microsoft.CodeAnalysis.CSharp.dll │ ├── Microsoft.CodeAnalysis.dll │ ├── dbg-inject.cs │ ├── dbg-runtime.cs │ └── dbg-server │ │ ├── App.razor │ │ ├── Controllers │ │ └── DebuggingService.cs │ │ ├── Pages │ │ ├── Error.cshtml │ │ ├── Error.cshtml.cs │ │ ├── Index.razor │ │ ├── Index.razor.js │ │ ├── _Host.cshtml │ │ └── _Layout.cshtml │ │ ├── Program.cs │ │ ├── Properties │ │ └── launchSettings.json │ │ ├── Shared │ │ └── MainLayout.razor │ │ ├── _Imports.razor │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ ├── doc │ │ ├── Introducing CleanBlazor 🧽🧼🧹. Problem by Francisco Vilches tech-lah Medium.URL │ │ └── Table - MudBlazor.url │ │ ├── publish.cmd │ │ ├── server.csproj │ │ ├── server.sln │ │ └── wwwroot │ │ ├── css │ │ └── site.css │ │ └── favicon.ico │ ├── -web │ ├── -run.cs │ └── 1.0.0.version │ ├── -which │ ├── -run.cs │ └── 1.0.0.version │ ├── -who │ ├── -run.cs │ └── 1.0.0.version │ ├── css.cs │ ├── global-usings.cs │ ├── install.sh │ └── readme.md ├── prepare-environment.cmd ├── release_notes.md ├── wiki └── css_logo_codeplex_256x256.png └── winget └── readme.txt /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 oleg-shilo 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /bin/choco/cs-script.4.0.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/bin/choco/cs-script.4.0.0.0.nupkg -------------------------------------------------------------------------------- /bin/choco/cs-script.4.0.1.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/bin/choco/cs-script.4.0.1.0.nupkg -------------------------------------------------------------------------------- /bin/linux/ubuntu/OBSOLETE.MONO-BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/bin/linux/ubuntu/OBSOLETE.MONO-BUILD -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/README: -------------------------------------------------------------------------------- 1 | The Debian Package cs-script 2 | ---------------------------- 3 | 4 | Comments regarding the Package 5 | 6 | -- Oleg Shilo Mon, 14 Aug 2017 16:16:27 +1000 7 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/changelog: -------------------------------------------------------------------------------- 1 | cs-script (3.28.9.0) stable; urgency=medium 2 | 3 | * Initial Release. 4 | * Second Release. 5 | 6 | -- Oleg Shilo (Oleg Shilo) Sun, 16 Jun 2019 10:19:09 +1000 -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/changelog.template: -------------------------------------------------------------------------------- 1 | cs-script (${version}) stable; urgency=medium 2 | 3 | * Initial Release. 4 | * Second Release. 5 | 6 | -- Oleg Shilo (Oleg Shilo) ${date} -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/control: -------------------------------------------------------------------------------- 1 | Source: cs-script 2 | Section: devel 3 | Priority: optional 4 | Maintainer: Oleg Shilo 5 | Build-Depends: debhelper (>=9) 6 | Standards-Version: 3.9.6 7 | Homepage: https://github.com/oleg-shilo/cs-script 8 | #Vcs-Git: https://github.com/oleg-shilo/cs-script 9 | #Vcs-Browser: https://github.com/oleg-shilo/cs-script 10 | 11 | Package: cs-script 12 | Architecture: all 13 | Depends: ${misc:Depends} 14 | Description: C# scripting runtime environment 15 | CS-Script is a CLR (Common Language Runtime) based scripting system, 16 | which uses ECMA-compliant C# as a programming language. 17 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: cs-script 3 | Source: https://github.com/oleg-shilo/cs-script 4 | 5 | Files: * 6 | The MIT License (MIT) 7 | 8 | Copyright (c) 2017 oleg-shilo 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/cs-script-docs.docs: -------------------------------------------------------------------------------- 1 | README 2 | README.source 3 | README.Debian 4 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/cs-script.links: -------------------------------------------------------------------------------- 1 | /usr/local/bin/cs-script/cscs.exe /usr/local/bin/cscs 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/cs-script.substvars: -------------------------------------------------------------------------------- 1 | misc:Depends= 2 | misc:Pre-Depends= 3 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/debhelper-build-stamp: -------------------------------------------------------------------------------- 1 | cs-script 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/files: -------------------------------------------------------------------------------- 1 | cs-script_3.27.5.0_all.deb devel optional 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/install: -------------------------------------------------------------------------------- 1 | cs-script_3.28.9.0/* /usr/local/bin/cs-script 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/install.template: -------------------------------------------------------------------------------- 1 | cs-script_${version}/* /usr/local/bin/cs-script 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/postinst: -------------------------------------------------------------------------------- 1 | alias css='dotnet /usr/local/bin/cs-script/cscs.dll' 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | # See debhelper(7) (uncomment to enable) 3 | # output every command that modifies files on the build system. 4 | #export DH_VERBOSE = 1 5 | 6 | 7 | # see FEATURE AREAS in dpkg-buildflags(1) 8 | #export DEB_BUILD_MAINT_OPTIONS = hardening=+all 9 | 10 | # see ENVIRONMENT in dpkg-buildflags(1) 11 | # package maintainers to append CFLAGS 12 | #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic 13 | # package maintainers to append LDFLAGS 14 | #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed 15 | 16 | # to let to install into /usr/local/* ; for some reason debuild does not like user to install in /usr/local 17 | # good discussion: https://stackoverflow.com/questions/7459644/why-is-dh-usrlocal-throwing-a-build-error 18 | 19 | override_dh_usrlocal: 20 | 21 | %: 22 | dh $@ 23 | 24 | 25 | # dh_make generated override targets 26 | # This is example for Cmake (See https://bugs.debian.org/641051 ) 27 | #override_dh_auto_configure: 28 | # dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) 29 | 30 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (native) 2 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/build/readme.md: -------------------------------------------------------------------------------- 1 | For any new build: 2 | 3 | 1. Build and pack the release 4 | 5 | 2. Prepare package sources by executing `prepare_package_sources.cs`. It will in turn: 6 | - update `install` with the location of the path to the files to be included in the package 7 | - update `changelog` with the new version and release notes 8 | 9 | 3. Copy entire `build` folder on Ubuntu.
10 | IMPORTANT: do not copy files via VMware tools (drag-n-drop) as it screws the files. Instead: 11 | 12 | - zip the build directory (done by `prepare_package_sources.cs`) 13 | - copy (drag-n-drop) build.zip file to the guest system 14 | - unzip files on the guest system 15 | 16 | 4. From the build folder in the terminal execute `debuild -b` 17 | 18 | - Test the package: 19 | - sudo dpkg --purge cs-script 20 | - sudo dpkg -i ../cs-script_*.deb (or specify the version instead of *) 21 | 22 | 5. Copy cs-script*.deb package back to Win 23 | 24 | 6. Commit to the GitHub 25 | -------------------------------------------------------------------------------- /bin/linux/ubuntu/cs-script_3.27.2.1.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/bin/linux/ubuntu/cs-script_3.27.2.1.deb -------------------------------------------------------------------------------- /bin/linux/ubuntu/cs-script_3.27.5.0_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/bin/linux/ubuntu/cs-script_3.27.5.0_all.deb -------------------------------------------------------------------------------- /bin/linux/ubuntu/cs-script_3.28.8.0_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/bin/linux/ubuntu/cs-script_3.28.8.0_all.deb -------------------------------------------------------------------------------- /bin/linux/ubuntu/version.txt: -------------------------------------------------------------------------------- 1 | 3.28.9.0 -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /docs/download.stats/css.npp.count.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/download.stats/css.npp.count.jpeg -------------------------------------------------------------------------------- /docs/help-legacy/CSScript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CSScript 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 | 14 | 17 | 19 | 20 |
15 |

CS-Script 3.27.0

16 |
18 |
21 |
22 |
23 |

CS-Script 

24 |
25 |
26 |
27 |

This document contains information about the CLR based scripting system 28 | CS-Script (C# script). 29 |

30 |
31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/help-legacy/HTML Help Workshop.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/HTML Help Workshop.lnk -------------------------------------------------------------------------------- /docs/help-legacy/Images/AppSettings.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/AppSettings.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/CF1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/CF1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/CF2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/CF2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/CFMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/CFMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/CLRDebugger.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/CLRDebugger.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/CLRDebuggerMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/CLRDebuggerMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/CSI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/CSI.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/CmdShellMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/CmdShellMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/Copy of pre_post.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/Copy of pre_post.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/DefaultExecutionModel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/DefaultExecutionModel.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/Linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/Linux.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/Mono.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/Mono.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/NPP.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/NPP.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/Printint_tutorial.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/Printint_tutorial.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/SD.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/SD.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/SDOpenMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/SDOpenMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/ShellExt.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/ShellExt.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/ShellExt2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/ShellExt2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/ShellExt3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/ShellExt3.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/SurrogateExecutionModel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/SurrogateExecutionModel.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/Thumbs.db -------------------------------------------------------------------------------- /docs/help-legacy/Images/TraceMonitor.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/TraceMonitor.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS10.0Debugger.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS10.0Debugger.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS10.0DebuggerMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS10.0DebuggerMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS7.1Debugger.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS7.1Debugger.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS7.1DebuggerMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS7.1DebuggerMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS8.0Debugger.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS8.0Debugger.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS8.0Debugger1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS8.0Debugger1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS8.0Debugger2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS8.0Debugger2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS8.0DebuggerMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS8.0DebuggerMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS9.0Debugger.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS9.0Debugger.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/VS9.0DebuggerMenu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/VS9.0DebuggerMenu.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/WinForm.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/WinForm.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/architecture.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/architecture.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/config.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/config.a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config.a.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/config1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/config2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/config3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config3.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/config4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config4.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/config5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config5.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/config6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/config6.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/custom_type.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/custom_type.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/custom_type2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/custom_type2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/dcg.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/dcg.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/dcg1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/dcg1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/dcg2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/dcg2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/debugger.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/debugger.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/hello.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/hello.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/hello_vb.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/hello_vb.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/imageprocessor.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/imageprocessor.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/imageprocessor1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/imageprocessor1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/interop_tut.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/interop_tut.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/mono1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/mono1.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/mono2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/mono2.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/mono3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/mono3.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/mono4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/mono4.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/nuget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/nuget.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/pre_post.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/pre_post.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/scriptInNP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/scriptInNP.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/searchDirs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/searchDirs.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/selectDir.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/selectDir.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/shell_ext_incompatibility.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/shell_ext_incompatibility.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/silverlight_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/silverlight_menu.png -------------------------------------------------------------------------------- /docs/help-legacy/Images/syntime.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/syntime.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/textprocessor.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/textprocessor.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/textprocessor1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/textprocessor1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/textprocessor2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/textprocessor2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/textprocessor3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/textprocessor3.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/textprocessor4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/textprocessor4.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/toolbar1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/toolbar1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/toolbar2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/toolbar2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/well-known_type.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/well-known_type.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/ws1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/ws1.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Images/ws2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Images/ws2.PNG -------------------------------------------------------------------------------- /docs/help-legacy/Installation_files/colorschememapping.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/help-legacy/Installation_files/filelist.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/help-legacy/Installation_files/themedata.thmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/Installation_files/themedata.thmx -------------------------------------------------------------------------------- /docs/help-legacy/Quick_start.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Quick start 5 | 6 | 7 |
8 |
9 | 10 | 11 | 12 | 15 | 18 | 19 | 20 |
13 |

CS-Script 3.27.0

14 |
16 |
17 |
21 |
22 |
23 |

Quick start

24 |
25 |
26 |
27 |

This section will help you quickly create and execute a simple 28 | script (canonical "Hello World"). It is assumed that you have CS-Script 29 | installed (see Installation Instructions).
30 |

31 |

In This Section

32 |
33 |
Hello World! 34 |
35 |
Step-by-step tutorial, which shows how to create and execute simple script.
36 |
37 |

See Also

38 |

CS-Script Tutorials

39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /docs/help-legacy/Simple_Scripting.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Simple Scripting 7 | 8 | 9 | 10 | 11 |
12 |
13 | 14 | 15 | 16 | 19 | 21 | 22 | 23 |
17 |

CS-Script 3.27.0

18 |
20 |
24 |
25 |
26 |

Simple scripting

27 |
28 |
29 |
30 |

This section contains step-by-step tutorials, which demonstrate how to create and execute simple scripts.

31 |

In This Section

32 |

"Hello World!"       
33 | Simple console application script

34 |

Using WinForms      
35 | Simple WinForm application script

36 |

Using COM      
37 | Simple script that creates and uses COM object

38 |

 

39 |

 

40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/CF/Hello.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | class Script 5 | { 6 | static public void Main(string[] args) 7 | { 8 | MessageBox.Show("Just a test!)"); 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/CmdShell.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////// 2 | //cmdShell.cs - script file from 'Creating shell extension' tutorial 3 | 4 | using System; 5 | using Microsoft.Win32; 6 | 7 | class Script 8 | { 9 | const string usage = "Usage: cscs cmdShell ...\nCreates shell extension 'Cmd'. This extension allows to open command-prompt pointing to the directory where 'right-clocked' file is.\n"+ 10 | "'/i' / '/u' - command switch to install/uninstall shell extension\n"; 11 | 12 | static public void Main(string[] args) 13 | { 14 | if (args.Length == 1) 15 | { 16 | if (args[0].ToLower() == "/u") 17 | { 18 | try 19 | { 20 | Registry.ClassesRoot.DeleteSubKeyTree("*\\shell\\Cmd"); 21 | Console.WriteLine("Shell extension 'Cmd' has been removed."); 22 | } 23 | catch (Exception ex) 24 | { 25 | Console.WriteLine(ex); 26 | } 27 | } 28 | else if (args[0].ToLower() == "/i") 29 | { 30 | RegistryKey shell = Registry.ClassesRoot.CreateSubKey("*\\shell\\Cmd\\command"); 31 | shell.SetValue("", "cmd.exe"); 32 | shell.Close(); 33 | Console.WriteLine("Shell extension 'Cmd' has been created."); 34 | } 35 | else 36 | Console.WriteLine(usage); 37 | } 38 | else 39 | Console.WriteLine(usage); 40 | } 41 | } 42 | 43 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/CustomAppSettings.cs.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/Hello.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////// 2 | //Hello.cs - script file from 'Hello World!' tutorial 3 | 4 | using System; 5 | using System.Windows.Forms; 6 | 7 | class Script 8 | { 9 | static public void Main(string [] args) 10 | { 11 | System.Diagnostics.Trace.WriteLine("Hello World!"); 12 | Console.WriteLine( "Hello World!" ); 13 | MessageBox.Show( "Hello World!"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/Macros/precompile.cs: -------------------------------------------------------------------------------- 1 | //css_inc precompile.part.cs; 2 | using System; 3 | 4 | partial class Precompiler 5 | { 6 | CompileResult PROP(string[] args, Context cx) 7 | { 8 | string modifier = args[0]; 9 | string type = args[1]; 10 | string name = args[2]; 11 | string initialVal = args[3]; 12 | 13 | string code = 14 | " " + modifier + " private " + type + " " + name.ToLower() + " = " + initialVal + ";\r\n" + 15 | " " + modifier + " public " + type + " " + name + "\r\n" + 16 | " {\r\n" + 17 | " get { return " + name.ToLower() + "; }\r\n" + 18 | " set { " + name.ToLower() + " = value; }\r\n" + 19 | " }"; 20 | 21 | return new CompileResult(code, InsertionPosition.ClassBody); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/Macros/script_simple.cs: -------------------------------------------------------------------------------- 1 | //css_pre precompile($this); 2 | //css_inc ($this.name).g.cs; 3 | 4 | using System; 5 | 6 | partial class MyData 7 | { 8 | /* css_extend_class MyData 9 | PROP(static, string, Description, "MyData class") 10 | */ 11 | } 12 | class Script 13 | { 14 | static public void Main(string[] args) 15 | { 16 | Console.WriteLine(MyData.Description); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/Non-C#/CSSCodeProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.CodeDom.Compiler; 4 | using Microsoft.JScript; 5 | 6 | public class CSSCodeProvider 7 | { 8 | static public ICodeCompiler CreateCompiler(string sourceFile) 9 | { 10 | string errMsg = "Alternative compiler for file extension "+Path.GetExtension(sourceFile)+" cannot be created."; 11 | try 12 | { 13 | if (Path.GetExtension(sourceFile).ToLower() == ".cs") 14 | return (new Microsoft.CSharp.CSharpCodeProvider()).CreateCompiler(); 15 | else if (Path.GetExtension(sourceFile).ToLower() == ".vb") 16 | return (new Microsoft.VisualBasic.VBCodeProvider()).CreateCompiler(); 17 | else if (Path.GetExtension(sourceFile).ToLower() == ".js") 18 | return (new Microsoft.JScript.JScriptCodeProvider()).CreateCompiler(); 19 | } 20 | catch (Exception ex) 21 | { 22 | throw new Exception(errMsg, ex); 23 | } 24 | throw new Exception(errMsg); 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/Non-C#/Hello.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////// 2 | //Hello.js - script file from Alternative Compiler tutorial 3 | 4 | import System; 5 | import System.Windows.Forms; 6 | 7 | //css_reference "System.dll"; 8 | //css_reference "System.Windows.Forms.dll"; 9 | 10 | public class Class1 { 11 | public static function Main() { 12 | Console.WriteLine("Hello World! (JScript)"); 13 | MessageBox.Show("Hello World! (JScript)") 14 | } 15 | } 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/Non-C#/Hello.vb: -------------------------------------------------------------------------------- 1 | '////////////////////////////////////////////////////////////////////////// 2 | '//Hello.vb - script file from Alternative Compiler tutorial 3 | 4 | Imports System 5 | Imports System.Windows.Forms 6 | 7 | ' //css_reference "System.dll"; 8 | ' //css_reference "System.Windows.Forms.dll"; 9 | 10 | public Module Module1 11 | 12 | public Sub Main() 13 | Console.WriteLine("Hello World! (VB)") 14 | MessageBox.Show("Hello World! (VB)") 15 | End Sub 16 | 17 | End Module 18 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/PrintText.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////// 2 | //PrintText.cs - script file from 'Script importing' tutorial 3 | using System; 4 | using System.Text; 5 | using Scripting; 6 | 7 | //css_import print; 8 | 9 | class Script 10 | { 11 | static string usage = "Usage: csc printtext ...\nThis script will print (with print preview) specified text on the system default printer.\n"; 12 | 13 | static public void Main(string[] args) 14 | { 15 | if (args.Length == 0 || (args.Length == 1 && (args[0] == "?" || args[0] == "/?" || args[0] == "-?" || args[0].ToLower() == "help"))) 16 | { 17 | Console.WriteLine(usage); 18 | } 19 | else 20 | { 21 | SimplePrinting printer = new SimplePrinting(); 22 | printer.Print(args[0], true); 23 | } 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/WS/Hello.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Web; 3 | using System.Web.Services; 4 | 5 | public class HelloWorld : System.Web.Services.WebService 6 | { 7 | [WebMethod] 8 | public string SayHello() 9 | { 10 | return "Hello World (non-VS WebService)"; 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/WS/Hello_WS/Hello.asmx: -------------------------------------------------------------------------------- 1 | <%@ WebService Language="c#" Codebehind="..\Hello.cs" Class="HelloWorld" %> 2 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/WS/helloClient.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Xml; 3 | 4 | //css_pre wsdl(http://localhost/hello/hello.asmx?WSDL, HelloService); 5 | //css_imp HelloService; 6 | 7 | class Script 8 | { 9 | static void Main(string[] args) 10 | { 11 | Console.WriteLine(new HelloWorld().SayHello()); 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /docs/help-legacy/Tutorial/web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/help-legacy/What_is_new_files/CmdShell.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////// 2 | //cmdShell.cs - script file from 'Creating shell extension' tutorial 3 | 4 | using System; 5 | using Microsoft.Win32; 6 | 7 | class Script 8 | { 9 | const string usage = "Usage: cscs cmdShell ...\nCreates shell extension 'Cmd'. This extension allows to open command-prompt pointing to the directory where 'right-clocked' file is.\n"+ 10 | "'/i' / '/u' - command switch to install/uninstall shell extension\n"; 11 | 12 | static public void Main(string[] args) 13 | { 14 | if (args.Length == 1) 15 | { 16 | if (args[0].ToLower() == "/u") 17 | { 18 | try 19 | { 20 | Registry.ClassesRoot.DeleteSubKeyTree("*\\shell\\Cmd"); 21 | Console.WriteLine("Shell extension 'Cmd' has been removed."); 22 | } 23 | catch (Exception ex) 24 | { 25 | Console.WriteLine(ex); 26 | } 27 | } 28 | else if (args[0].ToLower() == "/i") 29 | { 30 | RegistryKey shell = Registry.ClassesRoot.CreateSubKey("*\\shell\\Cmd\\command"); 31 | shell.SetValue("", "cmd.exe"); 32 | shell.Close(); 33 | Console.WriteLine("Shell extension 'Cmd' has been created."); 34 | } 35 | else 36 | Console.WriteLine(usage); 37 | } 38 | else 39 | Console.WriteLine(usage); 40 | } 41 | } 42 | 43 | -------------------------------------------------------------------------------- /docs/help-legacy/What_is_new_files/CustomAppSettings.cs.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/help-legacy/What_is_new_files/Hello.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////// 2 | //Hello.cs - script file from 'Hello World!' tutorial 3 | 4 | using System; 5 | using System.Windows.Forms; 6 | 7 | class Script 8 | { 9 | static public void in(string [] args) 10 | { 11 | System.Diagnostics.Trace.WriteLine("Hello World!"); 12 | Console.WriteLine( "Hello World!" ); 13 | MessageBox.Show( "Hello World!"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /docs/help-legacy/What_is_new_files/PrintText.cs: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////// 2 | //PrintText.cs - script file from 'Script importing' tutorial 3 | using System; 4 | using System.Text; 5 | using Scripting; 6 | 7 | //css_import print; 8 | 9 | class Script 10 | { 11 | static string usage = "Usage: csc printtext ...\nThis script will print (with print preview) specified text on the system default printer.\n"; 12 | 13 | static public void Main(string[] args) 14 | { 15 | if (args.Length == 0 || (args.Length == 1 && (args[0] == "?" || args[0] == "/?" || args[0] == "-?" || args[0].ToLower() == "help"))) 16 | { 17 | Console.WriteLine(usage); 18 | } 19 | else 20 | { 21 | SimplePrinting printer = new SimplePrinting(); 22 | printer.Print(args[0], true); 23 | } 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /docs/help-legacy/What_is_new_files/colorschememapping.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/help-legacy/What_is_new_files/filelist.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/help-legacy/What_is_new_files/themedata.thmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/What_is_new_files/themedata.thmx -------------------------------------------------------------------------------- /docs/help-legacy/clear.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text; 3 | using System.IO; 4 | 5 | class Script 6 | { 7 | static public void Main(string[] args) 8 | { 9 | Console.WriteLine("Cleaning:"); 10 | foreach (string file in Directory.GetFiles(Environment.CurrentDirectory, "*.html")) 11 | { 12 | Console.WriteLine(" "+file); 13 | 14 | string line; 15 | StringBuilder sb = new StringBuilder(); 16 | 17 | using (StreamReader sr = new StreamReader(file)) 18 | while ((line = sr.ReadLine()) != null) 19 | if (line.Replace(Convert.ToChar(0xd), ' ').Replace(Convert.ToChar(0xa), ' ').Replace(" ", "").Length != 0) 20 | sb.AppendLine(line); 21 | 22 | using (StreamWriter sw = new StreamWriter(file)) 23 | sw.WriteLine(sb.ToString()); 24 | } 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /docs/help-legacy/indexNoFrame.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/help-legacy/root/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/Thumbs.db -------------------------------------------------------------------------------- /docs/help-legacy/root/WhatIsNew.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CSScript Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/indexCOMTutorial.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/indexGuideline.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/indexImporting.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/indexScriptHosting.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/indexTutorial.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/indexUsingAssemblies.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/indexWhatNew.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documentation Online Help 6 | 13 | 14 | 15 | 16 | 17 | 18 | <p>This page requires frames, but your browser does not support them.</p> 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/help-legacy/root/search.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/search.bmp -------------------------------------------------------------------------------- /docs/help-legacy/root/search.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/search.html -------------------------------------------------------------------------------- /docs/help-legacy/root/synch.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/synch.bmp -------------------------------------------------------------------------------- /docs/help-legacy/root/tree.css: -------------------------------------------------------------------------------- 1 | .treeDiv 2 | { 3 | font-family: verdana; 4 | font-size: 70.5%; 5 | font-weight: normal; 6 | background-color: #f1f1f1; 7 | color: Black; 8 | overflow: auto; 9 | margin: 0px 0px 0px 0px; 10 | padding: 0px 0px 0px 0px; 11 | } 12 | 13 | .treeNode 14 | { 15 | white-space: nowrap; 16 | text-indent: -14px; 17 | margin: 5px 2px 5px 14px; 18 | } 19 | A.treeUnselected:hover, A.treeSelected:hover 20 | { 21 | text-decoration: underline; 22 | background-color: #cccccc; 23 | border: solid 1px #999999; 24 | text-decoration: none; 25 | } 26 | A.treeUnselected, A.treeSelected 27 | { 28 | color: Black; 29 | padding: 1px 3px 1px 3px; 30 | text-decoration: none; 31 | } 32 | A.treeSelected 33 | { 34 | background-color: #ffffff; 35 | border: solid 1px #999999; 36 | } 37 | A.treeUnselected 38 | { 39 | border: solid 1px f0f0f0; 40 | background-color: transparent; 41 | } 42 | .treeSubnodes 43 | { 44 | display: block; 45 | } 46 | .treeSubnodesHidden 47 | { 48 | display: none; 49 | } 50 | .treeNode IMG.treeNoLinkImage, .treeNode IMG.treeLinkImage 51 | { 52 | width: 9px; 53 | height: 9px; 54 | margin-left: 5px; 55 | margin-right: 0px; 56 | } 57 | .treeNode IMG.treeLinkImage 58 | { 59 | cursor: pointer; 60 | } 61 | -------------------------------------------------------------------------------- /docs/help-legacy/root/tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/tree.js -------------------------------------------------------------------------------- /docs/help-legacy/root/treenodedot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/treenodedot.gif -------------------------------------------------------------------------------- /docs/help-legacy/root/treenodeminus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/treenodeminus.gif -------------------------------------------------------------------------------- /docs/help-legacy/root/treenodeplus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/root/treenodeplus.gif -------------------------------------------------------------------------------- /docs/help-legacy/todo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help-legacy/todo.txt -------------------------------------------------------------------------------- /docs/help/fti/FTI_104.json: -------------------------------------------------------------------------------- 1 | {"holds":[3473409,4915201,6553601],"helplink":[7995393,9043969],"https":[12648450],"hosts":[3473409,14417921],"hierarchy":[1048577,1703937,4456449,4915201,5636097,7995393,9633793,10682369,10813441,11206657,11862017,12189697,14417921,14680065,15138817],"hold":[1703937,3473411,4456449,11862017],"heavy":[10813441,11337729,14614529],"head":[1572865,2424833,11206657],"hresult":[7995394,9043970],"history":[589826,5963777,12648449],"host":[1310721,4915202,5505025,6029314,6094849,6750209,7536641,8716289,10092545,10813441,11796481,13172738,13500417,14417921,14614529,15138817],"hostoptions":[1048577,8978434,10289153],"help":[7995393,9043969,12648450],"hash":[917505,1048577,1703937,2162689,4390913,4456449,4587521,4915201,6356993,6488065,7864321,7995393,8192001,9633793,9764865,10682369,10813441,11862017,13172737,14614529,14680065,15138817],"helps":[9633793,12779521,13828097],"having":[8716289,12713985,14417921]} -------------------------------------------------------------------------------- /docs/help/fti/FTI_106.json: -------------------------------------------------------------------------------- 1 | {"joinby":[786435,1572865,11206657],"joins":[786433,1572865,11206657]} -------------------------------------------------------------------------------- /docs/help/fti/FTI_107.json: -------------------------------------------------------------------------------- 1 | {"key":[7995393,9043969]} -------------------------------------------------------------------------------- /docs/help/fti/FTI_117.json: -------------------------------------------------------------------------------- 1 | {"unique":[4915201,6094849,13172737],"unescapedirectivedelimiters":[917505,1048577,7798787],"utility":[11927553,14680065],"url":[15007745],"unless":[9633793,12779521,13434881],"undesired":[1179649,4849665,10682369],"useful":[12648449],"used":[851969,1179650,3473411,3866625,4849665,4915201,4980737,5505025,6160385,7536641,7929857,10682370,10813441,11403265,12124161,14024705,14614529],"usage":[327681,393217,524289,786433,1900545,2424833,3342337,3407873,4718593,5373953,9437185,9699329,11272193,11534337,12255233,13762561,14155777,14483457],"using":[458753,983041,1114113,1179649,1245185,1835009,3276801,3670017,5177345,5308417,5505025,5767169,6160385,7340033,8585217,9437185,10158081,10682369,10813441,13762561],"underlying":[1900545,3473409,3735553,5505026,5636097,6684673,7536641,10813441,11730945,14614529],"user":[7995393,9043969,9633796,12779524,13828100],"unescapes":[917505,1048577,7798785]} -------------------------------------------------------------------------------- /docs/help/fti/FTI_119.json: -------------------------------------------------------------------------------- 1 | {"wants":[9633793,12779521,13828097],"way":[1179650,2818049,4849665,10682370],"web":[15007745],"want":[1048577,1245185,1638401,3932161,5505025,5767169,9240577,10747905,10813442,11337729,14614529],"windows":[6029314,8716289,14417921],"wild":[1900546,10616833],"wraps":[1966081,5439489,5505030,5832706,7536646,7667713,8126466,9961473,10813446,11993089,12255233,12386305,12845058,13041665,13369345,13565953,14090242,14155777,14221313,14614534],"writing":[5505025,7340033,7536641,10158081,10813441,14614529],"welcome":[589825,12648449],"wrapper":[3473409,10813441],"writeline":[5439489,7340033,10158081,13041665]} -------------------------------------------------------------------------------- /docs/help/fti/FTI_120.json: -------------------------------------------------------------------------------- 1 | {"xml":[1048578,2490369,3014657,9240578,10682369,10944514,12648449]} -------------------------------------------------------------------------------- /docs/help/fti/FTI_98.json: -------------------------------------------------------------------------------- 1 | {"builde":[12648449],"bool":[196609,393217,1376257,1638401,1769473,2686977,2883585,2949121,3276801,3735553,3932161,4063233,4128769,4784129,5177345,5373953,6029313,6684673,6750209,6815745,6946817,7602177,9699329,10223617,10420225,10616833,10747905,10944513,11272193,11534338,12320769,12713985,13107201,13697025,14286849,14352385,14483458],"behavior":[1179649,4849665,10682369],"boolean":[196609,393217,1048579,1376257,1638401,1769473,2686977,2883585,2949121,3276801,3538945,3735553,3932161,4063233,4128769,4784129,5177345,5373953,6029313,6684674,6750209,6815746,6946818,7602177,9699329,10223618,10420225,10616834,10747905,10944513,11272193,11534340,11862017,12320769,12713985,13107202,13697025,14286850,14352385,14483459,14548995],"based":[851969,1179649,4849665,5505025,7536641,10682369,10813441,12124161,14614529],"base":[3473410,4980737,14024705],"blob":[12648449],"belongs":[2031618,2752514,5505026,7208961,7536642,10551297,10813442,12451842,12517378,14614530],"brackets":[262145,917506,1048579,7798785,9240577,13893633],"basic":[327682,393218,524290,786434,1900546,2424834,3342338,3407874,4718594,5373954,9699330,11272194,11534338,14483458],"build":[1638401,10747905],"box":[15007745]} -------------------------------------------------------------------------------- /docs/help/html/GeneralError.htm: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | General Error 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 23 |
24 |

We're sorry, a general error has occurred.

25 |

Please try to load the page again. If the error persists, please contact the site administrator.

26 |
27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/help/icons/AlertCaution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/AlertCaution.png -------------------------------------------------------------------------------- /docs/help/icons/AlertNote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/AlertNote.png -------------------------------------------------------------------------------- /docs/help/icons/AlertSecurity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/AlertSecurity.png -------------------------------------------------------------------------------- /docs/help/icons/CFW.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/CFW.gif -------------------------------------------------------------------------------- /docs/help/icons/CodeExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/CodeExample.png -------------------------------------------------------------------------------- /docs/help/icons/Help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/Help.png -------------------------------------------------------------------------------- /docs/help/icons/Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/Search.png -------------------------------------------------------------------------------- /docs/help/icons/SectionCollapsed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/SectionCollapsed.png -------------------------------------------------------------------------------- /docs/help/icons/SectionExpanded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/SectionExpanded.png -------------------------------------------------------------------------------- /docs/help/icons/TocClose.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/TocClose.gif -------------------------------------------------------------------------------- /docs/help/icons/TocCollapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/TocCollapsed.gif -------------------------------------------------------------------------------- /docs/help/icons/TocExpanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/TocExpanded.gif -------------------------------------------------------------------------------- /docs/help/icons/TocOpen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/TocOpen.gif -------------------------------------------------------------------------------- /docs/help/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/favicon.ico -------------------------------------------------------------------------------- /docs/help/icons/privclass.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privclass.gif -------------------------------------------------------------------------------- /docs/help/icons/privdelegate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privdelegate.gif -------------------------------------------------------------------------------- /docs/help/icons/privenumeration.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privenumeration.gif -------------------------------------------------------------------------------- /docs/help/icons/privevent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privevent.gif -------------------------------------------------------------------------------- /docs/help/icons/privextension.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privextension.gif -------------------------------------------------------------------------------- /docs/help/icons/privfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privfield.gif -------------------------------------------------------------------------------- /docs/help/icons/privinterface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privinterface.gif -------------------------------------------------------------------------------- /docs/help/icons/privmethod.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privmethod.gif -------------------------------------------------------------------------------- /docs/help/icons/privproperty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privproperty.gif -------------------------------------------------------------------------------- /docs/help/icons/privstructure.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/privstructure.gif -------------------------------------------------------------------------------- /docs/help/icons/protclass.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protclass.gif -------------------------------------------------------------------------------- /docs/help/icons/protdelegate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protdelegate.gif -------------------------------------------------------------------------------- /docs/help/icons/protenumeration.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protenumeration.gif -------------------------------------------------------------------------------- /docs/help/icons/protevent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protevent.gif -------------------------------------------------------------------------------- /docs/help/icons/protextension.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protextension.gif -------------------------------------------------------------------------------- /docs/help/icons/protfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protfield.gif -------------------------------------------------------------------------------- /docs/help/icons/protinterface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protinterface.gif -------------------------------------------------------------------------------- /docs/help/icons/protmethod.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protmethod.gif -------------------------------------------------------------------------------- /docs/help/icons/protoperator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protoperator.gif -------------------------------------------------------------------------------- /docs/help/icons/protproperty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protproperty.gif -------------------------------------------------------------------------------- /docs/help/icons/protstructure.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/protstructure.gif -------------------------------------------------------------------------------- /docs/help/icons/pubclass.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubclass.gif -------------------------------------------------------------------------------- /docs/help/icons/pubdelegate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubdelegate.gif -------------------------------------------------------------------------------- /docs/help/icons/pubenumeration.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubenumeration.gif -------------------------------------------------------------------------------- /docs/help/icons/pubevent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubevent.gif -------------------------------------------------------------------------------- /docs/help/icons/pubextension.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubextension.gif -------------------------------------------------------------------------------- /docs/help/icons/pubfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubfield.gif -------------------------------------------------------------------------------- /docs/help/icons/pubinterface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubinterface.gif -------------------------------------------------------------------------------- /docs/help/icons/pubmethod.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubmethod.gif -------------------------------------------------------------------------------- /docs/help/icons/puboperator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/puboperator.gif -------------------------------------------------------------------------------- /docs/help/icons/pubproperty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubproperty.gif -------------------------------------------------------------------------------- /docs/help/icons/pubstructure.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/pubstructure.gif -------------------------------------------------------------------------------- /docs/help/icons/slMobile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/slMobile.gif -------------------------------------------------------------------------------- /docs/help/icons/static.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/static.gif -------------------------------------------------------------------------------- /docs/help/icons/xna.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/help/icons/xna.gif -------------------------------------------------------------------------------- /docs/help/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 9 | A Sandcastle Documented Class Library - Redirect 10 | 11 | 12 |

If you are not redirected automatically, follow this link to the default topic.

13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/help/styles/branding-Help1.css: -------------------------------------------------------------------------------- 1 | /* Define the userData cache persistence mechanism for Help 1 files */ 2 | .userDataStyle { 3 | behavior: url(#default#userdata); 4 | } 5 | 6 | /* Style adjustments for Help 1 */ 7 | .pageBody { 8 | padding-top: 0px 20px 0px 0px; 9 | } 10 | 11 | table { 12 | width: 95%; 13 | padding-right: 20px; 14 | } 15 | 16 | table.members { 17 | width: 95%; 18 | padding-right: 20px; 19 | } 20 | 21 | th p { 22 | padding-bottom: 0px; 23 | } 24 | 25 | td p { 26 | padding-bottom: 5px; 27 | } 28 | 29 | .codeSnippetContainerTabs { 30 | top: 1px; 31 | } 32 | 33 | .codeSnippetToolBarText { 34 | top: -13px; 35 | } 36 | 37 | .codeSnippetContainerTabSingle { 38 | padding: 2px 15px 0px 15px; 39 | height: 22px; 40 | } 41 | -------------------------------------------------------------------------------- /docs/help/styles/branding-HelpViewer.css: -------------------------------------------------------------------------------- 1 | /* Style adjustments for Help Viewer */ 2 | .pageBody { 3 | padding-top: 0px 20px 0px 0px; 4 | } 5 | 6 | table { 7 | width: 95%; 8 | padding-right: 20px; 9 | } 10 | 11 | table.members { 12 | width: 95%; 13 | padding-right: 20px; 14 | } 15 | 16 | th p { 17 | padding-bottom: 0px; 18 | } 19 | 20 | td p { 21 | padding-bottom: 5px; 22 | } 23 | 24 | .codeSnippetContainerTabs { 25 | top: 1px; 26 | } 27 | 28 | .codeSnippetToolBarText { 29 | top: -13px; 30 | } 31 | 32 | .codeSnippetContainerTabSingle { 33 | padding: 2px 15px 0px 15px; 34 | height: 22px; 35 | } 36 | 37 | .codeSnippetContainerTab a:visited { 38 | color: #000000; 39 | } 40 | 41 | .codeSnippetContainerTabActive a:visited { 42 | color: #000000; 43 | } 44 | 45 | span.keyword { 46 | color: #0000ff; 47 | font-weight: normal; 48 | } 49 | -------------------------------------------------------------------------------- /docs/help/styles/branding-cs-CZ.css: -------------------------------------------------------------------------------- 1 | /* Start CS-CZ locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-de-DE.css: -------------------------------------------------------------------------------- 1 | /* Start DE-DE locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-en-US.css: -------------------------------------------------------------------------------- 1 | /* Start EN-US locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-es-ES.css: -------------------------------------------------------------------------------- 1 | /* Start ES-ES locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-fr-FR.css: -------------------------------------------------------------------------------- 1 | /* Start FR-FR locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-it-IT.css: -------------------------------------------------------------------------------- 1 | /* Start IT-IT locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-ja-JP.css: -------------------------------------------------------------------------------- 1 | /* Start JA-JP locale-specific CSS */ 2 | body 3 | { 4 | font-family: Segoe UI, Verdana, Arial, MS Pゴシック; 5 | } 6 | pre 7 | { 8 | font-family: Consolas, Courier, monospace, MS ゴシック; 9 | } 10 | span.tt 11 | { 12 | font-family: Consolas, Courier, monospace, MS ゴシック; 13 | } 14 | span.code 15 | { 16 | font-family: Consolas, Courier, monospace, MS ゴシック; 17 | } 18 | /* End locale-specific CSS */ 19 | -------------------------------------------------------------------------------- /docs/help/styles/branding-ko-KR.css: -------------------------------------------------------------------------------- 1 | /* Start KO-KR locale-specific CSS */ 2 | body 3 | { 4 | font-family: Malgun Gothic, Segoe UI, Verdana, Arial; 5 | font-size: 0.75em; /*9pt*/ 6 | } 7 | pre 8 | { 9 | font-family: Consolas, Courier, monospace, 돋움체; 10 | } 11 | span.tt 12 | { 13 | font-family: Consolas, Courier, monospace, 돋움체; 14 | } 15 | span.code 16 | { 17 | font-family: Consolas, Courier, monospace, 돋움체; 18 | } 19 | /* End locale-specific CSS */ 20 | -------------------------------------------------------------------------------- /docs/help/styles/branding-pl-PL.css: -------------------------------------------------------------------------------- 1 | /* Start PL-PL locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-pt-BR.css: -------------------------------------------------------------------------------- 1 | /* Start PT-BR locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-ru-RU.css: -------------------------------------------------------------------------------- 1 | /* Start RU-RU locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-tr-TR.css: -------------------------------------------------------------------------------- 1 | /* Start TR-TR locale-specific CSS */ 2 | 3 | /* End locale-specific CSS */ 4 | -------------------------------------------------------------------------------- /docs/help/styles/branding-zh-CN.css: -------------------------------------------------------------------------------- 1 | /* Start ZH-CN locale-specific CSS */ 2 | body 3 | { 4 | font-family: "Microsoft YaHei UI","Microsoft YaHei","SimSun","Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif 5 | } 6 | pre 7 | { 8 | font-family: Consolas, Courier, monospace!important; 9 | } 10 | span.tt 11 | { 12 | font-family: Consolas, Courier, monospace; 13 | } 14 | span.code 15 | { 16 | font-family: Consolas, Courier, monospace; 17 | } 18 | /* End locale-specific CSS */ 19 | -------------------------------------------------------------------------------- /docs/help/styles/branding-zh-TW.css: -------------------------------------------------------------------------------- 1 | /* Start ZH-TW locale-specific CSS */ 2 | body 3 | { 4 | font-family: MS JhengHei, MingLiU, Segoe UI, Verdana, Arial; 5 | } 6 | pre 7 | { 8 | font-family: Consolas, Courier, monospace, 細明體; 9 | } 10 | span.tt 11 | { 12 | font-family: Consolas, Courier, monospace, 細明體; 13 | } 14 | span.code 15 | { 16 | font-family: Consolas, Courier, monospace, 細明體; 17 | } 18 | /* End locale-specific CSS */ 19 | -------------------------------------------------------------------------------- /docs/help/toc/0abb862d-f98f-3a95-2826-cf1bebbb23b7.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/0e1f8b7b-1d8a-423e-a4a3-7c35249bf89a.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/108a0b21-21aa-711d-bdf5-d2e9ed51f742.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/15452a6a-8882-4106-80c3-6760822aa5db.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/18ed393e-2fc6-af33-8390-0ee3ff72824a.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/195d70b4-04fa-e149-4b5a-220191416fab.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/1a8bb1a0-2325-9361-98e4-520e5020fe71.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/1cf3a07f-22dd-f50a-a472-847296503259.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/238de62d-63ae-b4f3-236c-ee6ec42c5316.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/26af89dd-5623-fa8d-16bf-1d5543d0401b.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/29c8a0d4-aa24-ac3e-d9c0-a5ed5d636c97.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/367c21dc-5207-dc5c-813d-93c790dd2894.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/3853215a-1dba-de06-cfdc-13a6edb2e37f.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/387f2101-8cca-a21e-294d-820976872051.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/39458dfb-f9f1-c3eb-d545-19bda88dd558.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/3fa43fb5-189f-29f6-97d2-a5505ce2d2a5.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/429e2422-efde-c897-ebe1-31b7d55a346c.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/4bd650f0-0793-3ad1-9fc0-7845076363f9.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/4fceaaff-ad51-713d-8099-042988f73527.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/515d61bf-129c-2477-7f86-0aa117d45cef.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/54ba38ea-fba4-86e8-42af-2e00b3253f56.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/59a91107-b1f6-e858-80c2-9dc9a23478e6.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/62813cb3-4ff1-feab-56f4-8b37b36ec3df.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/6c12c148-e999-2f2e-e85b-1e46a939019d.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/73d1f875-0f76-8ab8-10b1-8f40885c2ae0.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/899a253d-2696-e2bd-d2ef-fc1da8437399.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/8b1c1eed-6b6c-80ee-4b44-c038fc91d518.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/93d18638-35b7-4211-3b91-b36a527d3e4a.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/9674b5d1-3a9a-73ad-7eb0-38ff27b81336.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/98f348ea-cd3f-9c28-b493-1565d11f506d.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/9973ac36-9f74-ec7e-4cb4-7f23b8633482.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/9c4ff282-5122-0716-f5e3-75f6b857506a.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/9f55be09-ce20-f8e8-84a9-c6c4c429d0af.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/a2e65ef3-844b-3034-6509-8a991d4e12eb.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/ab4ae96a-c7d5-b223-7be9-6b0841f2b185.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/ab56394f-7f51-435a-b0c3-ec1a1d317b46.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/aed98efc-048e-81bd-0174-d6d33d976047.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/b3162e9a-1cef-2092-488f-ac1d1f924519.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/b717f267-2662-14ed-5247-fefc4d1d296b.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/bcd579ae-f88a-a5b3-283a-eec349b640c0.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/c1bb9823-74b5-b504-2ff1-867965c16d7d.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/c7b7c3e6-f83c-8bd0-3f0a-039089ddc51c.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/c97f99a4-8518-1c6d-b5cf-910c99bddd55.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/cfef411d-2c62-bd5e-6966-ef8caaa94f3e.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/d08c15b2-298e-c46d-bf57-da1c09896009.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/d4f69782-4a15-87f0-3060-5cc035516a23.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/d8ded867-4253-3df7-74ef-ee5b6deac315.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/dd1d21fd-0687-3709-ad9e-fb2c04b07fdd.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/e4b46158-d759-e297-d425-6fc119e5b545.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/e7327ccc-223b-979b-4488-2a2f0af63fd3.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/ebc3afc5-8d42-9a7b-d9a4-eef0d80d73fd.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/ed88c78c-4eae-ca54-cef4-ed6e5bb54ecc.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/ed93ede5-726f-0851-4f97-86672c67da7e.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/f706d49a-511f-da56-d67d-4d25ea24868a.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/fc80ae9e-0234-1428-984e-e4033ad8079e.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/fffa2be9-b2b0-a2e0-1965-20d046d5c77f.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/help/toc/roottoc.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /docs/linux/ubuntu/cs-script_3.27.2.1.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/linux/ubuntu/cs-script_3.27.2.1.deb -------------------------------------------------------------------------------- /docs/linux/ubuntu/cs-script_3.27.5.0_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/linux/ubuntu/cs-script_3.27.5.0_all.deb -------------------------------------------------------------------------------- /docs/linux/ubuntu/cs-script_3.28.8.0_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/docs/linux/ubuntu/cs-script_3.28.8.0_all.deb -------------------------------------------------------------------------------- /docs/linux/ubuntu/version.txt: -------------------------------------------------------------------------------- 1 | 3.28.8.0 -------------------------------------------------------------------------------- /docs/samples/cli/web-api/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using Microsoft.Extensions.Logging; 7 | 8 | public class WeatherForecast 9 | { 10 | public DateTime Date { get; set; } 11 | 12 | public int TemperatureC { get; set; } 13 | 14 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 15 | 16 | public string Summary { get; set; } 17 | } 18 | 19 | 20 | [ApiController] 21 | [Route("[controller]")] 22 | public class WeatherForecastController : ControllerBase 23 | { 24 | static string[] Summaries = new[] 25 | { 26 | "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" 27 | }; 28 | 29 | ILogger _logger; 30 | 31 | public WeatherForecastController(ILogger logger) 32 | { 33 | _logger = logger; 34 | } 35 | 36 | [HttpGet] 37 | public IEnumerable Get() 38 | { 39 | _logger.LogInformation("Get-WeatherForecast"); 40 | 41 | var rng = new Random(); 42 | return Enumerable.Range(1, 5).Select(index => new WeatherForecast 43 | { 44 | Date = DateTime.Now.AddDays(index), 45 | TemperatureC = rng.Next(-20, 55), 46 | Summary = Summaries[rng.Next(Summaries.Length)] 47 | }); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /docs/samples/cli/web-api/client.cs: -------------------------------------------------------------------------------- 1 | //css_ng csc 2 | using System; 3 | using System.Text; 4 | using System.IO; 5 | using System.Text.Json; 6 | using System.Net.Http; 7 | using System.Net.Http.Headers; 8 | 9 | var client = new HttpClient(); 10 | var data = client.GetStringAsync("http://localhost:5000/WeatherForecast").Result; 11 | 12 | Console.WriteLine(data.ToPrettyJson()); 13 | 14 | static class Extensions 15 | { 16 | public static string ToPrettyJson(this string json) 17 | { 18 | var doc = JsonDocument.Parse(json); 19 | 20 | using var stream = new MemoryStream(); 21 | 22 | using (var writer = new Utf8JsonWriter(stream, new JsonWriterOptions { Indented = true })) 23 | doc.WriteTo(writer); 24 | 25 | return Encoding.UTF8.GetString(stream.ToArray()); 26 | } 27 | } -------------------------------------------------------------------------------- /docs/samples/cli/web-api/server.cs: -------------------------------------------------------------------------------- 1 | //css_webapp 2 | //css_inc WeatherForecast.cs 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Threading.Tasks; 8 | using Microsoft.AspNetCore.Builder; 9 | using Microsoft.AspNetCore.Hosting; 10 | using Microsoft.Extensions.Configuration; 11 | using Microsoft.Extensions.DependencyInjection; 12 | using Microsoft.Extensions.Hosting; 13 | using Microsoft.Extensions.Logging; 14 | 15 | Host.CreateDefaultBuilder(args) 16 | .ConfigureWebHostDefaults(webBuilder => webBuilder.UseStartup()) 17 | .Build() 18 | .Run(); 19 | 20 | public class Startup 21 | { 22 | public IConfiguration Configuration { get; } 23 | 24 | public Startup(IConfiguration configuration) 25 | => Configuration = configuration; 26 | 27 | public void ConfigureServices(IServiceCollection services) 28 | => services.AddControllers(); 29 | 30 | public void Configure(IApplicationBuilder app, IWebHostEnvironment env) 31 | { 32 | app.UseRouting(); 33 | app.UseAuthorization(); 34 | app.UseEndpoints(endpoints => 35 | { 36 | endpoints.MapControllers(); 37 | }); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.cs] 2 | 3 | # CS0693: Type parameter has the same name as the type parameter from outer type 4 | dotnet_diagnostic.CS0693.severity = none 5 | 6 | # IDE0040: Add accessibility modifiers 7 | dotnet_diagnostic.IDE0040.severity = none 8 | -------------------------------------------------------------------------------- /src/1.build-release.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | 3 | echo Extracting version from release_notes.md 4 | 5 | rem use `dotnet` to ensure the file is not locked after the execution 6 | .\out\Windows\cscs.exe -c:0 -ng:dotnet .\out\ci\set_version 7 | 8 | 1.build-binaries.cmd 9 | 10 | rem explorer .\out 11 | -------------------------------------------------------------------------------- /src/2.run-tests-ci.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | 3 | rem VS xUnit test runner fails to exit (even though executed all tests) if it 4 | rem has a child process running (e.g. css build server). So starting the server before the tests 5 | 6 | .\out\Windows\cscs.exe -server:start 7 | rem dotnet test ".\Tests.CSScriptLib\Tests.CSScriptLib.csproj" 8 | rem dotnet test ".\Tests.cscs\Tests.CLI.csproj" -e CI="true" 9 | .\out\Windows\cscs.exe .\out\Windows\-self\-test\-run.cs 10 | .\out\Windows\cscs.exe -server:stop 11 | -------------------------------------------------------------------------------- /src/2.run-tests.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | 3 | rem VS xUnit test runner fails to exit (even though executed all tests) if it 4 | rem has a child process running (e.g. css build server). So starting the server before the tests 5 | .\out\Windows\cscs.exe -server:start 6 | dotnet test ".\Tests.CSScriptLib\Tests.CSScriptLib.csproj" 7 | dotnet test ".\Tests.cscs\Tests.CLI.csproj" -e CI="true" 8 | .\out\Windows\cscs.exe .\out\Windows\-self\-test\-run.cs 9 | .\out\Windows\cscs.exe -server:stop -------------------------------------------------------------------------------- /src/3.build-documentation.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | 3 | .\out\Windows\css.exe -server_r:stop 4 | .\out\Windows\css.exe -server:stop 5 | 6 | set vs_edition=undefined 7 | if exist "C:\Program Files\Microsoft Visual Studio\2022\Community" set vs_edition=Community 8 | if exist "C:\Program Files\Microsoft Visual Studio\2022\Professional" set vs_edition=Professional 9 | 10 | echo Visual Studio 2022 (%vs_edition%) 11 | 12 | if exist .\CSScriptLib.Doc\help rd /Q /S .\CSScriptLib.Doc\help 13 | 14 | set msbuild="C:\Program Files\Microsoft Visual Studio\2022\%vs_edition%\MSBuild\Current\Bin\MSBuild.exe" 15 | %msbuild% ".\CSScriptLib.Doc\CSScriptLib.Doc.shfbproj" -p:Configuration=Release -t:rebuild /p:WarningLevel=0 16 | 17 | cd ".\out\Windows" 18 | .\cscs -code var version = Assembly.LoadFrom(#''cscs.dll#'').GetName().Version.ToString();#nFile.Copy(#''..\\..\\CSScriptLib.Doc\\Help\\Documentation.chm#'', $#''..\\CSScriptLib.v{version}.chm#'', true); 19 | 20 | cd ..\..\ 21 | 22 | explorer .\out 23 | 24 | -------------------------------------------------------------------------------- /src/3.build-linux-distro.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | 3 | rem ensure WSL2 is installed and the distro is named "Ubuntu" not "Ubuntu-20.04" 4 | 5 | cd out\ci 6 | ..\Windows\cscs.exe build-deb.cs 7 | 8 | .\out\Windows\cscs.exe -server:stop 9 | 10 | css -server:stop 11 | 12 | explorer ..\ 13 | -------------------------------------------------------------------------------- /src/4.build-choco.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | 3 | .\out\Windows\cscs.exe -c:0 -ng:csc .\out\ci\update_choco_scripts 4 | .\out\Windows\cscs.exe -c:0 -ng:csc .\chocolatey\update_package 5 | 6 | cd .\chocolatey 7 | choco pack 8 | 9 | cd .. 10 | -------------------------------------------------------------------------------- /src/4.build-winget.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | 3 | 4 | cd .\..\..\winget-pkgs 5 | 6 | 7 | echo Sync the https://github.com/oleg-shilo/winget-pkgs fork with the MS upstream repo... 8 | 9 | pause 10 | 11 | git remote add upstream https://github.com/microsoft/winget-pkgs 12 | git fetch upstream 13 | git checkout master 14 | git reset --hard upstream/master 15 | git push origin master --force 16 | rem git checkout master 17 | rem git pull 18 | 19 | cd ..\cs-script\src 20 | .\out\Windows\cscs.exe -c:0 -ng:csc .\out\ci\update_winget_scripts 21 | 22 | -------------------------------------------------------------------------------- /src/BuildServer/GlobalSuppressions.cs: -------------------------------------------------------------------------------- 1 | // This file is used by Code Analysis to maintain SuppressMessage 2 | // attributes that are applied to this project. 3 | // Project-level suppressions either have no target or are given 4 | // a specific target and scoped to a namespace, type, member, etc. 5 | 6 | using System.Diagnostics.CodeAnalysis; 7 | 8 | [assembly: SuppressMessage("CodeQuality", "IDE0052:Remove unread private members", Justification = "Needed for troubleshooting", Scope = "member", Target = "~F:CSScripting.CodeDom.BuildServer.closeSocketRequested")] 9 | [assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Needed for better readability. e.g `var csc` for csc.exe file path ")] -------------------------------------------------------------------------------- /src/BuildServer/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "compile_server": { 4 | "commandName": "Project", 5 | "commandLineArgs": "-stop" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/CSScriptLib.Doc/CSScriptLib.Doc.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30907.101 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{7CF6DF6D-3B04-46F8-A40B-537D21BCA0B4}") = "CSScriptLib.Doc", "CSScriptLib.Doc.shfbproj", "{5E3EE0C8-6379-402B-8C13-EFF8AF2CC735}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {5E3EE0C8-6379-402B-8C13-EFF8AF2CC735}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {5E3EE0C8-6379-402B-8C13-EFF8AF2CC735}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {5E3EE0C8-6379-402B-8C13-EFF8AF2CC735}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {5E3EE0C8-6379-402B-8C13-EFF8AF2CC735}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {4A173568-DBD7-4B07-BFC7-78778828FEBA} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /src/CSScriptLib.Doc/Content/VersionHistory/VersionHistory.aml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | The topics in this section describe the various changes made to the [TODO: Project Title] over the 6 | life of the project. 7 | 8 | 9 |
10 | Version History 11 | 12 | Select a version below to see a description of its changes. 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | [TODO: Add links to each specific version page] 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | 32 |
33 |
34 | -------------------------------------------------------------------------------- /src/CSScriptLib.Doc/Content/VersionHistory/v1.0.0.0.aml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Version [TODO: Version] was released on [TODO: Date]. 6 | 7 | 8 | 9 |
10 | Changes in This Release 11 | 12 | 13 | 14 | 15 | [TODO: Add change items here] 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 |
28 |
29 | -------------------------------------------------------------------------------- /src/CSScriptLib.Doc/Content/Welcome.aml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | This page documents API of the CS-SCript.Cor class library (CSScriptLib.dll) only. 7 | 8 | 9 | 10 |
11 | Useful links 12 | 13 | 14 | To get started, add a documentation source to the project (a Visual Studio solution, project, or 15 | assembly and XML comments file). See the Getting Started topics in the Sandcastle Help 16 | File Builder's help file for more information. The following default items are included in this project: 17 | 18 | 19 | 20 | 21 | 22 | CS-Script overview 23 | 24 | 25 | 26 | 27 | 28 | CS-Script.Core on GitHub 29 | 30 | 31 | 32 | 33 |
34 | 35 | 36 | 37 | 38 |
39 |
-------------------------------------------------------------------------------- /src/CSScriptLib.Doc/ContentLayout.content: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/CSScriptLib.Doc/icons/Help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/CSScriptLib.Doc/icons/Help.png -------------------------------------------------------------------------------- /src/CSScriptLib.Doc/readme.txt: -------------------------------------------------------------------------------- 1 | install sdk tools 2 | choco install visualstudio2019buildtools --package-parameters "--allWorkloads --includeRecommended --includeOptional --passive --locale en-US" -------------------------------------------------------------------------------- /src/CSScriptLib/src/CSScriptLib/AppDomain.cs: -------------------------------------------------------------------------------- 1 | namespace CSScriptLib 2 | { 3 | // placeholder for unloadable ScriptAssemblyLoadContext 4 | } -------------------------------------------------------------------------------- /src/CSScriptLib/src/CSScriptLib/output/aggregate.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | using System.IO; 3 | using System; 4 | 5 | void move(string mask) 6 | { 7 | var package = Directory.GetFiles(@"..\bin\Release", mask) 8 | .OrderByDescending(x => x) 9 | .FirstOrDefault(); 10 | File.Copy(package, Path.GetFileName(package), true); 11 | Console.WriteLine(package); 12 | } 13 | 14 | Directory 15 | .GetFiles(@".\", "*.*nupkg") 16 | .ToList() 17 | .ForEach(x => File.Delete(x)); 18 | 19 | move("CS-Script.*.nupkg"); 20 | move("CS-Script.*.snupkg"); -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.NET-Core/Client.NET-CLI.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Exe 5 | net9.0 6 | Client_NET_5_CLI 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.NET-Framework (CodeDom)/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.NET-Framework (CodeDom)/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ConsoleApp1")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ConsoleApp1")] 13 | [assembly: AssemblyCopyright("Copyright © 2023")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("737d212f-67d8-4695-be1c-c98243ade993")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.NET-Framework (Roslyn+CodeDom)/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.NET-Framework (Roslyn+CodeDom)/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ConsoleApp2")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ConsoleApp2")] 13 | [assembly: AssemblyCopyright("Copyright © 2020")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("4eb601d3-3643-464e-90c6-a49f97420cdf")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.NET-Framework (Roslyn+CodeDom)/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.SingleFileBuild/Client.SingleFileBuild.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net9.0 6 | enable 7 | true 8 | true 9 | true 10 | enable 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.WPF/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.WPF/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace Client.WPF 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.WPF/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.WPF/Client.NET-WPF.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | net9.0-windows 6 | true 7 | Client.NET_6_WPF 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/CSScriptLib/src/Client.WPF/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/Tests.CSScriptLib/GenericTests.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using csscript; 3 | using CSScriptLib; 4 | using static CSScriptLib.CSharpParser; 5 | using Xunit; 6 | 7 | namespace Misc 8 | { 9 | public class GenericTests 10 | { 11 | [Fact] 12 | public void Replace_polyfil() 13 | { 14 | Assert.Equal("bbb123bbb456bbb7890bbb", "aa123aa456AA7890AA".Replace("aa", "bbb", StringComparison.OrdinalIgnoreCase)); 15 | Assert.Equal("123bbb456bbb7890", "123aa456AA7890".Replace("aa", "bbb", StringComparison.OrdinalIgnoreCase)); 16 | Assert.Equal("123bbb456AA7890", "123aa456AA7890".Replace("aa", "bbb", StringComparison.Ordinal)); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Tests.CSScriptLib/IssuesTests.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using CSScriptLib; 3 | using Xunit; 4 | 5 | namespace Misc 6 | { 7 | [Collection("Sequential")] 8 | public class IssuesTests 9 | { 10 | [Fact] 11 | public void issue_279() 12 | { 13 | // more like a playground than u-test 14 | 15 | // CSScript.EvaluatorConfig.Access = EvaluatorAccess.AlwaysCreate; 16 | // CSScript.EvaluatorConfig.DebugBuild = true; 17 | // CSScript.EvaluatorConfig.Engine = EvaluatorEngine.CodeDom; 18 | // CSScript.EvaluatorConfig.PdbFormat = Microsoft.CodeAnalysis.Emit.DebugInformationFormat.Pdb; 19 | // CSScript.EvaluatorConfig.ReferenceDomainAssemblies = true; 20 | // CSScript.EvaluatorConfig.CompilerOptions = " /preferreduilang:en-US"; 21 | 22 | // var script = @"..\support\cs-script_#297\cs-script_.297.1\ScriptTest\Scripts\TheFirst\TheFirstScript.cs"; 23 | // CSScript.Evaluator 24 | // .ReferenceAssembly(@"..\support\cs-script_#297\cs-script_.297.1\ScriptTest\ScriptContracts\bin\Debug\ScriptContracts.dll") 25 | // .LoadFile(script); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /src/Tests.CSScriptLib/Tests.CSScriptLib.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | 6 | false 7 | 8 | cscs.tests 9 | 10 | 11 | 12 | True 13 | 14 | sgKey.snk 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | all 25 | runtime; build; native; contentfiles; analyzers; buildtransitive 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/Tests.cscs/Tests.CLI.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | 6 | false 7 | 8 | cscs.tests 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | all 32 | runtime; build; native; contentfiles; analyzers; buildtransitive 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/build.readme.md: -------------------------------------------------------------------------------- 1 | 1. Update release_notes.md. Ensure top item has the desired version 2 | 2. Run `1.build-release.cmd` 3 | 3. Run `2.run-tests.cmd` 4 | 4. Run `3.build-documentations.cmd` 5 | 5. Run `3.build-linux-distro.cmd` 6 | 6. Run `4.build-choco.cmd` 7 | 6. Run `4.build-winget.cmd` 8 | 9 | Publish GitHub release 10 | Publish NuGet release 11 | Build and publish Choco release 12 | 13 | -------------------------------------------------------------------------------- /src/chocolatey/build.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | echo ******************* 3 | echo * must be admin * 4 | echo ******************* 5 | 6 | choco pack 7 | REM choco install cs-script -s '%cd%' --force 8 | pause -------------------------------------------------------------------------------- /src/chocolatey/css_logo_codeplex_256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/chocolatey/css_logo_codeplex_256x256.png -------------------------------------------------------------------------------- /src/chocolatey/publish.cmd: -------------------------------------------------------------------------------- 1 | echo off 2 | rem choco apikey --key ???????? --source https://push.chocolatey.org/ 3 | 4 | choco push cs-script.4.9.6.nupkg --source https://push.chocolatey.org/ 5 | pause 6 | -------------------------------------------------------------------------------- /src/chocolatey/readme.build.txt: -------------------------------------------------------------------------------- 1 | # Build 2 | 1. run ..\*build*.cmd from .\..\ 3 | 4 | # Package 5 | 1. Update update_package.cs with URL and the latest version 6 | 2. Run update_package.cs 7 | 3. Update *.nuspec with the latest version number 8 | 4. Update *.nuspec with the latest release notes 9 | 5. Update publish.cmd with the latest version 10 | 11 | MUST be CMD but not PS !!!! 12 | 13 | 5. Run build.cmd or "choco pack" 14 | 5.a If required run "choco install cs-script -y -s '%cd%'" or "choco upgrade cs-script -y -s '%cd%'" 15 | 6. Run publish.cmd 16 | -------------------------------------------------------------------------------- /src/chocolatey/tools/chocolateyInstall.ps1.template: -------------------------------------------------------------------------------- 1 | $packageName = 'cs-script' 2 | $url = ??? 3 | 4 | try { 5 | $installDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" 6 | 7 | $checksum = ??? 8 | $checksumType = "sha256" 9 | 10 | function stop-server 11 | { 12 | param( 13 | $server, 14 | $port, 15 | $command 16 | ) 17 | 18 | try { 19 | 20 | $client = New-Object Net.Sockets.TcpClient($server, $port) 21 | $socketStream = $client.GetStream() 22 | 23 | [Byte[]]$Buffer = [Text.Encoding]::ASCII.GetBytes($data) 24 | 25 | $socketStream.Write($Buffer, 0, $Buffer.Length) 26 | $socketStream.Flush() 27 | } 28 | catch{ 29 | } 30 | } 31 | 32 | 33 | stop-server "localhost" "17001" "-exit" # prev release Roslyn compiling server requires "-exit" 34 | stop-server "localhost" "17001" "-stop" # starting from .NET 5 release CodeDom build server requires "-stop" 35 | stop-server "localhost" "17002" "-stop" # starting from .NET 5 release Roslyn build server requires "-stop" 36 | 37 | 38 | # Download and unpack a zip file 39 | Install-ChocolateyZipPackage "$packageName" "$url" "$installDir" -checksum $checksum -checksumType $checksumType 40 | 41 | Install-ChocolateyEnvironmentVariable 'CSSCRIPT_DIR' $installDir User 42 | Install-ChocolateyEnvironmentVariable 'CSSCRIPT_ROOT' $installDir User 43 | 44 | # create custom shim: cscs.exe -> css.exe 45 | Generate-BinFile "css" "$($env:ChocolateyInstall)\lib\cs-script\tools\cscs.exe" 46 | 47 | } catch { 48 | throw $_.Exception 49 | } 50 | -------------------------------------------------------------------------------- /src/chocolatey/tools/chocolateyuninstall.ps1: -------------------------------------------------------------------------------- 1 | $packageName = 'cs-script.core' 2 | 3 | function stop-server 4 | { 5 | param( 6 | $server, 7 | $port, 8 | $command 9 | ) 10 | 11 | try { 12 | 13 | $client = New-Object Net.Sockets.TcpClient($server, $port) 14 | $socketStream = $client.GetStream() 15 | 16 | [Byte[]]$Buffer = [Text.Encoding]::ASCII.GetBytes($data) 17 | 18 | 19 | $socketStream.Write($Buffer, 0, $Buffer.Length) 20 | $socketStream.Flush() 21 | } 22 | catch{ 23 | } 24 | } 25 | 26 | 27 | stop-server "localhost" "17001" "-exit" # prev release Roslyn compiling server requires "-exit" 28 | stop-server "localhost" "17001" "-stop" # starting from .NET 5 release CodeDom build server requires "-stop" 29 | 30 | Write-Warning "Removing 'css' shim $($env:ChocolateyInstall)\lib\cs-script.core\tools" 31 | 32 | Uninstall-BinFile "css" "$($env:ChocolateyInstall)\lib\cs-script\tools\cscs.exe" 33 | -------------------------------------------------------------------------------- /src/chocolatey/update_package.cs: -------------------------------------------------------------------------------- 1 | //css_ng:csc 2 | //css_inc ..\out\ci\cmd.cs 3 | 4 | using System.IO; 5 | using System.Net; 6 | using System; 7 | using System.Linq; 8 | 9 | ServicePointManager.Expect100Continue = true; 10 | ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; 11 | 12 | var url = "https://github.com/oleg-shilo/cs-script/releases/download/v4.9.6.0/cs-script.win.v4.9.6.0.7z"; 13 | 14 | var installScript = @"tools\chocolateyInstall.ps1"; 15 | 16 | var checksum = calcChecksum(url); 17 | // var checksum = "E1809AD6433A91B2FF4803E7F4B15AE0FA88905A28949EAC5590F7D9FD9BE9C3"; 18 | // Console.WriteLine(checksum); 19 | 20 | var code = File.ReadAllText(installScript + ".template") 21 | .Replace("$url = ???", "$url = '" + url + "'") 22 | .Replace("$checksum = ???", "$checksum = '" + checksum + "'"); 23 | 24 | File.WriteAllText(installScript, code); 25 | 26 | Console.WriteLine("--------------"); 27 | Console.WriteLine(code.Split('\n').FirstOrDefault(x => x.Trim().StartsWith("$url ="))); 28 | Console.WriteLine("--------------"); 29 | Console.WriteLine(); 30 | Console.WriteLine("Done..."); 31 | 32 | string calcChecksum(string url) 33 | { 34 | var file = "cs-script.7z"; 35 | cmd.download(url, file, (step, total) => Console.Write("\r{0}%\r", (int)(step * 100.0 / total))); 36 | Console.WriteLine(); 37 | 38 | var checksum = cmd.run(@"C:\ProgramData\chocolatey\tools\checksum.exe", "-t sha256 -f \"" + file + "\"", echo: false).Trim(); 39 | return checksum; 40 | } 41 | -------------------------------------------------------------------------------- /src/cscs/Models/CompilingInfo.cs: -------------------------------------------------------------------------------- 1 | using CSScripting.CodeDom; 2 | using CSScriptLib; 3 | 4 | namespace csscript 5 | { 6 | /// 7 | /// Class containing all information about script compilation context and the compilation result. 8 | /// 9 | public class CompilingInfo 10 | { 11 | /// 12 | /// The script file that the CompilingInfo is associated with. 13 | /// 14 | public string ScriptFile; 15 | 16 | /// 17 | /// The script parsing context containing the all CS-Script specific compilation/parsing info (e.g. probing directories, 18 | /// NuGet packages, compiled sources). 19 | /// 20 | public ScriptParsingResult ParsingContext; 21 | 22 | /// 23 | /// The script compilation result. 24 | /// 25 | public CompilerResults Result; 26 | 27 | /// 28 | /// The compilation context object that contain all information about the script compilation input 29 | /// (referenced assemblies, compiler symbols). 30 | /// 31 | public CompilerParameters Input; 32 | } 33 | } -------------------------------------------------------------------------------- /src/cscs/Utils/CurrentDirGuard.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | #if !class_lib 4 | 5 | namespace csscript 6 | #else 7 | 8 | namespace CSScriptLib 9 | #endif 10 | { 11 | internal class CurrentDirGuard : IDisposable 12 | { 13 | string currentDir = Environment.CurrentDirectory; 14 | 15 | public void Dispose() 16 | { 17 | Dispose(true); 18 | GC.SuppressFinalize(this); 19 | } 20 | 21 | protected virtual void Dispose(bool disposing) 22 | { 23 | if (!this.disposed) 24 | Environment.CurrentDirectory = currentDir; 25 | 26 | disposed = true; 27 | } 28 | 29 | ~CurrentDirGuard() => Dispose(false); 30 | 31 | bool disposed = false; 32 | } 33 | } -------------------------------------------------------------------------------- /src/cscs/Utils/Profiler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | 5 | namespace CSScripting 6 | { 7 | class Profiler 8 | { 9 | static public Stopwatch Stopwatch = new Stopwatch(); 10 | 11 | static public string EngineContext = ""; 12 | 13 | static Dictionary items = new Dictionary(); 14 | 15 | public static bool has(string key) => items.ContainsKey(key); 16 | 17 | public static Stopwatch get(string key) 18 | { 19 | if (!items.ContainsKey(key)) 20 | items[key] = new Stopwatch(); 21 | return items[key]; 22 | } 23 | 24 | public static void measure(string name, Action action) 25 | { 26 | var sw = new Stopwatch(); 27 | try 28 | { 29 | sw.Start(); 30 | action(); 31 | } 32 | finally 33 | { 34 | Console.WriteLine($"{name}: {sw.Elapsed}"); 35 | } 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /src/cscs/Utils/SerializationExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using System.Xml; 3 | using System.Xml.Serialization; 4 | 5 | static class SerializationExtensions 6 | { 7 | public static T Deserialize(this string data) 8 | { 9 | var serializer = new XmlSerializer(typeof(T)); 10 | 11 | using var buffer = new StringReader(data); 12 | using var reader = XmlReader.Create(buffer); 13 | 14 | return (T)serializer.Deserialize(reader); 15 | } 16 | 17 | public static string Serialize(this object obj) 18 | { 19 | if (obj == null) return ""; 20 | 21 | using var string_writer = new StringWriter(); 22 | using var xml_writer = XmlWriter.Create(string_writer); 23 | 24 | var serializer = new XmlSerializer(obj.GetType()); 25 | serializer.Serialize(xml_writer, obj); 26 | return string_writer.ToString(); 27 | } 28 | } -------------------------------------------------------------------------------- /src/cscs/css_logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/cscs/css_logo.ico -------------------------------------------------------------------------------- /src/css/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/css/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | // General Information about an assembly is controlled through the following 5 | // set of attributes. Change these attribute values to modify the information 6 | // associated with an assembly. 7 | [assembly: AssemblyTitle("css")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("css")] 12 | [assembly: AssemblyCopyright("Copyright © 2018-2021")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // Setting ComVisible to false makes the types in this assembly not visible 17 | // to COM components. If you need to access a type in this assembly from 18 | // COM, set the ComVisible attribute to true on that type. 19 | [assembly: ComVisible(false)] 20 | 21 | // The following GUID is for the ID of the typelib if this project is exposed to COM 22 | [assembly: Guid("a8755b0e-ee1d-4cc0-9c58-a7abb0efae3c")] 23 | 24 | // Version information for an assembly consists of the following four values: 25 | // 26 | // Major Version 27 | // Minor Version 28 | // Build Number 29 | // Revision 30 | // 31 | // You can specify all the values or you can default the Build and Revision Numbers 32 | // by using the '*' as shown below: 33 | // [assembly: AssemblyVersion("1.0.*")] 34 | [assembly: AssemblyVersion("4.9.6.0")] 35 | [assembly: AssemblyFileVersion("4.9.6.0")] 36 | -------------------------------------------------------------------------------- /src/css/css_logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/css/css_logo.ico -------------------------------------------------------------------------------- /src/css/css_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/css/css_logo.png -------------------------------------------------------------------------------- /src/csws/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "csws": { 4 | "commandName": "Project", 5 | "commandLineArgs": "-ls kill" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/csws/css_logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/csws/css_logo.ico -------------------------------------------------------------------------------- /src/distro/README.txt: -------------------------------------------------------------------------------- 1 | User 'include' scripts 2 | ------------------ 3 | This is a user library of the scripts to be included (referenced) from other scripts. 4 | Typically this folder contains 'utility' scripts. Anything that can be useful for user. By default this folder contains a few sample scripts. 5 | 6 | For example 'which.cs' script, which allows a quick lookup for a file in the 'well-known' system locations (somwwhat equivalent of system `which` utiliy): 7 | 8 | Command: css which notepad.exe 9 | Output: C:\Windows\system32\notepad.exe 10 | -------------------------------------------------------------------------------- /src/distro/fkill.cs: -------------------------------------------------------------------------------- 1 | //css_args /nl 2 | using System; 3 | using System.Diagnostics; 4 | using System.Collections.Generic; 5 | using System.IO; 6 | using System.Threading; 7 | 8 | class Script 9 | { 10 | const string usage = "Usage: fkill [file path #0]...[file path #n] ...\nDeletes (kills) file(s). If file is locked by some process it will wait until file is released and than kill it.\n"; 11 | 12 | static public void Main(string[] args) 13 | { 14 | if (args.Length == 0 || (args.Length == 1 && (args[0] == "?" || args[0] == "/?" || args[0] == "-?" || args[0].ToLower() == "help"))) 15 | { 16 | Console.WriteLine(usage); 17 | } 18 | else 19 | { 20 | List files = new List(args); 21 | 22 | while (files.Count != 0) 23 | { 24 | foreach (var file in files) 25 | { 26 | try 27 | { 28 | if (File.Exists(file)) 29 | File.Delete(file); 30 | 31 | files.Remove(file); 32 | } 33 | catch { } 34 | } 35 | 36 | Thread.Sleep(1000); 37 | } 38 | } 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /src/distro/isadmin.cs: -------------------------------------------------------------------------------- 1 | //css_args /ac, /nl 2 | using System.Security.Principal; 3 | using System; 4 | using System.Diagnostics; 5 | 6 | void main() 7 | { 8 | Console.WriteLine( 9 | new WindowsPrincipal(WindowsIdentity.GetCurrent()) 10 | .IsInRole(WindowsBuiltInRole.Administrator)); 11 | } -------------------------------------------------------------------------------- /src/distro/linux/cs-script_1.4-6.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/distro/linux/cs-script_1.4-6.deb -------------------------------------------------------------------------------- /src/distro/linux/readme.txt: -------------------------------------------------------------------------------- 1 | # symbolic link for css 2 | ln -s /usr/local/bin/cs-script/cscs.exe /usr/local/bin/cs-script/css 3 | sudo chmod +rwx /usr/local/bin/cs-script/css 4 | 5 | #Path to bash 6 | echo 'export PATH=$PATH:/usr/local/bin/cs-script' >> ~/.bashrc 7 | 8 | - running u tests 9 | 10 | -------------------------------------------------------------------------------- /src/distro/linux/wsl/Download .NET 5.0 SDK (v5.0.101) - Linux x64 Binaries.URL: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-5.0.101-linux-x64-binaries 3 | IDList= 4 | HotKey=0 5 | IconFile=C:\Users\oleg.shilo\AppData\Local\Mozilla\Firefox\Profiles\8lbvt6md.default-release\shortcutCache\ND0lbFtJAJSgHXz+gjQ7hg==.ico 6 | IconIndex=0 7 | -------------------------------------------------------------------------------- /src/distro/linux/wsl/Install .NET on Ubuntu - .NET - Microsoft Docs.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu 3 | -------------------------------------------------------------------------------- /src/distro/linux/wsl/Running .NET Core Apps under Windows Subsystem for Linux (Bash for Windows) - Rick Strahl's Web Log.URL: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://weblog.west-wind.com/posts/2017/apr/13/running-net-core-apps-under-windows-subsystem-for-linux-bash-for-windows 3 | IDList= 4 | HotKey=0 5 | IconFile=C:\Users\oleg.shilo\AppData\Local\Mozilla\Firefox\Profiles\8lbvt6md.default-release\shortcutCache\hiik4wwwGVW+fwmaIeECoA==.ico 6 | IconIndex=0 7 | -------------------------------------------------------------------------------- /src/distro/pkill.cs: -------------------------------------------------------------------------------- 1 | //css_args /nl 2 | using System; 3 | using System.Diagnostics; 4 | 5 | class Script 6 | { 7 | const string usage = "Usage: nkill.cs [process name #0] [process name #1] ...\nTerminates processes\n"; 8 | 9 | static public void Main(string[] args) 10 | { 11 | if (args.Length == 0 || (args.Length == 1 && (args[0] == "?" || args[0] == "/?" || args[0] == "-?" || args[0].ToLower() == "help"))) 12 | { 13 | Console.WriteLine(usage); 14 | } 15 | else 16 | { 17 | foreach(string prName in args) 18 | { 19 | try 20 | { 21 | Process [] processByName = Process.GetProcessesByName(prName); 22 | foreach(Process pr in processByName) 23 | pr.Kill(); 24 | } 25 | catch 26 | { 27 | Console.WriteLine("Cannot terminate " + prName + "\n"); 28 | } 29 | } 30 | } 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /src/logo/css_logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/logo/css_logo.ico -------------------------------------------------------------------------------- /src/logo/css_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/logo/css_logo.png -------------------------------------------------------------------------------- /src/logo/css_logo_100x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/logo/css_logo_100x100.png -------------------------------------------------------------------------------- /src/out/Windows/csws.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net9.0", 4 | "rollForward": "LatestMajor", 5 | "frameworks": [ 6 | { 7 | "name": "Microsoft.NETCore.App", 8 | "version": "9.0.0" 9 | }, 10 | { 11 | "name": "Microsoft.WindowsDesktop.App", 12 | "version": "9.0.0" 13 | } 14 | ], 15 | "configProperties": { 16 | "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, 17 | "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, 18 | "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /src/out/ci/7z.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/ci/7z.dll -------------------------------------------------------------------------------- /src/out/ci/7z.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/ci/7z.exe -------------------------------------------------------------------------------- /src/out/ci/build.cmd: -------------------------------------------------------------------------------- 1 | bash build.sh -------------------------------------------------------------------------------- /src/out/ci/build.sh: -------------------------------------------------------------------------------- 1 | cd /home/user/lnx-build 2 | sudo chmod 775 cs-script_4.9-6/DEBIAN/p* 3 | dpkg-deb --build cs-script_4.9-6 4 | 5 | sudo dotnet ./cs-script_4.9-6/usr/local/bin/cs-script/cscs.dll -self-test 6 | dotnet ./cs-script_4.9-6/usr/local/bin/cs-script/cscs.dll -server:stop -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/DEBIAN_template/control: -------------------------------------------------------------------------------- 1 | Package: cs-script 2 | Version: {$version} 3 | Section: base 4 | Priority: optional 5 | Architecture: all 6 | Homepage: https://github.com/oleg-shilo/cs-script 7 | Maintainer: Oleg Shilo 8 | Description: C# scripting runtime environment 9 | CS-Script is a CLR (Common Language Runtime) based scripting system 10 | which uses ECMA-compliant C# as a scripting language. 11 | . 12 | The package depends on the .NET so ensure it is instaled (see https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu) 13 | -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/DEBIAN_template/cs-script.links: -------------------------------------------------------------------------------- 1 | /usr/local/bin/cs-script/cscs /usr/local/bin/css -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/DEBIAN_template/postinst: -------------------------------------------------------------------------------- 1 | sudo chmod +x /usr/local/bin/cs-script/cscs 2 | sudo ln -s /usr/local/bin/cs-script/cscs /usr/local/bin/css 3 | sudo /usr/local/bin/cs-script/cscs -server:stop 4 | sudo /usr/local/bin/cs-script/cscs -server:add -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/DEBIAN_template/postrm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/ci/linux/package.build/DEBIAN_template/postrm -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/DEBIAN_template/prerm: -------------------------------------------------------------------------------- 1 | sudo /usr/local/bin/cs-script/cscs -server:stop 2 | sudo unlink /usr/local/bin/css -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/build.cmd: -------------------------------------------------------------------------------- 1 | bash ./build.sh 2 | pause -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/build.sh: -------------------------------------------------------------------------------- 1 | echo ============= 2 | echo Clearing the old build 3 | echo . . . 4 | [ -d /home/user/dev ] || mkdir /home/user/dev 5 | if [ -d /home/user/dev/build/ ]; then rm -r /home/user/dev/build/; fi 6 | mkdir /home/user/dev/build/ 7 | echo ============= 8 | 9 | echo Copying the new binaries 10 | echo . . . 11 | cd /home/user/dev/build/ 12 | mkdir cs-script_4.0-0 13 | mkdir cs-script_4.0-0/DEBIAN/ 14 | mkdir cs-script_4.0-0/usr 15 | mkdir cs-script_4.0-0/usr/local 16 | mkdir cs-script_4.0-0/usr/local/bin 17 | mkdir cs-script_4.0-0/usr/local/bin/cs-script 18 | mkdir cs-script_4.0-0/usr/local/bin/cs-script/-selftest 19 | cp -r /mnt/d/dev/Galos/cs-script.core/src/out/Linux/* cs-script_4.0-0/usr/local/bin/cs-script 20 | cp -r /mnt/d/dev/Galos/cs-script.core/src/out/Linux/-selftest* cs-script_4.0-0/usr/local/bin/cs-script/-selftest 21 | cp -r /mnt/d/dev/Galos/cs-script.core/src/out/ci/linux/package.build/cs-script_4.0-0/DEBIAN/* cs-script_4.0-0/DEBIAN/ 22 | sudo chmod 775 cs-script_4.0-0/DEBIAN/p* 23 | dpkg-deb --build cs-script_4.0-0 24 | if [ -d /home/user/dev/build/ ] ; then cp cs-script_4.0-0.deb /mnt/d/dev/Galos/cs-script.core/src/out/ci/linux/; fi -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/build.sh.template: -------------------------------------------------------------------------------- 1 | cd {$local_root} 2 | sudo chmod 775 cs-script_{$version}/DEBIAN/p* 3 | dpkg-deb --build cs-script_{$version} 4 | 5 | sudo dotnet ./cs-script_{$version}/usr/local/bin/cs-script/cscs.dll -self-test 6 | dotnet ./cs-script_{$version}/usr/local/bin/cs-script/cscs.dll -server:stop -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/cs-script_4.0-0/DEBIAN/control: -------------------------------------------------------------------------------- 1 | Package: cs-script 2 | Version: 4.0-0 3 | Section: base 4 | Priority: optional 5 | Architecture: all 6 | Homepage: https://github.com/oleg-shilo/cs-script 7 | Maintainer: Oleg Shilo 8 | Description: C# scripting runtime environment 9 | CS-Script is a CLR (Common Language Runtime) based scripting system 10 | which uses ECMA-compliant C# as a scripting language. 11 | . 12 | The package depends on the .NET so ensure it is instaled (see https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu) 13 | -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/cs-script_4.0-0/DEBIAN/cs-script.links: -------------------------------------------------------------------------------- 1 | /usr/local/bin/cs-script/cscs /usr/local/bin/css -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/cs-script_4.0-0/DEBIAN/postinst: -------------------------------------------------------------------------------- 1 | sudo chmod +x /usr/local/bin/cs-script/cscs 2 | sudo ln -s /usr/local/bin/cs-script/cscs /usr/local/bin/css 3 | sudo /usr/local/bin/cs-script/cscs -server:add -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/cs-script_4.0-0/DEBIAN/postrm: -------------------------------------------------------------------------------- 1 | sudo rm /usr/local/bin/css 2 | sudo rm -r /usr/local/share/cs-script -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/cs-script_4.0-0/DEBIAN/prerm: -------------------------------------------------------------------------------- 1 | sudo /usr/local/bin/cs-script/cscs -server:stop -------------------------------------------------------------------------------- /src/out/ci/linux/package.build/readme.md: -------------------------------------------------------------------------------- 1 | # Build Debian package 2 | 3 | ref: https://ubuntuforums.org/showthread.php?t=910717 4 | https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-package-type 5 | 6 | Note: chmod 775 cs-script_4.0-0/DEBIAN/p* will cover postinst,prerm and postrm 7 | Packaging must be done on native Linux FS folders. If it is done on mounted drives dpkg-deb will fail with file permissions error 8 | mkdir cs-script_4.0-0 9 | mkdir cs-script_4.0-0/usr 10 | mkdir cs-script_4.0-0/usr/local 11 | mkdir cs-script_4.0-0/usr/local/bin 12 | mkdir cs-script_4.0-0/usr/local/bin/cs-script 13 | mkdir cs-script_4.0-0/usr/local/bin/cs-script/-selftest 14 | cp -r /mnt/d/dev/Galos/cs-script.core/src/out/Linux/cs-script_4.0-0/* /usr/local/bin/cs-script 15 | cp -r /mnt/d/dev/Galos/cs-script.core/src/out/Linux/cs-script_4.0-0/-selftest* /usr/local/bin/cs-script/-selftest 16 | mkdir cs-script_4.0-0v/DEBIAN 17 | 18 | sudo chmod 775 cs-script_4.0-0/DEBIAN/p* 19 | 20 | dpkg-deb --build cs-script_4.0-0 21 | 22 | 23 | - Test the package: 24 | - sudo dpkg --purge cs-script 25 | - sudo dpkg -i ../cs-script_*.deb (or specify the version instead of *) -------------------------------------------------------------------------------- /src/out/ci/linux/readme.md: -------------------------------------------------------------------------------- 1 | ## Instal the latest version 2 | 3 | repo=http://www.cs-script.net/cs-script/linux/ubuntu/; file=$(echo cs-script_)$(curl -L $repo/version.txt --silent)$(echo _all.deb); rm $file; wget $repo$file; sudo dpkg -i $file 4 | 5 | ## Install Specific version 6 | 7 | repo=https://github.com/oleg-shilo/cs-script.core/releases/download/; file=cs-script_1.4-5.deb; rm $file; wget $repo$file; sudo dpkg -i $file 8 | 9 | https://github.com/oleg-shilo/cs-script.core/releases/download/v1.4.5.0-NET5-RC5/cs-script_1.4-5.deb 10 | 11 | -------------------------------------------------------------------------------- /src/out/ci/rn2n.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | 3 | var content = File.ReadAllText(args[0]); 4 | File.WriteAllText(args[0], content.Replace("\r\n", "\n")); -------------------------------------------------------------------------------- /src/out/ci/update_choco_scripts.cs: -------------------------------------------------------------------------------- 1 | //css_inc cmd 2 | using static System.Environment; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Xml.Linq; 6 | using System.Collections.Generic; 7 | using System; 8 | 9 | (string version, 10 | string lnx_version, _) = vs.parse_release_notes(args.FirstOrDefault() ?? Path.GetFullPath(@"..\..\release_notes.md")); 11 | 12 | var shortVersion = version.Substring(0, version.LastIndexOf('.')); 13 | 14 | PatchFile( 15 | @".\..\..\chocolatey\update_package.cs", 16 | x => x.Trim().StartsWith("var url ="), 17 | $"var url = \"https://github.com/oleg-shilo/cs-script/releases/download/v{version}/cs-script.win.v{version}.7z\";"); 18 | 19 | PatchFile( 20 | @".\..\..\chocolatey\publish.cmd", 21 | x => x.Trim().StartsWith("choco push "), 22 | $"choco push cs-script.{shortVersion}.nupkg --source https://push.chocolatey.org/"); 23 | 24 | Console.WriteLine("'update_package.cs' script is set to target release: v" + version); 25 | 26 | void PatchFile(string file, Predicate filter, string replacement) 27 | { 28 | var lines = File.ReadAllLines(file).ToList(); 29 | 30 | var urlIndex = lines.FindIndex(filter); 31 | lines[urlIndex] = replacement; 32 | 33 | File.WriteAllLines(file, lines); 34 | } -------------------------------------------------------------------------------- /src/out/static_content/-edit/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-edit/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-mkshim/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-mkshim/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-mkshim/IconExtractor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-mkshim/IconExtractor.dll -------------------------------------------------------------------------------- /src/out/static_content/-pkill/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-pkill/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-runas/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-runas/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-self/-alias/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-self/-alias/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-self/-exe/-run.cs: -------------------------------------------------------------------------------- 1 | //css_include -build.cs -------------------------------------------------------------------------------- /src/out/static_content/-self/-exe/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-self/-exe/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-self/-install/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-self/-install/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-self/-run.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | using static dbg; 3 | using static System.Reflection.Assembly; 4 | 5 | if (args.Contains("?") || args.Contains("-?") || args.Contains("-help")) 6 | print("Prints path to the script engine CLI executable."); 7 | else 8 | GetEntryAssembly().Location.print(); -------------------------------------------------------------------------------- /src/out/static_content/-self/-test/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-self/-test/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-self/-update/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-self/-update/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-set/-rt/-self.cs: -------------------------------------------------------------------------------- 1 | //css_engine csc 2 | //css_include global-usings 3 | using System.Diagnostics; 4 | using System.Text.Json; 5 | using System.Text.Json.Nodes; 6 | 7 | var assembly = args.FirstOrDefault(); 8 | 9 | if (assembly == "/?" || assembly == "-?" || assembly == "-help") 10 | { 11 | Console.WriteLine($"Sets the cs-script engine target runtime to the currently active .NET configuration."); 12 | Console.WriteLine($" css -set-rt-self"); 13 | return; 14 | } 15 | 16 | var cscs = Environment.GetEnvironmentVariable("CSScriptRuntimeLocation"); //cscs.dll 17 | var csws = Path.Combine(Path.GetDirectoryName(cscs), "csws.dll"); 18 | 19 | Process.Start("css", $"-set-rt \"{cscs}\" \"{csws}\"").WaitForExit(); -------------------------------------------------------------------------------- /src/out/static_content/-set/-rt/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-set/-rt/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/Microsoft.CodeAnalysis.CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-wdbg/Microsoft.CodeAnalysis.CSharp.dll -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/Microsoft.CodeAnalysis.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-wdbg/Microsoft.CodeAnalysis.dll -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/Pages/Error.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model blazor_min.Pages.ErrorModel 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Error 11 | 12 | 13 | 14 |
15 |
16 |

Error.

17 |

An error occurred while processing your request.

18 | 19 | @if (Model.ShowRequestId) 20 | { 21 |

22 | Request ID: @Model.RequestId 23 |

24 | } 25 | 26 |

Development Mode

27 |

28 | Swapping to the Development environment displays detailed information about the error that occurred. 29 |

30 |

31 | The Development environment shouldn't be enabled for deployed applications. 32 | It can result in displaying sensitive information from exceptions to end users. 33 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 34 | and restarting the app. 35 |

36 |
37 |
38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/Pages/Error.cshtml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Mvc; 2 | using Microsoft.AspNetCore.Mvc.RazorPages; 3 | using System.Diagnostics; 4 | 5 | namespace blazor_min.Pages; 6 | 7 | [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] 8 | [IgnoreAntiforgeryToken] 9 | public class ErrorModel : PageModel 10 | { 11 | public string RequestId { get; set; } 12 | 13 | public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 14 | 15 | private readonly ILogger _logger; 16 | 17 | public ErrorModel(ILogger logger) 18 | { 19 | _logger = logger; 20 | } 21 | 22 | public void OnGet() 23 | { 24 | RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; 25 | } 26 | } -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/Pages/_Host.cshtml: -------------------------------------------------------------------------------- 1 | @page "/" 2 | @namespace blazor_min.Pages 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | @{ 5 | Layout = "_Layout"; 6 | } 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "blazor_min": { 4 | "commandName": "Project", 5 | "commandLineArgs": "--urls \"https://localhost:5003\" -script D:\\dev\\Galos\\cs-script\\src\\out\\static_content\\-wdbg\\test\\script.cs -pre D:\\dev\\Galos\\cs-script\\src\\out\\static_content\\-wdbg\\dbg-inject.cs", 6 | "launchBrowser": true, 7 | "environmentVariables": { 8 | "ASPNETCORE_ENVIRONMENT": "Development" 9 | }, 10 | "dotnetRunMessages": true, 11 | "applicationUrl": "https://localhost:5003;http://localhost:5000" 12 | }, 13 | "IIS Express": { 14 | "commandName": "IISExpress", 15 | "launchBrowser": true, 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | } 20 | }, 21 | "iisSettings": { 22 | "windowsAuthentication": false, 23 | "anonymousAuthentication": true, 24 | "iisExpress": { 25 | "applicationUrl": "http://localhost:43062", 26 | "sslPort": 44300 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | blazor_min 4 | 5 |
6 |
7 | @Body 8 |
9 |
10 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Authorization 3 | @using Microsoft.AspNetCore.Components.Authorization 4 | @using Microsoft.AspNetCore.Components.Forms 5 | @using Microsoft.AspNetCore.Components.Routing 6 | @using Microsoft.AspNetCore.Components.Web 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using server 10 | @using server.Shared 11 | @using MudBlazor 12 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Warning", 5 | "Microsoft.AspNetCore": "Warning", 6 | "Microsoft.Hosting.Lifetime": "None" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/doc/Introducing CleanBlazor 🧽🧼🧹. Problem by Francisco Vilches tech-lah Medium.URL: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://medium.com/tech-lah/clean-blazor-13a455660a83 3 | IDList= 4 | HotKey=0 5 | IconFile=C:\Users\oleg.shilo\AppData\Local\Mozilla\Firefox\Profiles\wbt1kwmz.default-release\shortcutCache\_v6iufrqjHxbgicaOZlFNQ==.ico 6 | IconIndex=0 7 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/doc/Table - MudBlazor.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://mudblazor.com/components/table#table-with-pagination-and-filtering 3 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/publish.cmd: -------------------------------------------------------------------------------- 1 | dotnet publish -o .\output 2 | pause -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/server.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net9.0 5 | disable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | PreserveNewest 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/server.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.4.33103.184 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "server", "server.csproj", "{42FCB185-4ABA-48DA-8364-EB97A4CFAC2D}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {42FCB185-4ABA-48DA-8364-EB97A4CFAC2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {42FCB185-4ABA-48DA-8364-EB97A4CFAC2D}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {42FCB185-4ABA-48DA-8364-EB97A4CFAC2D}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {42FCB185-4ABA-48DA-8364-EB97A4CFAC2D}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {1E0C3CED-8DD6-4A5A-988E-8F3DFE60191D} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /src/out/static_content/-wdbg/dbg-server/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-wdbg/dbg-server/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/out/static_content/-web/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-web/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-which/-run.cs: -------------------------------------------------------------------------------- 1 | //css_args -nl 2 | //css_ng csc 3 | //css_include global-usings 4 | using System; 5 | using System.Diagnostics; 6 | using CSScripting; 7 | using static dbg; 8 | using static System.Console; 9 | using static System.Environment; 10 | using System.IO; 11 | using System.Text; 12 | using Microsoft.Win32; 13 | 14 | var thisScript = GetEnvironmentVariable("EntryScript"); 15 | 16 | var help = 17 | @$"Custom command for printing detected locations of te specified file. 18 | v{thisScript.GetCommandScriptVersion()} ({thisScript}) 19 | Usage: 20 | css -which "; 21 | 22 | if (args.Length == 0 || "?,-?,-help,--help".Split(',').Contains(args.FirstOrDefault())) 23 | { 24 | Console.WriteLine(help); 25 | } 26 | else 27 | { 28 | string file = args[0].EndsWith(".exe") ? args[0] : args[0] + ".exe"; 29 | string filePath = file; 30 | 31 | if (File.Exists(file)) 32 | { 33 | Console.WriteLine(Path.GetFullPath(filePath)); 34 | } 35 | else 36 | { 37 | var dirs = Environment.GetEnvironmentVariable("Path").Split(';').ToList(); 38 | dirs.Insert(0, Environment.CurrentDirectory); 39 | 40 | foreach (string dir in dirs) 41 | { 42 | if (File.Exists(filePath = Path.Combine(dir, file))) 43 | { 44 | Console.WriteLine(filePath); 45 | break; 46 | } 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /src/out/static_content/-which/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-which/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/-who/1.0.0.version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/out/static_content/-who/1.0.0.version -------------------------------------------------------------------------------- /src/out/static_content/css.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Reflection; 4 | 5 | var dir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); 6 | 7 | var engine = Path.Combine(dir, "cscs.dll"); 8 | AppDomain.CurrentDomain.ExecuteAssembly(engine, args); 9 | 10 | -------------------------------------------------------------------------------- /src/out/static_content/global-usings.cs: -------------------------------------------------------------------------------- 1 | // 2 | global using global::System; 3 | global using global::System.Collections.Generic; 4 | global using global::System.IO; 5 | global using global::System.Linq; 6 | global using global::System.Xml.Linq; 7 | global using global::System.Net.Http; 8 | global using global::System.Reflection; 9 | global using global::System.Threading; 10 | global using global::System.Threading.Tasks; 11 | global using static global::System.Environment; 12 | global using static global::dbg; -------------------------------------------------------------------------------- /src/out/static_content/install.sh: -------------------------------------------------------------------------------- 1 | # early approach; symbolic link for css does not work very well as cscs.exe is no longer IL based exe in .NET5 but native 2 | # so cannot be taken from the Win distro 3 | # ln -s /usr/local/bin/cs-script/cscs.exe /usr/local/bin/cs-script/css 4 | # sudo chmod +rwx /usr/local/bin/cs-script/css 5 | 6 | # current_dir=/usr/local/bin/cs-script 7 | # current_dir=$PWD 8 | 9 | # build OS specific script engine launcher 'css' 10 | # sudo dotnet ./cscs.dll -e ./css.cs 11 | 12 | 13 | chmod +x /usr/local/bin/cs-script/cscs 14 | sudo ln -s /usr/local/bin/cs-script/cscs /usr/bin/css 15 | 16 | export CSSCRIPT_DIR=$(current_dir) 17 | export PATH=$PATH:$(current_dir) 18 | 19 | # updating PATH in bash 20 | echo 'export CSSCRIPT_DIR='"$(current_dir)" >> ~/.bashrc 21 | echo 'export PATH=$PATH:'"$(current_dir)" >> ~/.bashrc 22 | 23 | -------------------------------------------------------------------------------- /src/out/static_content/readme.md: -------------------------------------------------------------------------------- 1 | ## Manual installations steps 2 | 3 | 1. Create an alias so we do not need to tweak PATH and specify dotnet launcher: 4 | ``` 5 | alias css='dotnet /usr/local/bin/cs-script/cscs.dll' 6 | ``` 7 | 8 | 2. Optionally you can add the installation dir to envars: 9 | ``` 10 | export CSSCRIPT_ROOT=$(current_dir) 11 | # updating envars in bash 12 | echo 'export CSSCRIPT_ROOT='"$(current_dir)" >> ~/.bashrc 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /src/prepare-environment.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | set snk_name=sgKey.snk 5 | set is_new_snk=no 6 | 7 | :: Check if the 'snk-folder' environment variable exists 8 | if "%snk-folder%"=="" ( 9 | echo Environment variable 'snk-folder' not found. Generating new SNK file... 10 | set snk-folder=.\ 11 | set is_new_snk=yes 12 | :: Generate a new SNK file in the project root 13 | sn -k %snk_name% 14 | ) else ( 15 | echo 'snk-folder' found: %snk-folder% 16 | 17 | :: Check if the SNK file exists in the specified folder 18 | if exist "%snk-folder%\%snk_name%" ( 19 | echo Copying SNK file from '%snk-folder%' to project root... 20 | ) else ( 21 | echo SNK file not found in '%snk-folder%'. Generating new one... 22 | sn -k %snk_name% 23 | set is_new_snk=yes 24 | ) 25 | ) 26 | 27 | echo SNK setup complete. 28 | echo %snk-folder%%snk_name% 29 | 30 | copy %snk-folder%%snk_name% .\CSScriptLib\src\CSScriptLib\%snk_name% 31 | copy %snk-folder%%snk_name% .\Tests.CSScriptLib\%snk_name% 32 | 33 | if "%is_new_snk%"=="yes" ( 34 | echo deleting temporary snk file... 35 | del %snk-folder%%snk_name% 36 | ) 37 | 38 | endlocal 39 | 40 | 41 | -------------------------------------------------------------------------------- /src/release_notes.md: -------------------------------------------------------------------------------- 1 | # Release v4.9.6.0 2 | 3 | --- 4 | 5 | ## Changes 6 | 7 | ### CLI 8 | 9 | #414: Implement assembly probing for external script execution (e.g. x86) 10 | 11 | ### CSScriptLib 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/wiki/css_logo_codeplex_256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleg-shilo/cs-script/f6d4efd5e93a3d775ab2c4081c44db1da663e6f5/src/wiki/css_logo_codeplex_256x256.png -------------------------------------------------------------------------------- /src/winget/readme.txt: -------------------------------------------------------------------------------- 1 | Steps 2 | 3 | 1. Make GitHub release 4 | 2. Create a new version branch in the manifests folder: .\manifests\o\oleg-shilo\cs-script\4.x.x.x\ 5 | 3. Update individual files in this folder with the new version, the release github url and new SHA-256 6 | 4. Validate manifests: winget validate .\manifests\o\oleg-shilo\cs-script\4.x.x.x 7 | 5. Install locally: winget install -m .\manifests\o\oleg-shilo\cs-script\4.x.x.x --ignore-local-archive-malware-scan 8 | 5. Optionally uninstall locally: winget uninstall -m .\manifests\o\oleg-shilo\cs-script\4.x.x.x 9 | 10 | Notes: 11 | winget does not create app (installer) aliases for portable packages even though during the installation it reports successful creation. 12 | See https://github.com/microsoft/winget-cli/issues/3345 13 | 14 | Thus use hard link instead. 15 | Execute from command prompt: 16 | cmd /K "cd %userprofile%\AppData\Local\Microsoft\WinGet\Packages\oleg-shilo.cs-script__DefaultSource & mklink /H css.exe cscs.exe" 17 | 18 | CS-Script now can do this with: 19 | cscs -self-alias 20 | --------------------------------------------------------------------------------