-
Notifications
You must be signed in to change notification settings - Fork 54
Deploy CS Script
The CS-Script engine is distributed with the Notepad++ plugin itself. Though this embedded script engine targets .NET Framework runtime. The same runtime the plugin is running on.
This creates a problem if the user wants to run C# code targeting .NET 5/Core. Or wants to use C# syntax higher than C# 7.
Starting from version v1.7.24 you can configure the plugin to use external, not the embedded engine. And this external engine can be CS-Script version that targets .NET Core or .NET 5. The configurations steps are easy.
First, you need to install CS-Script. It is recommended to do it from Choco: https://community.chocolatey.org/packages/cs-script
choco install cs-script
After that, you can open Notepad++ and navigate to the CS-Script Settings dialog and select the "Installed CS-Script" option for the engine location:
Alternatively, you can just click "Enable .NET 5/Core integration"