[GH-ISSUE #141] Problems with compiling source #131

Closed
opened 2026-02-26 00:31:49 +03:00 by kerem · 11 comments
Owner

Originally created by @sauerlandtreffi on GitHub (Nov 17, 2016).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/141

Hi all,

I experienced problems in compiling the newest version of NBFC. I installed all the needed programs as described in the Wiki. The problem is, that the powershell closes itself and I can't copy the errors.

Do you have any clue why? Could someone compile it for me and send me the setup file?

I need the newest version for my new Lenovo Yoga 710 with i7 Kaby Lake. It's annyoing loud ;-)

Thank you in advance for your help! :-)

Originally created by @sauerlandtreffi on GitHub (Nov 17, 2016). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/141 Hi all, I experienced problems in compiling the newest version of NBFC. I installed all the needed programs as described in the Wiki. The problem is, that the powershell closes itself and I can't copy the errors. Do you have any clue why? Could someone compile it for me and send me the setup file? I need the newest version for my new Lenovo Yoga 710 with i7 Kaby Lake. It's annyoing loud ;-) Thank you in advance for your help! :-)
kerem closed this issue 2026-02-26 00:31:49 +03:00
Author
Owner

@shardrunner commented on GitHub (Nov 19, 2016):

I'm having the same problem. I could compile the program without issues a few month ago. I'm on the latest Windows 10.

<!-- gh-comment-id:261717240 --> @shardrunner commented on GitHub (Nov 19, 2016): I'm having the same problem. I could compile the program without issues a few month ago. I'm on the latest Windows 10.
Author
Owner

@shardrunner commented on GitHub (Nov 19, 2016):

"C:\Users\michi\Downloads\nbfc-master\nbfc-master\NoteBookFanControl.sln" (Build Ziel) (1) ->
"C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\Setup\NbfcSetup\NbfcSetup.wixproj" (Standardziel) (10) ->"C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\NbfcClient.csproj" (Standardziel) (17:2) ->"C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\yekess42.tmp_proj" (_CompileTemporaryAssembly Ziel) (19) ->(CoreCompile Ziel) -> ViewModels\FanControllerViewModel.cs(10,43): error CS0012: Der Typ "Object" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" hinzu. [C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\yekess42.tmp_proj] ViewModels\FanControllerViewModel.cs(101,30): error CS0012: Der Typ "Object" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" hinzu. [C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\yekess42.tmp_proj]

That's a part of the error. There are several lines of Der Typ "Object" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "System.Runtime ... following.

<!-- gh-comment-id:261718191 --> @shardrunner commented on GitHub (Nov 19, 2016): > "C:\Users\michi\Downloads\nbfc-master\nbfc-master\NoteBookFanControl.sln" (Build Ziel) (1) -> > "C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\Setup\NbfcSetup\NbfcSetup.wixproj" (Standardziel) (10) ->"C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\NbfcClient.csproj" (Standardziel) (17:2) ->"C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\yekess42.tmp_proj" (_CompileTemporaryAssembly Ziel) (19) ->(CoreCompile Ziel) -> ViewModels\FanControllerViewModel.cs(10,43): error CS0012: Der Typ "Object" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" hinzu. [C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\yekess42.tmp_proj] ViewModels\FanControllerViewModel.cs(101,30): error CS0012: Der Typ "Object" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" hinzu. [C:\Users\michi\Downloads\nbfc-master\nbfc-master\Windows\NbfcClient\yekess42.tmp_proj] That's a part of the error. There are several lines of `Der Typ "Object" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "System.Runtime ...` following.
Author
Owner

@hirschmann commented on GitHub (Nov 20, 2016):

@sauerlandtreffi
Did you just double-click the build script? I'm not sure if this works.
Try opening a new powershell session, navigate to the NBFC source directory and run the build script.

