我使用emacs编写和编译C#项目。
我的项目文件夹包含:
--\test
----Helloworld.cs
----make.bat
如果我要打开Helloworld.cs文件并在emacs中输入M-x compile,那么emacs会为我编译项目。
但是,如果我的项目文件夹结构如下所示:
--\test
----\src
------Helloworld.cs
----make.bat
我打开一个名为Helloworld.cs的文件,并在缓冲区中输入M-x compile,但是emacs找不到make.bat。
我必须在minibuffer中为“编译命令”指定make.bat的位置。
欢迎任何帮助。