Comments (4)
Version 0.8.2 build fine for Debug - Any CPU
but getting following errors when building for x86 or x64
Rebuild started at 6:15 AM...
1>------ Rebuild All started: Project: MarkdownViewerPlusPlus, Configuration: Debug x64 ------
1> Transitive merge
1> Merged assemblies: C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\MarkdownViewerPlusPlus\obj\x64\Debug\MarkdownViewerPlusPlus.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\HtmlRenderer.Core.1.5.1-beta1\lib\net40-client\HtmlRenderer.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\HtmlRenderer.PdfSharp.1.5.1-beta1\lib\net40-client\HtmlRenderer.PdfSharp.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\HtmlRenderer.WinForms.1.5.1-beta1\lib\net40-client\HtmlRenderer.WinForms.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\Markdig.0.15.0\lib\net40\Markdig.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.Charting.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\Svg.2.3.0\lib\net35\Svg.dll;
1>C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\MarkdownViewerPlusPlus\MarkdownViewerPlusPlus.csproj(278,5): error MSB4062: The "NppPlugin.DllExport.MSBuild.DllExportTask" task could not be loaded from the assembly C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\MarkdownViewerPlusPlus\PluginInfrastructure\DllExport\NppPlugin.DllExport.MSBuild.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
========== Rebuild completed at 6:15 AM and took 02.521 seconds ==========
from markdownviewerplusplus.
If anyone wants to try building MarkdownViewerPlusPlus on Visual Studio 2022 Community check this out:
Open Legacy Projects (4.5 Framework) In Visual Studio 2022
https://www.c-sharpcorner.com/article/open-legacy-projects-4-5-framework-in-visual-studio-2022/
from markdownviewerplusplus.
Another recommendation for ANSI issue:
NotePad++ Plugin - ANSI vs UNICODE
https://www.reddit.com/r/programminghelp/comments/1254kdv/notepad_plugin_ansi_vs_unicode/
From the reddit post:
Moments after posting this, I was able to find a hint from the internet (even though what seems like 100s of previous searches were dead ends...). The dll that I was using took a string as an input. If I convert that string to UTF8, then it no longer is upset about UNICODE vs. ANSI. I do have other problems, but this issue seems to be resolved.
byte[] bytes = Encoding.Default.GetBytes(myString);
myString = Encoding.UTF8.GetString(bytes);
from markdownviewerplusplus.
I was able to build 0.8.2 as well on Debug - Any CPU and Debug - x86 with the following settings:
-
SdkPath: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools
-
Installing .Net Framework 3.5 kbilsted/NotepadPlusPlusPluginPack.Net#31 (comment)
Figured out the issue, needed to install .net 3.5 (including 2.0) because the NppPlugin.DllExport.MSBuild.dll is referencing msbuild v 2.0.0.0 instead of msbuild v 4.0.0.0
The ANSI error is gone and the the build is successful. I tested installing the plugin and it works!
from markdownviewerplusplus.
Related Issues (20)
- synchronize scrolling not working HOT 1
- feature request: add url to external css HOT 1
- Notepad produce a functionlist with wrong colors
- Borders around tables? HOT 3
- It doesn't reflect document changes HOT 17
- Cannot dock the markdownviewplusplus as rightside sidebar HOT 1
- No whitespace after bolded and italicized words in HTML
- Images not loading
- Numbered headings? HOT 1
- no maintenance… HOT 15
- Issue with installation HOT 1
- .Net Error opening PHP README.md
- YAML front matter shown incorrectly
- Dark mode request HOT 5
- Unwanted numbered list with leading letters in line
- Add support for collapsible details sections HOT 2
- `NppTbData.pszModuleName` is not properly assigned when Markdown panel is docked
- how to render latex equations?
- Numbered lists have unwanted line feed / carriage control after the number.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdownviewerplusplus.