mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-11 21:37:17 +00:00
"Value cannot be null" Error When Installing "markdig" from Nuget #691
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nepgituser on GitHub (Jul 27, 2024).
Hello. I tried to install Markdig from the Nuget package and am getting the following NULL error (see below, copied from terminal). Have tried it on two different computers and both act the same. Also, I renamed the Nuget cache folder (%appdata%\Nuget) on one of them to refresh it, but that didn't make a difference either. Lastly, I tried installing the next latest version (0.36.2) and it didn't work. Guess that means it's related to my two computers. What am I doing wrong? Thanks.
@xoofx commented on GitHub (Jul 27, 2024):
Definitely an install/setup problem.
Not sure adding a
MarkdigPackageReference to aMarkdig.csprojis a good idea to start with. The dll of your project will override the one from Markdig. Use different folder/project names, don't create a project named Markdig, this is super confusing. Nothing will work correctly.@nepgituser commented on GitHub (Jul 27, 2024):
Changing the folder/project name fixed it. I was just doing some testing, not an actual project yet, so I didn't come up with a better name. Live and learn I guess. At any rate, it is working now. Thank you for the quick response.