[GH-ISSUE #513] The type or namespace name `NLog' could not be found. #466

Closed
opened 2026-02-26 00:32:43 +03:00 by kerem · 2 comments
Owner

Originally created by @just-Bri on GitHub (Jul 11, 2018).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/513

Currently using Fedora 28, have updated mono-devel via http://www.mono-project.com/download/

FanControl.cs(1,7): error CS0246: The type or namespace name NLog' could not be found. Are you missing an assembly reference?
Plugins/FanControlPluginLoader.cs(1,7): error CS0246: The type or namespace name NLog' could not be found. Are you missing an assembly reference? FanControl.cs(39,33): error CS0246: The type or namespace name Logger' could not be found. Are you missing an assembly reference?
Plugins/FanControlPluginLoader.cs(12,33): error CS0246: The type or namespace name `Logger' could not be found. Are you missing an assembly reference?

 4 Warning(s)
 4 Error(s)`

Formatting of the error is a bit wonky.
Did some googling and NLog appears to be a .NET logging library. Not sure to install/update it on Fedora.

Originally created by @just-Bri on GitHub (Jul 11, 2018). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/513 Currently using Fedora 28, have updated mono-devel via http://www.mono-project.com/download/ `FanControl.cs(1,7): error CS0246: The type or namespace name `NLog' could not be found. Are you missing an assembly reference? Plugins/FanControlPluginLoader.cs(1,7): error CS0246: The type or namespace name `NLog' could not be found. Are you missing an assembly reference? FanControl.cs(39,33): error CS0246: The type or namespace name `Logger' could not be found. Are you missing an assembly reference? Plugins/FanControlPluginLoader.cs(12,33): error CS0246: The type or namespace name `Logger' could not be found. Are you missing an assembly reference? 4 Warning(s) 4 Error(s)` Formatting of the error is a bit wonky. Did some googling and NLog appears to be a .NET logging library. Not sure to install/update it on Fedora.
kerem 2026-02-26 00:32:43 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@yitro-z-wang commented on GitHub (Aug 23, 2018):

Hello,
I've met the exactly same problem. The root cause is that the latest version of nuget.exe fails to read dependencies from NoteBookFanControl.sln, which will leave critical packages uninstalled and then cause failures in building.
My workaround is to download nuget.exe manually from https://www.nuget.org/downloads (v4.1.0 works, haven't tried other versions). After it's downloaded, forget build.sh but just run:

# mono nuget.exe restore
# xbuild /t:Build /p:Configuration=ReleaseLinux NoteBookFanControl.sln

Now you can continue your installation : )

<!-- gh-comment-id:415378458 --> @yitro-z-wang commented on GitHub (Aug 23, 2018): Hello, I've met the exactly same problem. The root cause is that the latest version of nuget.exe fails to read dependencies from `NoteBookFanControl.sln`, which will leave critical packages uninstalled and then cause failures in building. My workaround is to download nuget.exe manually from https://www.nuget.org/downloads (v4.1.0 works, haven't tried other versions). After it's downloaded, forget `build.sh` but just run: ``` # mono nuget.exe restore # xbuild /t:Build /p:Configuration=ReleaseLinux NoteBookFanControl.sln ``` Now you can continue your installation : )
Author
Owner

@github-actions[bot] commented on GitHub (Nov 25, 2019):

This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed

<!-- gh-comment-id:557943420 --> @github-actions[bot] commented on GitHub (Nov 25, 2019): This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#466
No description provided.