Linux Build Failing (Fedora 30)
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?
Having the same problem with Fedora 30 like you. Did you find a solution ?
For what it's worth, the issue persists on fedora 31 too.
You can make it work by building it with docker (you still need the mono-complete package though to execute nbfc.exe)
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