You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all applications can use every project type. For example, document-level projects are available only for Microsoft Office Word and Microsoft Office Excel. Similarly, some features are available only for certain types of projects or applications. For example, the actions pane is available only in document-level projects, and Ribbon extensions are available only for some applications. For more information about the different project types, see [Office solutions development overview (VSTO)](../vsto/office-solutions-development-overview-vsto.md).
34
34
35
35
> [!NOTE]
36
-
> Office project templates are available only in some editions of Visual Studio. For more information, see [Configure a computer to develop Office solutions](../vsto/configuring-a-computer-to-develop-office-solutions.md).
36
+
> Office project templates are available only in some editions of Visual Studio. For more information, see [Configure a computer to develop Office solutions](../vsto/how-to-configure-a-computer-to-develop-office-solutions.md).
37
37
38
38
## Project types available for different Microsoft Office applications
39
39
The following table shows the applications that you can use with each project type.
Describes which applications and projects are required to use Office development features such as Ribbon extensibility, custom task panes, actions panes, and form regions.
36
36
37
-
-[Configure a computer to develop Office solutions](../vsto/configuring-a-computer-to-develop-office-solutions.md)
37
+
-[Configure a computer to develop Office solutions](../vsto/how-to-configure-a-computer-to-develop-office-solutions.md)
38
38
39
39
Provides information and steps for installing the Office development tools, the runtime that enables Office solutions to run on end-user computers, and the Office primary interop assemblies.
To configure a development computer so that you can use the Microsoft Office developer tools in Visual Studio, follow the instructions in this topic. You must have administrative privileges on the development computer to perform these steps.
22
21
23
-
### To configure the development computer
22
+
To configure a development computer so that you can use the Microsoft Office developer tools in Visual Studio, follow the instructions in this topic. You must have administrative privileges on the development computer to perform these steps.
24
23
25
-
1. Install a version of Visual Studio that includes the Office developer tools. The Office developer tools are installed by default. If you customize the Visual Studio installation by selecting which features to install, make sure that **Microsoft Office Developer Tools** is selected during setup. For more information about the versions of Visual Studio that include the Office developer tools, see [Configure a computer to develop Office solutions](../vsto/configuring-a-computer-to-develop-office-solutions.md).
24
+
## Requirements
26
25
27
-
2. Install a version of Office that is supported by the Office developer tools in Visual Studio. For more information, see [Configure a computer to develop Office solutions](../vsto/configuring-a-computer-to-develop-office-solutions.md).
26
+
The following versions of Visual Studio, the .NET Framework, and Microsoft Office are supported.
28
27
29
-
Make sure that you also install the PIAs for the version of Office that you install. The PIAs are installed with Office by default. If you modify Office setup, make sure that the **.NET Programmability Support** feature is selected for the applications you want to target.
28
+
|Software|Supported versions|
29
+
|--------------|------------------------|
30
+
|Visual Studio 2017| Any edition with the **Office/SharePoint development** workload.|
31
+
|.NET Framework|- The .NET Framework 4 or later.|
32
+
|Microsoft Office|<ul><li>Any suite edition of Office including Microsoft 365 apps for enterprise.</li><li>Any of the following standalone applications:<br /><br /> <ul><li>Excel</li><li>InfoPath (Office 2013 and Office 2010 only)</li><li>Outlook</li><li>PowerPoint</li><li>Project</li><li>Visio</li><li>Word</li></ul></li></ul><br /> Visual Basic for Applications (VBA) must be installed as part of Office. **Important:** Click-to-Run versions of Office 2010 applications are not supported.|
30
33
31
-
3. If you have an English version of Visual Studio but use non-English settings for Windows, you can install the Visual Studio Tools for Office runtime language pack to see Visual Studio Tools for Office runtime messages in the same language as Windows. Non-English versions of Visual Studio automatically install the language pack.
34
+
## Configure the development computer
35
+
36
+
1. Install a version of Visual Studio that includes the Office developer tools. The Office developer tools are installed by default. If you customize the Visual Studio installation by selecting which features to install, make sure that **Microsoft Office Developer Tools** is selected during setup.
37
+
38
+
2. Install a version of Office that is supported by the Office developer tools in Visual Studio.
39
+
40
+
Make sure that you also install the PIAs for the version of Office that you install. The PIAs are installed with Office by default. If you modify Office setup, make sure that the **.NET Programmability Support** feature is selected for the applications you want to target.
41
+
42
+
3. If you have an English version of Visual Studio but use non-English settings for Windows, you can install the [Visual Studio Tools for Office runtime language pack](https://www.microsoft.com/en-us/download/details.aspx?id=105672) to see Visual Studio Tools for Office runtime messages in the same language as Windows. Non-English versions of Visual Studio automatically install the language pack. The language pack is available from the [Microsoft download center](https://www.microsoft.com/en-us/download/).
43
+
44
+
## If project templates don't appear or they don't work in Visual Studio
45
+
46
+
If you install a supported version of Visual Studio, the .NET Framework, and Microsoft Office, but Office project templates either don't appear in the Visual Studio **New Project** dialog box, or you receive an error when you try to use one, check the following:
47
+
48
+
- Ensure that you have the Microsoft Office developer tools installed on your computer.
49
+
50
+
Office developer tools are an optional component of Visual Studio, but they are installed automatically along with Visual Studio. If you customize the Visual Studio installation by specifying which features to install, make sure that you choose **Microsoft Office Developer Tools** during setup to install the tools.
51
+
52
+
To make sure that these tools are installed, start the Visual Studio setup program, and choose the **Modify** button. Select the **Microsoft Office Developer Tools** check box, and then choose the **Update** button.
53
+
54
+
- Make sure that you're not running a version of Office that was delivered by Click-to-Run. See [How to: Verify whether Outlook is a Click-to-Run application on a computer](/previous-versions/office/developer/office-2010/ff864733(v=office.14)).
55
+
56
+
- Ensure that you're running only one version of Microsoft Office.
57
+
58
+
If you continue to experience problems, see [Additional support for errors in Office solutions](../vsto/additional-support-for-errors-in-office-solutions.md).
32
59
33
60
## See also
34
61
35
62
-[Get started (Office development in Visual Studio)](../vsto/getting-started-office-development-in-visual-studio.md)
36
63
-[How to: Install the Visual Studio Tools for Office runtime redistributable](../vsto/how-to-install-the-visual-studio-tools-for-office-runtime-redistributable.md)
37
64
-[How to: Install Office primary interop assemblies](../vsto/how-to-install-office-primary-interop-assemblies.md)
65
+
-[Features available by Office application and project type](../vsto/features-available-by-office-application-and-project-type.md)
An edition of Visual Studio that includes the Microsoft Office developer tools. For more information, see [Configure a computer to develop Office solutions](../../vsto/configuring-a-computer-to-develop-office-solutions.md).
1
+
An edition of Visual Studio that includes the Microsoft Office developer tools. For more information, see [Configure a computer to develop Office solutions](../../vsto/how-to-configure-a-computer-to-develop-office-solutions.md).
Visual Studio cannot find the Microsoft Office application that corresponds to the project type. If you are developing a VSTO Add-in project, it means that you cannot debug or run the project. If you are trying to create a document-level project, this means that you cannot create the project.
19
+
Visual Studio can't find the Microsoft Office application that corresponds to the project type. If you're developing a VSTO Add-in project, it means that you can't debug or run the project. If you're trying to create a document-level project, this message means that you can't create the project.
20
20
21
21
## To correct the error
22
22
23
-
1. Install the Microsoft Office application associated with the project type, including the primary interop assemblies. For more information about supported versions of Microsoft Office, see [Configure a computer to develop Office solutions](../vsto/configuring-a-computer-to-develop-office-solutions.md).
23
+
1. Install the Microsoft Office application associated with the project type, including the primary interop assemblies. For more information about supported versions of Microsoft Office, see [Configure a computer to develop Office solutions](../vsto/how-to-configure-a-computer-to-develop-office-solutions.md).
24
24
25
25
## See also
26
+
26
27
-[Configure a computer to develop Office solutions](../vsto/configuring-a-computer-to-develop-office-solutions.md)
27
28
-[How to: Configure a computer to develop Office solutions](../vsto/how-to-configure-a-computer-to-develop-office-solutions.md)
Copy file name to clipboardExpand all lines: docs/vsto/office-primary-interop-assemblies.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ For Visual Studio 2017 and later, these copies of the PIAs are installed to foll
67
67
68
68
### Primary interop assemblies in the global assembly cache
69
69
70
-
To perform certain development tasks, the PIAs must be installed and registered in the global assembly cache on the development computer. Typically, the PIAs are installed automatically when you install Office on the development computer. For more information, see [Configure a computer to develop Office solutions](../vsto/configuring-a-computer-to-develop-office-solutions.md).
70
+
To perform certain development tasks, the PIAs must be installed and registered in the global assembly cache on the development computer. Typically, the PIAs are installed automatically when you install Office on the development computer. For more information, see [Configure a computer to develop Office solutions](../vsto/how-to-configure-a-computer-to-develop-office-solutions.md).
71
71
72
72
The Office PIAs aren't required on end-user computers to run Office solutions. For more information, see [Design and create Office solutions](../vsto/designing-and-creating-office-solutions.md).
73
73
@@ -88,7 +88,7 @@ If you've installed and registered the PIAs in the global assembly cache, these
88
88
89
89
## Primary interop assemblies for Microsoft Office applications
90
90
91
-
The following table lists the primary interop assemblies that are available for Office 2016 , Office 2013 and Office 2010.
91
+
The following table lists the primary interop assemblies that are available for Office 2016, Office 2013, and Office 2010.
92
92
93
93
<br/>
94
94
@@ -108,7 +108,7 @@ The following table lists the primary interop assemblies that are available for
|Microsoft Smart Tags 2.0 Type Library **Note:** Smart tags are deprecated in Excel 2010 and Word 2010.|Microsoft.Office.Interop.SmartTag.dll|
111
+
|Microsoft Smart Tags 2.0 Type Library **Note:** Smart tags are deprecated in Excel 2010 and Word 2010.|Microsoft.Office.Interop.SmartTag.dll|
112
112
|Microsoft Visio 14.0 Type Library<br /><br /> Microsoft Visio 15.0 Type Library|Microsoft.Office.Interop.Visio.dll|
113
113
|Microsoft Visio 14.0 Save As Web Type Library<br /><br /> Microsoft Visio 15.0 Save As Web Type Library|Microsoft.Office.Interop.Visio.SaveAsWeb.dll|
114
114
|Microsoft Visio 14.0 Drawing Control Type Library<br /><br /> Microsoft Visio 15.0 Drawing Control Type Library|Microsoft.Office.Interop.VisOcx.dll|
@@ -119,7 +119,7 @@ The following table lists the primary interop assemblies that are available for
119
119
120
120
When you install and register the Office PIAs in the global assembly cache (either with Office or by installing the redistributable package for the PIAs), the binding redirect assemblies are also installed only in the global assembly cache. These assemblies ensure that the correct version of the primary interop assemblies is loaded at run time.
121
121
122
-
For example, when a solution that references a Office 2010 assembly runs on a computer that has the Office 2013 version of the same primary interop assembly, the binding redirect assembly instructs the .NET Framework runtime to load the Office 2013 version of the primary interop assembly.
122
+
For example, when a solution that references an Office 2010 assembly runs on a computer that has the Office 2013 version of the same primary interop assembly, the binding redirect assembly instructs the .NET Framework runtime to load the Office 2013 version of the primary interop assembly.
123
123
124
124
For more information, see [How to: Enable and disable automatic binding redirection](/dotnet/framework/configure-apps/how-to-enable-and-disable-automatic-binding-redirection).
0 commit comments