开发者

Loading web pages from msbuild

As the last step of my msbuild script I have to load a web page from the server I have just released and make sure it contains the correct version (it is enough to just check if the version is contained textually). Wha开发者_JS百科t is the easiest way to do it in msbuild?


MSBuild community tasks includes a web download task that can be used to download the file.

As for how to check the file content this depends on exactly what it is you are checking for - you could write a custom task to check the file contents, or you could run an external batch file / script to do the checking (or you might be able to use the ReadLinesFromFile task)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