Microsoft Visual Studio* Integration
You can simplify the process of debugging code and tuning your application when both your application and tuning tools are available in the same interface.
Intel® VTune™
integrates into Microsoft Visual Studio* environment and enables you to create and tune your application within a single environment.
Profiler
Explore details on:
Support for Visual Studio* 2017 is deprecated as of the Intel® oneAPI 2022.1 release, and will be removed in a future release.
Integrate
VTune
Profiler into Visual Studio During Installation
VTune
into Visual Studio During Installation Profiler
VTune
integrates into Visual Studio by default. You specify the version of Visual Studio used for integration in the
Profiler
IDE Integration
portion of the installation wizard. If you have several versions of Visual Studio and want to instruct the installation wizard to use a specific version for integration, click the
Customize
link and specify the required version on the
Choose Integration Target
page. For example:

You can only integrate one version of
VTune
into Visual Studio IDE.
Profiler
Integrate
VTune
Profiler into Visual Studio After Installation
VTune
into Visual Studio After Installation Profiler
If you have already installed
VTune
and need to integrate it into Visual Studio IDE,
Profiler
- Open the installation wizard fromControl Panel > Programs and Features > Intel VTune.Profilerversion> Uninstall/Change
- Select theModifyoption.
- On theSelect Components to Modifywizard page, selectGraphical user interface.
- ClickNext.

On the
Choose Integration Target
page, specify the version of Visual Studio for integration by clicking
Customize
.

Open
VTune
Profiler in Visual Studio IDE
VTune
in Visual Studio IDE Profiler
Once you have integrated
VTune
in Visual Studio, open the IDE. The toolbar displays icons to start
Profiler
VTune
and profile with it.
Profiler

You can also access
VTune
from the
Profiler
Tools
menu in the IDE.
Load a project in the Solution Explorer window. Once you have compiled it, you can profile with
VTune
. When you click the
Profiler
Open
icon from the toolbar, the application opens to the
Welcome Page.
VTune
Profiler
The graphical interface of VTune Profiler integrated into Visual Studio is similar to the
standalone VTune Profiler interface.
Configure
VTune
Profiler for Visual Studio
VTune
for Visual Studio Profiler
To configure
) and select
VTune
options in the Visual Studio IDE, click the pulldown menu next to the
Profiler
Open
icon (VTune
Profiler

Options
:

- Use the General pane to configure general collection options such as application output destination, management of the collected raw data, and so on.
- Use the Result Location pane to specify the result name template that defines the name of the result file and its directory.
- Use the Source/Assembly pane to manage the source file cache and specify syntax for the disassembled code.
- Use the Privacy pane to opt in/out of collecting your information for the Intel® Software Improvement Program.
If you need to change environment settings, however, read the documentation provided for the Visual Studio product.
From the standalone interface, you can access
VTune
options via the
Profiler
File > Options...
menu.