开发者

Progress of Build in Visual Studio

开发者 https://www.devze.com 2022-12-19 14:18 出处:网络
I wa开发者_如何学JAVAs thinking about writing a plugin for Visual Studio and I want to know whether it is possible to know the time left (May not be prefect but atleast approximate) for the build proc

I wa开发者_如何学JAVAs thinking about writing a plugin for Visual Studio and I want to know whether it is possible to know the time left (May not be prefect but atleast approximate) for the build process to complete?


Unfortunately, there is no estimated remaining time in the build system. Other systems like TeamCity usually store metadata about build times and keep a rolling average so as the build/project changes, the expected time to completion can be adjusted accordingly.

You'll probably need your plugin to keep that data somehow alongside the project/solution rather than specifically in the plugin since folder paths could change, if the project is in source control it could be checked out elsewhere, etc. Unless, of course, you're not planning on keeping the data across VS restarts.


Best way seems to be - measure first build time of solution and then compare current one with it.

No ideas about technical side how to do that.

0

精彩评论

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