hirschmann / nbfc

NoteBook FanControl
Other
2.86k stars 485 forks source link

Linux Release Building Error #2

Closed irkonik closed 9 years ago

irkonik commented 9 years ago

I have build errors, too afraid to try it :laughing: Log below

Thank you! :+1:

[manjaro@manjaro nbfc]$ xbuild /target:Build /property:Configuration=ReleaseLinux NoteBookFanControl.sln 
XBuild Engine Version 12.0
Mono, Version 3.12.0.0
Copyright (C) 2005-2013 Various Mono authors

Build started 10.03.2015 13:16:14.
__________________________________________________
/home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/WCF/Microsoft.VisualStudio.ServiceModel.targets, to import. Ignoring.
/home/manjaro/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/manjaro/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/manjaro/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.
Project "/home/manjaro/nbfc/NoteBookFanControl.sln" (Build target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "ReleaseLinux|Any CPU".
    Target Build:
        Project "/home/manjaro/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
                Created directory "bin/Release/"
                Created directory "obj/Release/"
            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 ConfigManager.cs IFanControlConfig.cs FanControlConfigManager.cs RegisterWriteMode.cs FanControlConfig.cs FanControlConfigV2.cs FanConfiguration.cs FanSpeedPercentageOverride.cs RegisterWriteConfiguration.cs RegisterWriteRequest.cs Properties/AssemblyInfo.cs TemperatureThreshold.cs RegisterWriteFrequency.cs obj/Release/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/lib/mono/4.0/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Data.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /warn:4
            Target DeployOutputFiles:
                Copying file from '/home/manjaro/nbfc/Core/StagWare.Configurations/obj/Release/StagWare.FanControl.Configurations.dll.mdb' to '/home/manjaro/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.FanControl.Configurations.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/StagWare.Configurations/obj/Release/StagWare.FanControl.Configurations.dll' to '/home/manjaro/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.FanControl.Configurations.dll'
        Done building project "/home/manjaro/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj".
        Project "/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/OpenHardwareMonitorLib.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
                Created directory "Bin/Release/"
                Created directory "obj/Release/"
            Target CopyNonResxEmbeddedResources:
                Copying file from '/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/Hardware/WinRing0.sys' to '/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/obj/Release/OpenHardwareMonitor.Hardware.WinRing0.sys'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/Hardware/WinRing0x64.sys' to '/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/obj/Release/OpenHardwareMonitor.Hardware.WinRing0x64.sys'
            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- /optimize+ /out:obj/Release/OpenHardwareMonitorLib.dll /resource:obj/Release/OpenHardwareMonitor.Hardware.WinRing0.sys /resource:obj/Release/OpenHardwareMonitor.Hardware.WinRing0x64.sys Collections/Pair.cs Collections/RingCollection.cs Hardware/ATI/ADL.cs Hardware/ATI/ATIGPU.cs Hardware/ATI/ATIGroup.cs Hardware/Control.cs Hardware/FirmwareTable.cs Hardware/HDD/DebugSmart.cs Hardware/HDD/DriveAttributeValue.cs Hardware/HDD/DriveThresholdValue.cs Hardware/HDD/HDDGeneric.cs Hardware/HDD/ISmart.cs Hardware/HDD/SmartAttribute.cs Hardware/HDD/SmartNames.cs Hardware/HDD/RequireSmartAttribute.cs Hardware/HDD/NamePrefixAttribute.cs Hardware/HDD/SSDIndilinx.cs Hardware/HDD/SSDIntel.cs Hardware/HDD/SSDMicron.cs Hardware/HDD/SSDPlextor.cs Hardware/HDD/SSDSamsung.cs Hardware/HDD/SSDSandforce.cs Hardware/IControl.cs Hardware/IOControlCode.cs Hardware/Computer.cs Hardware/CPU/AMDCPU.cs Hardware/CPU/GenericCPU.cs Hardware/CPU/AMD0FCPU.cs Hardware/CPU/AMD10CPU.cs Hardware/CPU/CPUGroup.cs Hardware/CPU/CPUID.cs Hardware/CPU/CPULoad.cs Hardware/CPU/IntelCPU.cs Hardware/LPC/NCT677X.cs Hardware/Mainboard/GigabyteTAMG.cs Hardware/Mainboard/Identification.cs Hardware/Opcode.cs Hardware/OperatingSystem.cs Hardware/RAM/GenericRAM.cs Hardware/RAM/RAMGroup.cs Hardware/Ring0.cs Hardware/KernelDriver.cs Hardware/Hardware.cs Hardware/HDD/AbstractHarddrive.cs Hardware/HDD/HarddriveGroup.cs Hardware/HDD/WindowsSmart.cs Hardware/Heatmaster/Heatmaster.cs Hardware/Heatmaster/HeatmasterGroup.cs Hardware/IComputer.cs Hardware/Identifier.cs Hardware/IElement.cs Hardware/IGroup.cs Hardware/IHardware.cs Hardware/IParameter.cs Hardware/ISensor.cs Hardware/IVisitor.cs Hardware/LPC/Chip.cs Hardware/LPC/F718XX.cs Hardware/LPC/ISuperIO.cs Hardware/LPC/IT87XX.cs Hardware/LPC/LMSensors.cs Hardware/LPC/LPCIO.cs Hardware/LPC/W836XX.cs Hardware/Mainboard/Mainboard.cs Hardware/Mainboard/MainboardGroup.cs Hardware/Mainboard/Manufacturer.cs Hardware/Mainboard/Model.cs Hardware/SMBIOS.cs Hardware/Mainboard/SuperIOHardware.cs Hardware/Nvidia/NVAPI.cs Hardware/Nvidia/NvidiaGPU.cs Hardware/Nvidia/NvidiaGroup.cs Hardware/Parameter.cs Hardware/Sensor.cs Hardware/SensorVisitor.cs Hardware/TBalancer/FTD2XX.cs Hardware/TBalancer/TBalancer.cs Hardware/TBalancer/TBalancerGroup.cs Hardware/ISettings.cs Hardware/HexStringArray.cs Collections/IReadOnlyArray.cs Collections/ListSet.cs Hardware/PInvokeDelegateFactory.cs Collections/ReadOnlyArray.cs Properties/AssemblyLibInfo.cs Properties/AssemblyVersion.cs Hardware/ThreadAffinity.cs obj/Release/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Management.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /warn:4
Hardware/Ring0.cs(35,11): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Ring0.IOCTL_OLS_GET_REFCOUNT' is assigned but its value is never used
Hardware/Ring0.cs(37,11): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Ring0.IOCTL_OLS_GET_DRIVER_VERSION' is assigned but its value is never used
Hardware/LPC/LMSensors.cs(107,22): warning CS0414: The private field `OpenHardwareMonitor.Hardware.LPC.LMSensors.LMChip.path' is assigned but its value is never used
Hardware/SMBIOS.cs(22,34): warning CS0414: The private field `OpenHardwareMonitor.Hardware.SMBIOS.table' is assigned but its value is never used
Hardware/Mainboard/SuperIOHardware.cs(40,28): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Mainboard.SuperIOHardware.mutex' is assigned but its value is never used
            Target DeployOutputFiles:
                Copying file from '/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/obj/Release/OpenHardwareMonitorLib.dll' to '/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/Bin/Release/OpenHardwareMonitorLib.dll'
        Done building project "/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/OpenHardwareMonitorLib.csproj".
        Project "/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
                Created directory "bin/Release/"
                Created directory "obj/Release/"
            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 EmbeddedControllerBase.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/lib/mono/4.0/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Data.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /warn:4
            Target DeployOutputFiles:
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll.mdb' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll'
        Done building project "/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj".
        The project 'StagWare.BiosInfo' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
        Project "/home/manjaro/nbfc/Core/StagWare.FanControl/StagWare.FanControl.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
                Created directory "bin/Release/"
                Created directory "obj/Release/"
            Target CopyFilesMarkedCopyLocal:
                Copying file from '/home/manjaro/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.FanControl.Configurations.dll' to '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.Configurations.dll'
                Copying file from '/home/manjaro/nbfc/Core/StagWare.Configurations/bin/Release/StagWare.FanControl.Configurations.dll.mdb' to '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.Configurations.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.dll ArithmeticMeanTemperatureFilter.cs FanControl.cs FanInformation.cs FanSpeedManager.cs ITemperatureFilter.cs Plugins/FanControlMetadataAttribute.cs Plugins/FanControlPluginLoader.cs Plugins/IEmbeddedController.cs Plugins/IFanControlPluginMetadata.cs Plugins/ITemperatureMonitor.cs TemperatureThresholdManager.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.ComponentModel.Composition.dll /reference:/usr/lib/mono/4.0/System.Management.dll /reference:/usr/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/lib/mono/4.0/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Data.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/home/manjaro/nbfc/Core/StagWare.Configurations/bin/Release//StagWare.FanControl.Configurations.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /warn:4
            Target DeployOutputFiles:
                Copying file from '/home/manjaro/nbfc/Core/StagWare.FanControl/obj/Release/StagWare.FanControl.dll.mdb' to '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/StagWare.FanControl/obj/Release/StagWare.FanControl.dll' to '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.dll'
        Done building project "/home/manjaro/nbfc/Core/StagWare.FanControl/StagWare.FanControl.csproj".
        Project "/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/StagWare.Hardware.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
                Created directory "bin/Release/"
                Created directory "obj/Release/"
            Target CopyFilesMarkedCopyLocal:
                Copying file from '/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/Bin/Release/OpenHardwareMonitorLib.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/bin/Release/OpenHardwareMonitorLib.dll'
            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.dll HardwareMonitor.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/lib/mono/4.0/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Data.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/Bin/Release//OpenHardwareMonitorLib.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /warn:4
            Target DeployOutputFiles:
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/obj/Release/StagWare.Hardware.dll.mdb' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/bin/Release/StagWare.Hardware.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/obj/Release/StagWare.Hardware.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/bin/Release/StagWare.Hardware.dll'
        Done building project "/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/StagWare.Hardware.csproj".
        The project 'ConfigEditor' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
        The project 'DriverSetupWixAction' is disabled for solution configuration 'ReleaseLinux|Any CPU'.
/home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj: error : /home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj: /home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj could not import "$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\WCF\Microsoft.VisualStudio.ServiceModel.targets"
        Project "/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/StagWare.Plugins.ECWindows.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
                Created directory "bin/Release/"
                Created directory "obj/Release/"
            Target CopyFilesMarkedCopyLocal:
                Copying file from '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.FanControl.dll'
                Copying file from '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.dll.mdb' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.FanControl.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.Hardware.LPC.dll'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll.mdb' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.Hardware.LPC.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/bin/Release/StagWare.Hardware.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.Hardware.dll'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/bin/Release/StagWare.Hardware.dll.mdb' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.Hardware.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.Configurations.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.FanControl.Configurations.dll'
                Copying file from '/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release/StagWare.FanControl.Configurations.dll.mdb' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.FanControl.Configurations.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/bin/Release/OpenHardwareMonitorLib.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/OpenHardwareMonitorLib.dll'
            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.Plugins.ECWindows.dll ECWindows.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.ComponentModel.Composition.dll /reference:/usr/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/lib/mono/4.0/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Data.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/home/manjaro/nbfc/Core/StagWare.FanControl/bin/Release//StagWare.FanControl.dll /reference:/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release//StagWare.Hardware.LPC.dll /reference:/home/manjaro/nbfc/Core/Plugins/StagWare.Hardware/bin/Release//StagWare.Hardware.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /warn:4
            Target DeployOutputFiles:
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/obj/Release/StagWare.Plugins.ECWindows.dll.mdb' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.Plugins.ECWindows.dll.mdb'
                Copying file from '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/obj/Release/StagWare.Plugins.ECWindows.dll' to '/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/bin/Release/StagWare.Plugins.ECWindows.dll'
        Done building project "/home/manjaro/nbfc/Core/Plugins/StagWare.Plugins.ECWindows/StagWare.Plugins.ECWindows.csproj".
    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/home/manjaro/nbfc/NoteBookFanControl.sln".-- FAILED
Done building project "/home/manjaro/nbfc/NoteBookFanControl.sln".-- FAILED

Build FAILED.

Warnings:

/home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/WCF/Microsoft.VisualStudio.ServiceModel.targets, to import. Ignoring.
/home/manjaro/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/manjaro/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/manjaro/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/manjaro/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/OpenHardwareMonitorLib.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    Hardware/Ring0.cs(35,11): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Ring0.IOCTL_OLS_GET_REFCOUNT' is assigned but its value is never used
    Hardware/Ring0.cs(37,11): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Ring0.IOCTL_OLS_GET_DRIVER_VERSION' is assigned but its value is never used
    Hardware/LPC/LMSensors.cs(107,22): warning CS0414: The private field `OpenHardwareMonitor.Hardware.LPC.LMSensors.LMChip.path' is assigned but its value is never used
    Hardware/SMBIOS.cs(22,34): warning CS0414: The private field `OpenHardwareMonitor.Hardware.SMBIOS.table' is assigned but its value is never used
    Hardware/Mainboard/SuperIOHardware.cs(40,28): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Mainboard.SuperIOHardware.mutex' is assigned but its value is never used

Errors:

/home/manjaro/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->

    /home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj: error : /home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj: /home/manjaro/nbfc/Core/StagWare.FanControl.Service/StagWare.FanControl.Service.csproj could not import "$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\WCF\Microsoft.VisualStudio.ServiceModel.targets"

     9 Warning(s)
     1 Error(s)

Time Elapsed 00:00:05.9298300
hirschmann commented 9 years ago

Comment out (or remove) the following line from nbfc\Core\StagWare.FanControl.Service\StagWare.FanControl.Service.csproj:

<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\WCF\Microsoft.VisualStudio.ServiceModel.targets" />

Then try to build it again.

irkonik commented 9 years ago
Build succeeded.

Warnings:

/home/manjaro/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/manjaro/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/manjaro/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.

     3 Warning(s)
     0 Error(s)

Time Elapsed 00:00:06.6866950

I'll try it now :+1:

hirschmann commented 9 years ago

I decided to skip WCF config validation on build, because it is not really neccessary: 113b4c1e65b8f85f851ad4d47c26959b3732b40f

irkonik commented 9 years ago

Not necessary to reopen, just some new stuff after updating the files More Warnings:

Build succeeded.

Warnings:

/home/manjaro/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/manjaro/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/manjaro/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/manjaro/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/manjaro/nbfc/Core/Plugins/OpenHardwareMonitor/OpenHardwareMonitorLib.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    Hardware/Ring0.cs(35,11): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Ring0.IOCTL_OLS_GET_REFCOUNT' is assigned but its value is never used
    Hardware/Ring0.cs(37,11): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Ring0.IOCTL_OLS_GET_DRIVER_VERSION' is assigned but its value is never used
    Hardware/LPC/LMSensors.cs(107,22): warning CS0414: The private field `OpenHardwareMonitor.Hardware.LPC.LMSensors.LMChip.path' is assigned but its value is never used
    Hardware/SMBIOS.cs(22,34): warning CS0414: The private field `OpenHardwareMonitor.Hardware.SMBIOS.table' is assigned but its value is never used
    Hardware/Mainboard/SuperIOHardware.cs(40,28): warning CS0414: The private field `OpenHardwareMonitor.Hardware.Mainboard.SuperIOHardware.mutex' is assigned but its value is never used

     8 Warning(s)
     0 Error(s)

Also, if I use $ mono nbfc.exe load "something something" it says: connection refused I tried "something\ something", also with the file extension, but it just does not accept anything.

Might not be a problem with the task above, since the service process does not keep running, as I can't find
start-nbfcservice.sh in my running tasks.

If there are logs, where do I find them?

hirschmann commented 9 years ago

You can ignore those warnings. All the stuff in nbfc/Windows (Setup, GUI) cannot be built on Linux and is excluded in the 'ReleaseLinux' build configuration anyway. The unused private fields will in fact be used if you run the code on Windows.

connection refused means the service is not running (note to self: write more meaningful error messages :wink:). nbfc.exe load expects the config file name without extension.

start-nbfcservice.sh runs NbfcService.exe via mono-service, so you have to search for NbfcService.

mono-service logs to var/log/syslog.

irkonik commented 9 years ago

# start-nbfcservice.sh seems to crash pretty much instantaneously, since I can't find anything at all, even if I try $ sudo ./start-nbfcservice.sh && ps -A > ps_nbfc.txt && gedit ps_nbfc.txt
The only process remotely related to this would be "mono", which dies pretty much the moment after this.

Since I run systemd I don't have a syslog there :wink: $ journalctl shows a ton of info, but nothing related to mono or nbfc in any kind, which is really odd. :panda_face: I really need to get into C#

EDIT: Okay, start-nbfcservice.sh is "wrong", as in it says: mono-service -m:NbfcService -l:/root/nbfcservice-lock "$(dirname -- "$0")/NbfcService.exe". If I execute it by hand, so sudo mono-service -m:NbfcService -l:/root/nbfcservice-lock "/home/manjaro/nbfc/Linux/bin/ReleaseLinux/NbfcService.exe" then it works, then I also can use the mono nbfc.exe set command, the profiles not so much, but I gotta look into it.

hirschmann commented 9 years ago

I guess you didn't use the start-nbfcservice.sh in the ReleaseLinux folder, but the one in /home/manjaro/nbfc/Linux?!

Also ps -A does not list NbfcService, because it is not attached to a terminal. Try ps -ax | grep NbfcService instead.

irkonik commented 9 years ago

Ah, shite, I never looked at the script properly, my bad. Obviously I should use the script in the proper directory. The only way the process starts is if I type it by hand or "hard code" the path to the exe, which shouldn't be necessary, since you use "$(dirname -- "$0")/NbfcService.exe". It's really really weird. What makes it even weirder is, that the service now doesn't stay alive at all. Before the last reboot, I was able to set a value via set, but now it always says Connection refused.

Edit: [manjaro@manjaro ReleaseLinux]$ ps -ax | grep NbfcService 4584 pts/1 S+ 0:00 grep --color=tty -d skip NbfcService Weird.