Visual Studio,如何输出构建时间?

时间:2023-01-14 22:53:17

I'm using visual studio 2005. I rememeber in the back of my mind there's a way to output the time taken to build a given project.

我正在使用visual studio 2005.我记得在脑海中有一种方法可以输出构建给定项目所需的时间。

Can anyone remember what that switch is?

谁能记住那个开关是什么?

Thanks Rich

2 个解决方案

#1


Tools -> Options -> Projects and Solutions -> VC++ Project Settings -> Build Timing

工具 - >选项 - >项目和解决方案 - > VC ++项目设置 - >构建时间

should work.

EDIT: My bad, thats VS2008 :(

编辑:我的坏,多数民众赞成VS2008 :(

In 2005 you might get the build times by changing MSBuild output verbosity to Detailed or Diagnostic from Tools -> Options -> Projects and Solutions -> Build & Run

在2005年,您可以通过将MSBuild输出详细程度更改为详细或诊断工具 - >选项 - >项目和解决方案 - >构建和运行来获得构建时间

#2


You can use a visual studio Macro to show the exact time it takes to build a solution. Have a look at this answer: Awesome Visual Studio Macros

您可以使用Visual Studio Macro来显示构建解决方案所需的确切时间。看看这个答案:很棒的Visual Studio宏

#1


Tools -> Options -> Projects and Solutions -> VC++ Project Settings -> Build Timing

工具 - >选项 - >项目和解决方案 - > VC ++项目设置 - >构建时间

should work.

EDIT: My bad, thats VS2008 :(

编辑:我的坏,多数民众赞成VS2008 :(

In 2005 you might get the build times by changing MSBuild output verbosity to Detailed or Diagnostic from Tools -> Options -> Projects and Solutions -> Build & Run

在2005年,您可以通过将MSBuild输出详细程度更改为详细或诊断工具 - >选项 - >项目和解决方案 - >构建和运行来获得构建时间

#2


You can use a visual studio Macro to show the exact time it takes to build a solution. Have a look at this answer: Awesome Visual Studio Macros

您可以使用Visual Studio Macro来显示构建解决方案所需的确切时间。看看这个答案:很棒的Visual Studio宏