我正在尝试使用nppPlugin.netV0.6模板开发Notepad ++插件.
从http://sourceforge.net/projects/sourcecookifier/files/other%20plugins/NppPlugin.NET.v0.6.zip/download下载
我有一个构建错误[ SDK path is empty.
]
相同的模板在其他系统(XP也)中工作.
谁能给我一个解决这个问题的方法?
构建过程调用程序ildasm.exe
.该程序的目录可能尚未添加到PATH
环境变量中.当我安装Visual Studio 2012 Express安装程序时,未添加目录,因此我将其添加到PATH
了构建成功的位置.
我通过增加构建过程写入的日志记录输出量来跟踪问题.(通过Tools => Options => Projects and Solutions => Build and run => MS Build ... verbosity.)
不确定您的错误是否相同.在将目录添加到PATH
以下错误之前生成了:
1>------ Rebuild All started: Project: NppManagedPluginDemo.VS2010, Configuration: Debug Any CPU ------ 1> NppManagedPluginDemo.VS2010 -> C:\Adrian\VS\NppPlugin.NET.v0.5\Demo Plugin\NppManagedPluginDemo\bin\Debug\Demo.dll 1> ILDasm: calling 'ildasm.exe' with /quoteallnames /unicode /nobar /linenum "/out:C:\Users\Adrian_2\AppData\Local\Temp\tmpAB1F\Demo.il" "C:\Adrian\VS\NppPlugin.NET.v0.5\Demo Plugin\NppManagedPluginDemo\bin\Debug\Demo.dll" 1>C:\Adrian\VS\NppPlugin.NET.v0.5\Demo Plugin\NppManagedPluginDemo\DllExport\NppPlugin.DllExport.targets(8,5): error : The system cannot find the file specified
我当前计算机的ildasm.exe
子目录有几个版本c:\Program Files (x86)\Microsoft SDKs\Windows\
.