[GH-ISSUE #730] Linux Build Failing (Fedora 30) #642

Closed
opened 2026-02-26 00:33:12 +03:00 by kerem · 4 comments
Owner

Originally created by @hacooke on GitHub (Jul 17, 2019).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/730

Running the build script in Fedora 30, having just installed the latest version of Mono in the repository, I get the following at the end of the output:

Build FAILED.

Warnings:

/home/harry/Apps/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/harry/Apps/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/harry/Apps/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/harry/Apps/nbfc/NoteBookFanControl.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.

/home/harry/Apps/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/harry/Apps/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.1.0.256, Culture=neutral, PublicKeyToken=96bf224d23c43e59, processorArchitecture=MSIL' not resolved

Errors:

/home/harry/Apps/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/harry/Apps/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?
	ConfigManager.cs(29,26): error CS0246: The type or namespace name `IFileSystem' could not be found. Are you missing an assembly reference?
	ConfigManager.cs(69,81): error CS0246: The type or namespace name `IFileSystem' could not be found. 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 an assembly reference?

	 5 Warning(s)
	 5 Error(s)

Time Elapsed 00:00:02.5938860
~/Apps/nbfc

The warnings seemed similar to Issue #56 so I followed the instructions there regarding downloading nuget and restoring the packages. When I run mono nuget.exe restore I get:

MSBuild auto-detection: using msbuild version '' from '/usr/bin'.
Error parsing solution file at /home/harry/Apps/nbfc/NoteBookFanControl.sln: Invalid Image

Running the build script again after this gives the same result as before.

Any advice?

Originally created by @hacooke on GitHub (Jul 17, 2019). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/730 Running the build script in Fedora 30, having just installed the latest version of Mono in the repository, I get the following at the end of the output: ``` Build FAILED. Warnings: /home/harry/Apps/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/harry/Apps/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/harry/Apps/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/harry/Apps/nbfc/NoteBookFanControl.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring. /home/harry/Apps/nbfc/NoteBookFanControl.sln (Build) -> (Build target) -> /home/harry/Apps/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.1.0.256, Culture=neutral, PublicKeyToken=96bf224d23c43e59, processorArchitecture=MSIL' not resolved Errors: /home/harry/Apps/nbfc/NoteBookFanControl.sln (Build) -> (Build target) -> /home/harry/Apps/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? ConfigManager.cs(29,26): error CS0246: The type or namespace name `IFileSystem' could not be found. Are you missing an assembly reference? ConfigManager.cs(69,81): error CS0246: The type or namespace name `IFileSystem' could not be found. 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 an assembly reference? 5 Warning(s) 5 Error(s) Time Elapsed 00:00:02.5938860 ~/Apps/nbfc ``` The warnings seemed similar to Issue #56 so I followed the instructions there regarding downloading nuget and restoring the packages. When I run `mono nuget.exe restore` I get: ``` MSBuild auto-detection: using msbuild version '' from '/usr/bin'. Error parsing solution file at /home/harry/Apps/nbfc/NoteBookFanControl.sln: Invalid Image ``` Running the build script again after this gives the same result as before. Any advice?
kerem 2026-02-26 00:33:12 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@yeboster commented on GitHub (Sep 16, 2019):

Having the same problem with Fedora 30 like you.
Did you find a solution ?

<!-- gh-comment-id:531842951 --> @yeboster commented on GitHub (Sep 16, 2019): Having the same problem with Fedora 30 like you. Did you find a solution ?
Author
Owner

@dastorm commented on GitHub (Sep 26, 2019):

For what it's worth, the issue persists on fedora 31 too.

<!-- gh-comment-id:535348116 --> @dastorm commented on GitHub (Sep 26, 2019): For what it's worth, the issue persists on fedora 31 too.
Author
Owner

@dastorm commented on GitHub (Sep 27, 2019):

You can make it work by building it with docker (you still need the mono-complete package though to execute nbfc.exe)

<!-- gh-comment-id:536019411 --> @dastorm commented on GitHub (Sep 27, 2019): You can make it work by building it with docker (you still need the mono-complete package though to execute nbfc.exe)
Author
Owner

@github-actions[bot] commented on GitHub (Mar 27, 2020):

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:604746971 --> @github-actions[bot] commented on GitHub (Mar 27, 2020): 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#642
No description provided.