@DerFisc
Are you sure all the required packages (see https://github.com/hirschmann/nbfc/wiki/How-to-build-NBFC) - especially .net 4.5 - are installed on your system?

<!-- gh-comment-id:261812192 --> @hirschmann commented on GitHub (Nov 20, 2016): @sauerlandtreffi Did you just double-click the build script? I'm not sure if this works. Try opening a new powershell session, navigate to the NBFC source directory and run the build script. @DerFisc Are you sure all the required packages (see https://github.com/hirschmann/nbfc/wiki/How-to-build-NBFC) - especially .net 4.5 - are installed on your system?
Author
Owner

@shardrunner commented on GitHub (Nov 20, 2016):

Yes, I installed WiX Toolset and the MS Build Tools. I couldn't install the .Net Package because Windows 10 already comes with a newer version.

<!-- gh-comment-id:261813692 --> @shardrunner commented on GitHub (Nov 20, 2016): Yes, I installed WiX Toolset and the MS Build Tools. I couldn't install the .Net Package because Windows 10 already comes with a newer version.
Author
Owner

@hirschmann commented on GitHub (Nov 21, 2016):

I've updated the wiki.
Unfortunately you have to install Visual Studio (which is pretty huge) to build NBFC.

I know there is demand for the latest features, therefore I'm planning to provide beta builds regularly.

<!-- gh-comment-id:262042635 --> @hirschmann commented on GitHub (Nov 21, 2016): I've updated the wiki. Unfortunately you have to install Visual Studio (which is pretty huge) to build NBFC. I know there is demand for the latest features, therefore I'm planning to provide beta builds regularly.
Author
Owner

@sauerlandtreffi commented on GitHub (Nov 22, 2016):

Thank you @hirschmann for your help! It worked finally with Visual Studio installed.

With the newest Build I experienced problems, that NBFC is still not able to read the temperature of my Kaby Lake Processor.

I have the latest i7 7500u in my Lenovo Yoga 710. Is this problem already known?

<!-- gh-comment-id:262276721 --> @sauerlandtreffi commented on GitHub (Nov 22, 2016): Thank you @hirschmann for your help! It worked finally with Visual Studio installed. With the newest Build I experienced problems, that NBFC is still not able to read the temperature of my Kaby Lake Processor. I have the latest i7 7500u in my Lenovo Yoga 710. Is this problem already known?
Author
Owner

@hirschmann commented on GitHub (Nov 22, 2016):

The NBFC service must be at least in read-only mode, otherwise it will not do anything but listen for commands.

If this doesn't work, could you please post a CPU-Z screenshot of your CPU?

<!-- gh-comment-id:262285345 --> @hirschmann commented on GitHub (Nov 22, 2016): The NBFC service must be at least in read-only mode, otherwise it will not do anything but listen for commands. If this doesn't work, could you please post a CPU-Z screenshot of your CPU?
Author
Owner

@sauerlandtreffi commented on GitHub (Nov 23, 2016):

Hi @hirschmann
Yes, this was my fault, sorry. I forgot to install the new version, therefore the service didn't work. Now it works fine and is also working with the new yoga 710.
If you want me to upload the working config file please let me know where to upload it :-)

<!-- gh-comment-id:262516881 --> @sauerlandtreffi commented on GitHub (Nov 23, 2016): Hi @hirschmann Yes, this was my fault, sorry. I forgot to install the new version, therefore the service didn't work. Now it works fine and is also working with the new yoga 710. If you want me to upload the working config file please let me know where to upload it :-)
Author
Owner

@hirschmann commented on GitHub (Nov 23, 2016):

Great to hear you've got it working :)

If you are familiar with git, you can create a pull request.
Otherwise, please open a new issue and post the content of your config file.

<!-- gh-comment-id:262624383 --> @hirschmann commented on GitHub (Nov 23, 2016): Great to hear you've got it working :) If you are familiar with git, you can create a pull request. Otherwise, please open a new issue and post the content of your config file.
Author
Owner

@sauerlandtreffi commented on GitHub (Nov 24, 2016):

I did it now and hope, that it's okay for you: https://github.com/hirschmann/nbfc/issues/145 :-)

<!-- gh-comment-id:262750469 --> @sauerlandtreffi commented on GitHub (Nov 24, 2016): I did it now and hope, that it's okay for you: https://github.com/hirschmann/nbfc/issues/145 :-)
Author
Owner

@hirschmann commented on GitHub (Nov 24, 2016):

Thanks! 👍

<!-- gh-comment-id:262768302 --> @hirschmann commented on GitHub (Nov 24, 2016): Thanks! 👍
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#131
No description provided.