I’m working on an application where I can get the CPU and GPU temperature. I followed the steps here (http://www.lattepanda.com/topic-f11t3004.html ) while developing the application, but I’m using VS Code and I couldn’t add the OpenHardwareMonitorLib.dll file as a reference like in Visual Studio. I’m not so sure how I should add the dll file to the project. I would be glad if you help. Here is my project files;
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
Don’t know way to do this with VSCode, but…
Not every tool is good for everything. I’ll try use Visual Studio 2022 Community to add this DLL. It should make changes to the project, which are independent of the editor you are using. Or do it manually like @hotdog_buns said. I hope it works.
You need to add a reference to any .dll files in your csTemp.csproj file as such: