NodeRT: could not find assembly

后端 未结 5 683
耶瑟儿~
耶瑟儿~ 2021-01-05 10:09

I am writing an electron app with electron-windows-notifications which is dependant on NodeRT.

As I try to install my project, I get following error for each of

5条回答
  •  失恋的感觉
    2021-01-05 10:56

    You need to match your installation of the Windows 10 SDK exactly with the required version of NodeRT.

    As recommended by some of the answers here, I installed various versions of the Windows 10 SDK and Visual Studio 2015 over the course of a few frustrating hours and still nothing.

    Finally, after a bit of research and coming across the official NodeRT page:

    https://github.com/NodeRT/NodeRT

    I saw it lists exactly which Windows 10 SDK you need for each version of nodert.

    Looking a bit closer at my exact error messages I saw it was complaining about nodert-win10-cu, so according to the above page I needed to install exactly the SDK Windows 10, Build 15063. After doing that it compiled like a charm, but only for that exact SDK version. Somehow of all the SDKs I installed, I did not install that exact one :).

    I hope this helps someone else for whom the other answers didn't work. They get you close, but the details are important -- match your installation of the Windows 10 SDK exactly with the required version of NodeRT using the above link.

提交回复
热议问题