walterlv / BlogComments

3 stars 0 forks source link

post/msbuild-generate-code-when-file-is-saved #82

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

编写你的专属 MSBuild C# 代码生成器:在保存文件时自动实时生成你的代码 - walterlv

编写你的专属 MSBuild C# 代码生成器:在保存文件时自动实时生成你的代码

https://blog.walterlv.com/post/msbuild-generate-code-when-file-is-saved.html

sak9188 commented 3 years ago

牛呀!!!

h82258652 commented 3 years ago

挺有意思,AvailableItemName 这个第一次知道,按着文章里的 csproj 试了下,修改 Test.txt,保存时没触发,只有编译时触发了。