"This ANSI plugin is not compatible with your Unicode Notepad++." error
See original GitHub issueIssue description
I’ve tried to run Notepad++ using a a custom-built MarkdownViewerPlusPlus.dll but I get the following error:
This ANSI plugin is not compatible with your Unicode Notepad++.
MarkdownViewerPlusPlus.dll is not compatible with the current version of Notepad++.
So far I’ve tried the following branches:
master: I cannot even get to build the solution0.8.0and0.8.1: The solution successfully builds, the fileMarkdownViewerPlusPlus.dllautomatically gets copied intoC:\Program Files (x86)\Notepad++\plugins\but I get the error above.
Other info
- I’m using the preview version of VS 2017
- NuGet package restore for HtmlRenderer* packages failed, so I’ve cloned your fork, built it, and added the output dlls as a reference.
Also, I guess the active solution platform needs to be “Any CPU” because if I choose the other options (either x86 or x64) I get the following error:
MarkdownViewerPlusPlus.il(421393) : warning : Method has no body, 'ret' emitted
MarkdownViewerPlusPlus.il(421398) : warning : Method has no body, 'ret' emitted
MarkdownViewerPlusPlus.il(421407) : warning : Method has no body, 'ret' emitted
Environment
- Notepad++ 7.5.4 (x86)
- MarkdownViewer++ 0.8.x
- Windows 10 (x64)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
This ANSI plugin is not compatable with your Unicode ...
Error message is: This ANSI plugin is not compatible with your Unicode Notepad++. CSScriptNpp.dll is not compatible with the current version of ...
Read more >Trouble compiling test plugin (ANSI error)
I'm attempting to compile and run a test plugin using Visual Studio. ... “This ANSI plugin is not compatible with your Unicode Notepad++.”....
Read more >WebEdit v2.1 - "This Ansi Plugin is not compatible with your ...
I just downloaded the most current version of this plugin. Once it was installed, this error message pops up each time as I...
Read more >How to switch dll creation from ANSI into UNICODE in ...
I created a plugin for Notepad++ with Visual Studio 2015 Community Edition using C#. It worked fine with Notepad++. After a fresh re- ......
Read more >Help] Notepad++ v5.1 Plugin Error Messages
This ANSI plugin is not compatible with your Unicode Notepad ++. This plugin is not compatible with current version of Notepad++. Does this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @nea & @monoblaine,
I recently figure it out so I though it would be good to share how I did it. I used VS2017 and the newest verision of NotePad++. After adding all missing packages and downgrading PdfSharp package to 1.50.4000-beta3b, I was able to succesfully build the solution. Before you build make sure that you have Debug and x86 selected. After building VS2017 will generate .dll file in the bin folder of your project.
After I tried to copy .dll file to plugins folder of NP++ I was getting the following error:
Then I got around this by installing Plugin Manager for NP++ (PluginManager_v1.4.11_UNI.zip)
Then I installed MarkDownViewerPlusPlus thru plugin manager, and then copied the .dll file (Debug, x86) from the previous build and replaced the one installed thru plugin manager. After that I was able to open Notepad++ with no errors and MarkDown plugin was working!!!
Thank you for your time!!! Hope somebody finds this helpful!
Hi @monoblaine,
Yeah I know it is supposed to copy the dll file after you build it, but I was at work and the pc I am working won’t give me premission to copy files thru that build process, so I just commented out that copy condition. But I get what you are trying to say.
Thank you!