I am trying to build an old C# project in VS Community 2017 and receive the following error:
C:\Users\shrout\source\repos\MyFirstNppPlugin\MyFirstNppPlugin\DllExport\NppPlugin.DllExport.targets : warning : Cannot find lib.exe in 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\\..\..\VC\bin'.
Community\VC\bin
directory and put lib.exe
into it the build progresses past this pointC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x64
Extra Info: I am trying to build a sample NotePad++ plugin from the following page:
As the error states, the reference is made from the NppPlugin.DllExport.targets
file, which in turn is referenced from your project.
Given it's a project file and not a system-wide file, you can simply change the reference path in the .targets
file.