我对使用Refit和C#还很陌生。我正在尝试编辑我的RefitStub.g.cs页面,我看到一条消息:
/* ******** Hey You! *********
*
* This is a generated file, and gets rewritten every time you build the
* project. If you want to edit it, you need to edit the mustache template
* in the Refit package */我不确定如何以及在哪里编辑此胡子模板。
我已经通过Nuget引用了Refit。
发布于 2018-11-22 21:34:52
只需转到C:\Users\\{user}\\.nuget\packages\refit\\{version}\\build\\{platform},您应该会看到文件GeneratedInterfaceStubTemplate.mustache。
https://stackoverflow.com/questions/52438070
复制相似问题