mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-10 21:40:00 +00:00
Installed NuGet throws System.IO.FileNotFoundException #470
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 @MarkoKvyk on GitHub (Jun 21, 2021).
Creating classlibrary and trying to install
Markdig.I can use usings in code, but I'm trying to start debugging and it throws it:
link to library.
https://github.com/xoofx/markdig
Here is my .csproj
https://stackoverflow.com/questions/68070423/installed-nuget-throws-system-io-filenotfoundexception
@xoofx commented on GitHub (Jun 21, 2021):
Just tried and it is working on my machine, it's working on the CI and it's working also for many users, with 2000+ download per day, we would get a substantial number of issues like that if Markdig was not working like you describe.
So you might have something wrong on your machine. Maybe try to setup a global.json which restrict to net5.0 SDK and/or remove any superfluous dotnet SDK installed. Try to install a new version of dotnet SDK 5.0. Cleanup maybe your NuGet cache folders...etc. Have you installed a preview version of VS like VS 2022? That could break things like that... but it could be anything, even a global env variable that is messing with msbuild. You can investigate yourself such issues by checking the log of msbuild...etc.
@MarkoKvyk commented on GitHub (Jun 23, 2021):
I found the problem. Problem in my Test project. For some reasones it doesnt work well and dont install packages. How to fix it I have no idea. If you had issue like that, please help me. Also you can check it in my repo https://github.com/MarkoKvyk/Telegraph/tree/development
(development branch)
@MarkoKvyk commented on GitHub (Jun 23, 2021):
I found the solution. In my test project were added dublicated references. I`ve created net test project for project I need to test an it works now.