Closed AntonDevil closed 7 months ago
Lately Notepad++ hosting model changes are constantly upsetting various plugins. I suggest you remove the plugin completely in install it manually from the releases page: https://github.com/oleg-shilo/cs-script.npp/releases
I tried with CSScriptNpp.1.7.19.0.x86.zip (I don't want to install it with msi) No luck.
Am I the only one with this issue?
BTW. the title of an error is "C:\Program Files (x86)\Notepad++\plugins\CSScriptNpp\CSScriptNpp.dll" File structure is:
plugins\
--CSScriptNpp\
----CSScriptNpp.dll
----...
--CSScriptNpp.dll
--...
I even tried to procmon it.
Here is few things I noticed. Take a look how notepad++ load dlls.
It is testing directory and then he is trying to go into the directory and open
And then this is happening (this is right before errors message showed up)
Yes it is a problem. I remember it very well. It is caused by the recent experiments by NPP team :( Many other plugins are affected as well.
Though the problem was reported and definitely fixed. May be it came back.
Anyway, asking Npp team to fix something, particularly plugin hosting is very problematic. I can only suggest you switch to x64 version. It definitely works. Though I have v7.5.8.
OK updated to 7.5.9 and.... the update broke it :o(
Though it pops up the error message but the plugin itself is not affected and works as expected.
I am so happy for Npp team that they enjoy themselves. They constantly break the hosting model that was stable for ~10 years. Plugin manager (which is just another plugin) team has also been complaining about this.
Will need to come up with the work around this week...
OK as a quick manual work around (until I release the change) you may move the whole plugin file structure one level down to handle the breaking change from NPP.
Current structure:
Notepad++
\-- plugins
|-- CSScriptNpp
| |-- CSScriptNpp.dll (managed)
| |-- CSScriptLibrary.dll
| |-- . . .
|
\-- CSScriptLibrary.dll (native)
Work around structure: Current structure:
Notepad++
\-- plugins
\-- CSScriptNpp
|-- CSScriptNpp
| |-- CSScriptNpp.dll (managed)
| |-- CSScriptLibrary.dll
| |-- . . .
|
\-- CSScriptLibrary.dll (native)
Thank you, Oleg!
I just wanted you to be aware about this issue with recent notepad++ update. My notepad++ is always running, so I'm not getting annoyed with this =).
You can close this issue, if you wish.
Regards, Anton
P.S.: Всегда приятно видеть наших владеющих и поддерживающих проекты, которыми пользуются многие другие разработчики. Успехов! =)
Thanks Anton,
No I am not closing it. I is a problem and I have very little hope that Npp will fix this mess. So I will need to change my deployment model. I simply cannot say to CS-Script users what Npp says to the plugin devs - "Deal with it!"
Успехов!
Thanks, my Russian typing is rusty but I can read :)
Done. You can oick the latest release with the work around from here: https://github.com/oleg-shilo/cs-script.npp/releases/tag/v1.7.20.0
Hey folks.
So after the update of Notepad++ x32 from v7.5.8 to v7.5.9 CS Script plugin is failing to start (right at Notepad++ startup).
Error message is: