hirschmann / nbfc

NoteBook FanControl
Other
2.86k stars 485 forks source link

Errors building on Debian Sid #650

Closed gvlasov closed 4 years ago

gvlasov commented 5 years ago

I run build.sh, but Linux/bin directory is not created.

My setup:

$ sudo dpkg -l | grep mono-complete
ii  mono-complete                                               5.18.0.240+dfsg-2                   amd64        complete Mono runtime, development tools and all libraries

$ uname -a
Linux hostname 4.19.0-1-amd64 #1 SMP Debian 4.19.13-1 (2018-12-30) x86_64 GNU/Linux

Build log:

~/nbfc$ ./build.sh
MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

MSBUILD: error MSBUILD0004: Too many project files specified

WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.
Index was outside the bounds of the array.
Packages could not be restored. Updating NuGet.
--2019-02-26 21:11:37--  https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
Resolving dist.nuget.org (dist.nuget.org)... 152.199.19.160
Connecting to dist.nuget.org (dist.nuget.org)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5688608 (5.4M) [application/x-msdownload]
Saving to: ‘nuget.exe’

nuget.exe                                            100%[======================================================================================================================>]   5.42M   498KB/s    in 12s

2019-02-26 21:11:50 (449 KB/s) - ‘nuget.exe’ saved [5688608/5688608]

Mono Certificate Store Sync - version 5.18.0.240
Populate Mono certificate store from a concatenated list of certificates.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

Importing into legacy system store:
I already trust 131, your new list has 128
Import process completed.

Importing into BTLS system store:
I already trust 128, your new list has 128
Import process completed.
Unknown option or file not found '/etc/pki/tls/certs/ca-bundle.crt'.
Mono Certificate Store Sync - version 5.18.0.240
Populate Mono certificate store from a concatenated list of certificates.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

Usage: cert-sync [--quiet] [--user] system-ca-bundle.crt
Where system-ca-bundle.crt is in PEM format
MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

MSBUILD: error MSBUILD0004: Too many project files specified

WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.
Index was outside the bounds of the array.

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 5.18.0.240
Copyright (C) 2005-2013 Various Mono authors

