让c# 能够使用c语言的预处理功能。 使用方法:创建一个名为AnyName.csh的文件,这个扩展会自动在该文件下创建一个名为AnyName.cs。 Let c# be able to use the preprocessing function of the c language. Instructions:Create a file named AnyName.csh, this extension will automatically create a file named AnyName.cs under the file. Like It:
will convert to
Reference:CppNet :https://github.com/xtravar/CppNet [Ver 2.0 Fix / Add 2020/8/18]Support Add Macro/Define From Project DefineConsts [Ver 2.1 Fix 2020/8/19]Fix name "CSPreProcesser"->"CSPreProcessor" 问题:如果不能自动创建*.cs文件,请选择任意文件, 并在该文件的属性面板的自定义工具上填写 ”CSPreprocessor“ 中文教程:https://gitee.com/fyindex/CSpreProcessor/issues/I1S1CT Issue:If the *.cs file cannot be created automatically, please select any file and fill in "CSPreprocessor" in the custom tool in the property panel of the file |