[GH-ISSUE #285] Build Error #254

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

Originally created by @picarr on GitHub (Jul 9, 2017).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/285

Hello ,

i cloned the git hub package nfbc and try to buld it and become 5 errors. Maybe someone has an idea to solve it.

Build FAILED.

Warnings:

/home/ludi/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/ludi/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/ludi/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring.

/home/ludi/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/ludi/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.IO.Abstractions, Version=2.0.0.144, Culture=neutral, processorArchitecture=MSIL' not resolved

Errors:

/home/ludi/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/ludi/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

ConfigManager.cs(4,17): error CS0234: The type or namespace name 'Abstractions' does not exist in the namespace 'System.IO' (are you missing an assembly reference?)
FanControlConfigManager.cs(8,17): error CS0234: The type or namespace name 'Abstractions' does not exist in the namespace 'System.IO' (are you missing an assembly reference?)
FanControlConfigManager.cs(52,91): error CS0246: The type or namespace name 'IFileSystem' could not be found (are you missing a using directive or an assembly reference?)
ConfigManager.cs(29,17): error CS0246: The type or namespace name 'IFileSystem' could not be found (are you missing a using directive or an assembly reference?)
ConfigManager.cs(69,81): error CS0246: The type or namespace name 'IFileSystem' could not be found (are you missing a using directive or an assembly reference?)

 4 Warning(s)
 5 Error(s)

Time Elapsed 00:00:03.6885650

Originally created by @picarr on GitHub (Jul 9, 2017). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/285 Hello , i cloned the git hub package nfbc and try to buld it and become 5 errors. Maybe someone has an idea to solve it. Build FAILED. Warnings: /home/ludi/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/ludi/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/ludi/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring. /home/ludi/nbfc/NoteBookFanControl.sln (Build) -> (Build target) -> /home/ludi/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.IO.Abstractions, Version=2.0.0.144, Culture=neutral, processorArchitecture=MSIL' not resolved Errors: /home/ludi/nbfc/NoteBookFanControl.sln (Build) -> (Build target) -> /home/ludi/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) -> ConfigManager.cs(4,17): error CS0234: The type or namespace name 'Abstractions' does not exist in the namespace 'System.IO' (are you missing an assembly reference?) FanControlConfigManager.cs(8,17): error CS0234: The type or namespace name 'Abstractions' does not exist in the namespace 'System.IO' (are you missing an assembly reference?) FanControlConfigManager.cs(52,91): error CS0246: The type or namespace name 'IFileSystem' could not be found (are you missing a using directive or an assembly reference?) ConfigManager.cs(29,17): error CS0246: The type or namespace name 'IFileSystem' could not be found (are you missing a using directive or an assembly reference?) ConfigManager.cs(69,81): error CS0246: The type or namespace name 'IFileSystem' could not be found (are you missing a using directive or an assembly reference?) 4 Warning(s) 5 Error(s) Time Elapsed 00:00:03.6885650
kerem 2026-02-26 00:32:10 +03:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@jxjlearn commented on GitHub (Jul 10, 2017):

I had the exactly same errors.
I also tried to build the 1.5.0, and it was built successfully, but NO ReleaseLinux folder was generated.
OS: Ubuntu 16.04 LTS 64-bit.
Please help.

Thanks!

<!-- gh-comment-id:314008623 --> @jxjlearn commented on GitHub (Jul 10, 2017): I had the exactly same errors. I also tried to build the 1.5.0, and it was built successfully, but NO ReleaseLinux folder was generated. OS: Ubuntu 16.04 LTS 64-bit. Please help. Thanks!
Author
Owner

@hirschmann commented on GitHub (Jul 10, 2017):

Duplicate of issue #265

<!-- gh-comment-id:314179953 --> @hirschmann commented on GitHub (Jul 10, 2017): Duplicate of issue #265
Author
Owner

@jxjlearn commented on GitHub (Jul 11, 2017):

I think I installed the latest mono-complete, whose version is 5.0.1.1. But I still get the same error.

<!-- gh-comment-id:314321771 --> @jxjlearn commented on GitHub (Jul 11, 2017): I think I installed the latest mono-complete, whose version is 5.0.1.1. But I still get the same error.
Author
Owner

@jxjlearn commented on GitHub (Jul 11, 2017):

Actually the answer to issue#236 fix my problem.
i.e. to use the stable version (4.1.0) of nuget.exe
Thanks.

<!-- gh-comment-id:314342987 --> @jxjlearn commented on GitHub (Jul 11, 2017): Actually the answer to issue#236 fix my problem. i.e. to use the stable version (4.1.0) of nuget.exe Thanks.
Author
Owner

@picarr commented on GitHub (Jul 11, 2017):

Same over here i downloaded nuget.exe version 4.1.0 and it worked.

Thanks!!

<!-- gh-comment-id:314350663 --> @picarr commented on GitHub (Jul 11, 2017): Same over here i downloaded nuget.exe version 4.1.0 and it worked. Thanks!!
Author
Owner

@dr-monro commented on GitHub (Nov 2, 2020):

Met this problem when build with mono docker. Seems latest version of mono docker didn't contain wget. Solved by installing wget.

<!-- gh-comment-id:720464616 --> @dr-monro commented on GitHub (Nov 2, 2020): Met this problem when build with mono docker. Seems latest version of mono docker didn't contain wget. Solved by installing wget.
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#254
No description provided.