Build started 2/26/2019 9:13:00 PM.
__________________________________________________
/home/suseika/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/suseika/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/suseika/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/suseika/nbfc/NoteBookFanControl.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
Project "/home/suseika/nbfc/NoteBookFanControl.sln" (Clean target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "ReleaseLinux|Any CPU".
        Target Clean:
                Project "/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj" (Clean target(s)):
                        Target CoreClean:
                                Deleting file '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs'
                                Deleting file '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll.mdb'
                                Deleting file '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll'
                                Deleting file '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll'
                                Deleting file '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll.mdb'
                                Deleting file '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.csproj.FilesWrittenAbsolute.txt'
                Done building project "/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj".
                Project "/home/suseika/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj" (Clean target(s)):
                        Target CoreClean:
                                Deleting file '/home/suseika/nbfc/Core/StagWare.BiosInfo/obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.BiosInfo/bin/Release/StagWare.BiosInfo.dll.mdb'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.BiosInfo/bin/Release/StagWare.BiosInfo.dll'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.BiosInfo/obj/Release/StagWare.BiosInfo.dll'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.BiosInfo/obj/Release/StagWare.BiosInfo.dll.mdb'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.BiosInfo/obj/Release/StagWare.BiosInfo.csproj.FilesWrittenAbsolute.txt'
                Done building project "/home/suseika/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj".
                Project "/home/suseika/nbfc/Core/StagWare.Settings/StagWare.Settings.csproj" (Clean target(s)):
                        Target CoreClean:
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Settings/obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Settings/bin/Release/StagWare.Settings.dll.mdb'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Settings/bin/Release/StagWare.Settings.dll'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Settings/obj/Release/StagWare.Settings.dll'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Settings/obj/Release/StagWare.Settings.dll.mdb'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Settings/obj/Release/StagWare.Settings.csproj.FilesWrittenAbsolute.txt'
                Done building project "/home/suseika/nbfc/Core/StagWare.Settings/StagWare.Settings.csproj".
                The project 'OpenHardwareMonitorLib' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                Project "/home/suseika/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj" (Clean target(s)):
                        Target CoreClean:
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Configurations/obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.BiosInfo.dll'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.BiosInfo.dll.mdb'
                                Deleting file '/home/suseika/nbfc/Core/StagWare.Configurations/obj/Release/StagWare.FanControl.Configurations.csproj.FilesWrittenAbsolute.txt'
                Done building project "/home/suseika/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj".
                The project 'DriverSetupWixAction' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                The project 'StagWare.Hardware' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                The project 'ConfigEditor' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                The project 'StagWare.Plugins.ECWindows' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                The project 'StagWare.Plugins.CpuTemperatureMonitor' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                The project 'NbfcClient' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                The project 'NbfcSetup' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                The project 'NbfcBootstrapper' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
Done building project "/home/suseika/nbfc/NoteBookFanControl.sln".

Build succeeded.

Warnings:

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

         4 Warning(s)
         0 Error(s)

Time Elapsed 00:00:00.7035680

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 5.18.0.240
Copyright (C) 2005-2013 Various Mono authors

Build started 2/26/2019 9:13:01 PM.
__________________________________________________
/home/suseika/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/suseika/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/suseika/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/suseika/nbfc/NoteBookFanControl.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
Project "/home/suseika/nbfc/NoteBookFanControl.sln" (Build target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "ReleaseLinux|Any CPU".
        Target Build:
                Project "/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj" (default target(s)):
                        Target PrepareForBuild:
                                Configuration: Release Platform: AnyCPU
                        Target GenerateSatelliteAssemblies:
                        No input files were specified for target GenerateSatelliteAssemblies, skipping.
                        Target CoreCompile:
                                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.Hardware.LPC.dll ../../../Common/CommonAssemblyInfo.cs EmbeddedControllerBase.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.5-api/System.dll /reference:/usr/lib/mono/4.5-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5-api/System.Data.dll /reference:/usr/lib/mono/4.5-api/System.Xml.dll /reference:/usr/lib/mono/4.5-api/System.Core.dll /reference:/usr/lib/mono/4.5-api//mscorlib.dll /warn:4
                        Target DeployOutputFiles:
                                Copying file from '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll.mdb' to '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll.mdb'
                                Copying file from '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll' to '/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll'
                Done building project "/home/suseika/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj".
                Project "/home/suseika/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj" (default target(s)):
                        Target PrepareForBuild:
                                Configuration: Release Platform: AnyCPU
                        Target GenerateSatelliteAssemblies:
                        No input files were specified for target GenerateSatelliteAssemblies, skipping.
                        Target CoreCompile:
                                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.BiosInfo.dll ../../Common/CommonAssemblyInfo.cs BiosInfo.cs BiosInfoLinux.cs BiosInfoWindows.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.5-api/System.dll /reference:/usr/lib/mono/4.5-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5-api/System.Data.dll /reference:/usr/lib/mono/4.5-api/System.Xml.dll /reference:/usr/lib/mono/4.5-api/System.Core.dll /reference:/usr/lib/mono/4.5-api//mscorlib.dll /warn:4
                        Target DeployOutputFiles:
                                Copying file from '/home/suseika/nbfc/Core/StagWare.BiosInfo/obj/Release/StagWare.BiosInfo.dll.mdb' to '/home/suseika/nbfc/Core/StagWare.BiosInfo/bin/Release/StagWare.BiosInfo.dll.mdb'
                                Copying file from '/home/suseika/nbfc/Core/StagWare.BiosInfo/obj/Release/StagWare.BiosInfo.dll' to '/home/suseika/nbfc/Core/StagWare.BiosInfo/bin/Release/StagWare.BiosInfo.dll'
                Done building project "/home/suseika/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj".
                Project "/home/suseika/nbfc/Core/StagWare.Settings/StagWare.Settings.csproj" (default target(s)):
                        Target PrepareForBuild:
                                Configuration: Release Platform: AnyCPU
                        Target GenerateSatelliteAssemblies:
                        No input files were specified for target GenerateSatelliteAssemblies, skipping.
                        Target CoreCompile:
                                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.Settings.dll ../../Common/CommonAssemblyInfo.cs DefaultValueAttribute.cs LoadSettingsFailedEventArgs.cs Properties/AssemblyInfo.cs RestoreDefaultsIgnoreAttribute.cs SettingsBase.cs SettingsService.cs XmlWrapper.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.5-api/System.dll /reference:/usr/lib/mono/4.5-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5-api/System.Data.dll /reference:/usr/lib/mono/4.5-api/System.Net.Http.dll /reference:/usr/lib/mono/4.5-api/System.Xml.dll /reference:/usr/lib/mono/4.5-api/System.Core.dll /reference:/usr/lib/mono/4.5-api//mscorlib.dll /warn:4
                        Target DeployOutputFiles:
                                Copying file from '/home/suseika/nbfc/Core/StagWare.Settings/obj/Release/StagWare.Settings.dll.mdb' to '/home/suseika/nbfc/Core/StagWare.Settings/bin/Release/StagWare.Settings.dll.mdb'
                                Copying file from '/home/suseika/nbfc/Core/StagWare.Settings/obj/Release/StagWare.Settings.dll' to '/home/suseika/nbfc/Core/StagWare.Settings/bin/Release/StagWare.Settings.dll'
                Done building project "/home/suseika/nbfc/Core/StagWare.Settings/StagWare.Settings.csproj".
                The project 'OpenHardwareMonitorLib' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
                Project "/home/suseika/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj" (default target(s)):
                        Target PrepareForBuild:
                                Configuration: Release Platform: AnyCPU
                        Target ResolveAssemblyReferences:
/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
                                For searchpath {CandidateAssemblyFiles}
                                Warning: {CandidateAssemblyFiles} not supported currently
                                For searchpath {HintPathFromItem}
                                Considered ../../packages/System.IO.Abstractions.2.1.0.256/lib/net40/System.IO.Abstractions.dll, but it does not exist.
                                For searchpath {TargetFrameworkDirectory}
                                Considered target framework dir /usr/lib/mono/4.5-api/, assembly named 'System.IO.Abstractions' not found.
                                Considered target framework dir /usr/lib/mono/4.5-api//Facades/, assembly named 'System.IO.Abstractions' not found.
                                For searchpath {PkgConfig}
                                Considered System.IO.Abstractions, Version=2.1.0.256, Culture=neutral, PublicKeyToken=96bf224d23c43e59, processorArchitecture=MSIL, but could not find in any pkg-config files.
                                For searchpath {GAC}
                                Considered System.IO.Abstractions, Version=2.1.0.256, Culture=neutral, PublicKeyToken=96bf224d23c43e59, processorArchitecture=MSIL, but could not find in the GAC.
                                For searchpath {RawFileName}
                                Considered 'System.IO.Abstractions, Version=2.1.0.256, Culture=neutral, PublicKeyToken=96bf224d23c43e59, processorArchitecture=MSIL' as a file, but the file does not exist
                                For searchpath bin/Release/
                                Considered '/home/suseika/nbfc/Core/StagWare.Configurations/bin/Release/System.IO.Abstractions' as a file, but the file does not exist
                                Considered '/home/suseika/nbfc/Core/StagWare.Configurations/bin/Release/System.IO.Abstractions.exe' as a file, but the file does not exist
                                Considered '/home/suseika/nbfc/Core/StagWare.Configurations/bin/Release/System.IO.Abstractions.dll' as a file, but the file does not exist
                        Target CopyFilesMarkedCopyLocal:
                                Copying file from '/home/suseika/nbfc/Core/StagWare.BiosInfo/bin/Release/StagWare.BiosInfo.dll' to '/home/suseika/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.BiosInfo.dll'
                                Copying file from '/home/suseika/nbfc/Core/StagWare.BiosInfo/bin/Release/StagWare.BiosInfo.dll.mdb' to '/home/suseika/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.BiosInfo.dll.mdb'
                        Target GenerateSatelliteAssemblies:
                        No input files were specified for target GenerateSatelliteAssemblies, skipping.
                        Target CoreCompile:
                                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.FanControl.Configurations.dll ../../Common/CommonAssemblyInfo.cs ConfigManager.cs ExtensionMethods/StringExtensionMethods.cs FanControlConfigManager.cs FanControlConfig.cs FanControlConfigV2.cs FanConfiguration.cs FanSpeedPercentageOverride.cs RegisterWriteConfiguration.cs RegisterWriteRequest.cs Properties/AssemblyInfo.cs TemperatureThreshold.cs Validation/FanControlConfigValidator.cs Validation/Rules/FanConfigurationsNotEmtpy.cs Validation/Rules/NoDuplicateTemperatureUpThresholds.cs Validation/Rules/MaxFanSpeedThresholdRequired.cs Validation/Rules/UpThresholdMayNotBeLowerThanDownThreshold.cs Validation/Rules/UpThresholdsMustBeLowerThanCriticalTemperature.cs Validation/Rules/ZeroFanSpeedThresholdRecommended.cs Validation/Validation.cs Validation/ValidationSummary.cs Validation/IValidationRule.cs Validation/Validator.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.5-api/System.dll /reference:/usr/lib/mono/4.5-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5-api/System.Data.dll /reference:/usr/lib/mono/4.5-api/System.Xml.dll /reference:/usr/lib/mono/4.5-api/System.Core.dll /reference:/home/suseika/nbfc/Core/StagWare.BiosInfo/bin/Release//StagWare.BiosInfo.dll /reference:/usr/lib/mono/4.5-api//mscorlib.dll /warn:4
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?
                        Task "Csc" execution -- FAILED
                        Done building target "CoreCompile" in project "/home/suseika/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj".-- FAILED
                Done building project "/home/suseika/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/home/suseika/nbfc/NoteBookFanControl.sln".-- FAILED
Done building project "/home/suseika/nbfc/NoteBookFanControl.sln".-- FAILED

Build FAILED.

Warnings:

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

/home/suseika/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/suseika/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/suseika/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/suseika/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:01.2331820
~/nbfc
wismill commented 5 years ago

Same issue with openSUSE Tumbleweed. I could not build it even with mono-complete installed. Then I tried using Docker and it worked!

github-actions[bot] commented 4 years ago

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