Can MSBuild Evaluator be customized to read a different file format? - Stack Overflow

Going through MSBuild solution parser I see there is an Evaluator that initiates the build by parsing t

Going through MSBuild solution parser I see there is an Evaluator that initiates the build by parsing the solution (see also language interpretation parts). I'm curious if there is any way to extend MSBuild to implement a different evaluator, one that reads a custom file that serves as the solution file in my project, and build my own project AST.

My options I considered so far are:

  • use a valid MSBuild .proj file as my solution file format and then MSBuild can build it as any other valid MSBuild file (sort of how a .csproj file is both the project model file and also a valid MSBuild file)
  • use a custom tool that reads my solution file, creates a .proj file and calls MSBuild on the .proj file

I'm looking if there is a way to directly do MSBuild mysolution.file and have it work.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745518816a4631165.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信