Open bhu1st opened 1 month ago
Hey @bhu1st, thanks for reaching out.
Your problem might be related to the Windows SDK version installed on your machine.
The following line is the path to Windows SDK:
I'm quite sure that you don't need that exact version installed. If you have some other version installed, try updating that value. (ILMergeLibraryPath
item in ILMerge.props
file) Hope that helps.
Hi @monoblaine,
Found your repo from here: https://github.com/nea/MarkdownViewerPlusPlus/issues/152
I'm looking to build MarkdownViewerPlusPlus for 64-bit Windows 10. But getting
error : Unresolved assembly reference not allowed: Windows.
Here's the full build log:
1>------ Rebuild All started: Project: Cli, Configuration: Debug Any CPU ------ 2>------ Rebuild All started: Project: MarkdownViewerPlusPlus, Configuration: Debug x64 ------ 1> Cli -> C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\Cli\bin\Debug\MarkCLI.exe 2> Transitive merge 2> Merge PDBs: true 2> Merged assemblies: C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\MarkdownViewerPlusPlus\obj\x64\Debug\MarkdownViewerPlusPlus.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\packages\Markdig.0.30.2\lib\net452\Markdig.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\packages\Microsoft.Toolkit.Forms.UI.Controls.WebView.5.1.1\lib\net462\Microsoft.Toolkit.Forms.UI.Controls.WebView.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll; 2>C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.9.0\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.targets(88,5): error : Unresolved assembly reference not allowed: Windows. ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
How can I fix this?
Thanks.