最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论