Visual Studio Tools for Office
Discuss and ask questions about using Visual Studio to create managed code solutions for Microsoft Office.
Annonces
- Lien
Office Developer Tools for Visual Studio 2012: Now Available with Office 2013 and .NET Framework 4.5 support
I'm pleased to announce that the official Office Developer Tools for Visual Studio 2012 is now available to download! For VSTO developers, this release brings .NET 4.5 support and design-time support for Office 2013, along with general design-time enhancements and bug fixes to the VSTO Runtime (released separately a few months ago via our download center and Windows Update; see KB 2796590 for information regarding the Runtime). We also heard your feedback from "Preview 2" of the tools, including the request to bring back the VSTO Runtime Bootstrapper into VS 2012 -- it is now back in the product.
Office Developer Tools for Visual Studio 2012 also includes tooling for the new apps for Office and apps for SharePoint projects, improvements to SharePoint Workflows, and more. You can read the official announcement for apps-related tooling on Soma’s blog post.
VSTO Office 2013 design-time support in Visual Studio 2012.
Note: Now that's we've added .NET 4.5 support to 2013, we've properly re-categorized the templates in the "New Project" dialog according to the .NET framework version that they support. So, if you're looking for the Office 2010 templates after installing the latest tools, be sure to adjust the ".NET Framework" dropdown to ".NET Framework 4.0". Again, to recap, both the 2010 and 2013 templates support .NET Framework 4.0, but only the 2013 templates support .NET Framework 4.5 -- and the "New Project" dialog respects that categorization.
I hope you enjoy using our new tools! If you have any questions or comments, please don't hesitate to reach out to us.
- Michael Zlatkovsky | Program Manager, Visual Studio Tools for Office & Apps for Office
- Lien
"New Item" templates not available for VSTO project migrated from VS 2010 to VS 2012
For those migrating a VSTO project from Visual Studio 2010 to VS 2012, there appears to be an issue where Office items (such as the Ribbon) are not available in the converted project. Fortunately, there is an easy fix. See Maarten van Stam's (MVP) blog post http://maartenvanstam.wordpress.com/2012/12/22/office-templates-not-available-in-vs2012-with-converted-project/ for a quick way to resolve the issue.
- Lien
Documentation for Office 2013 Ribbon controls now available
Cindy Meister MVPMVPjeudi 10 janvier 2013 07:49I know the documentation for Office 2013 is still somewhat limited, but hopefully the following link will help.
Microsoft Office Document: [MS-CustomUI2] Supporting Documentation - http://www.microsoft.com/en-us/download/details.aspx?id=727
From here, you should be able to download the *.txt files for Word, Excel and PowerPoint, plus the imageMso information. Once a file is downloaded, it can be opened in Excel to make it easier to look through all the controls.
Best Regards,
Nathan O.
Microsoft Online Community Support - Lien
VS2012 & Office2010 solutions: Add-ins disable / Customization could not be loaded
Cindy Meister MVPMVPjeudi 13 décembre 2012 06:39We had discovered an issue where add-ins deployed using the ClickOnce method will, under certain conditions, try and fail to install an update, and thereby disable the add-in. For document-level customizations, an exception window with a stack trace may be shown; for application-level add-ins, the add-in will be disabled silently. See the thread http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/495098f8-6364-443a-b2e1-23e650af7e1e.
There is now a NEW VERSION of the VSTO Runtime that fixes the issue. If you're using the web bootstrapper (for add-ins developed using Visual Studio 2010), the bootstrapper will automatically chain in the latest version, so no action is required on your part, or on that of your users. If you're deploying from Visual Studio 2012, you'll need to enable the bootstrapper functionality manually: please see http://blogs.msdn.com/b/vsto/archive/2012/12/21/creating-a-bootstrapper-package-for-an-office-2013-vsto-add-in-with-visual-studio-2012.aspx. Users can also download the latest runtime from http://go.microsoft.com/fwlink/?LinkId=140384.
Installing the new Runtime is a preventative measure, and we highly recommend that all of your users do so! However, this will not fix add-ins that may already have gotten disabled due to the issue. Thus, for users who are already impacted:
If the install location is still accessible (and/or if the developer puts a new version into the same location)
1. Re-run setup from the original network share.
2. Re-enable the Add-In / Doc-Level Customization from within the Office application, as described below.
If the install location is NOT accessible (e.g., network share permanently down, or file was installed off of a USB stick which has since been removed)
1. Launch “regedit.exe” from the start menu / start screen. Navigate to Computer ==> HKEY_CURRENT_USER ==> Software ==> Microsoft ==> VSTA ==> Solutions.
2. There should be several entries there, identified by GUIDs. Click on each entry and check the “ProductName” data until you find the Add-In that you’re trying to re-enable.
3. For the Add-In that’s having problems, double-click on UpdateEnabled.
4. Change the “Value data” to 0 and press “OK”. This will disable Update Checking (and hence cure the problem) until a new version of an add-in is explicitly installed, or until the user repeats the same steps, and sets “UpdateEnabled” to “1”.After editing the Registry, the user should re-launch the Office App (e.g., Excel), and go through the usual steps of re-enabling the add-in (see below).
The usual steps of re-enabling the add-in: (required in either case for any user with currently-disabled add-ins)
1. Open the application’s options (e.g., “Excel Options”) and navigate to the Add-Ins tab.
2. Select “COM Add-ins” from the “Manage” dropdown.
3. Press “Go…”. A window will open.
4. Enable the checkbox for the Add-In(s) that you’d like to re-enable.
5. Click “OK”.
After performing the above steps, the add-in / document-level customization should re-activate in the host application, and also show up in the Control Panel’s “Add or Remove Programs” list.Michael Zlatkovsky | Program Manager, Visual Studio Tools for Office & Apps for Office
Filtre et triUtilisez ces options pour affiner la liste des discussions.
- 1215685

VSTO deployment scenario to avoid code decompilation
Michael Zlatkovsky jeudi 2 décembre 2010 15:24 - 123792

Audio programs/podcasts available for VSTO
Harry Miller - MSFT mercredi 18 juin 2008 17:20 - 144946

Visual Studio Tools for Office FAQ Entry List
Ji.Zhou dimanche 8 février 2009 13:59 - 151075

Deploying Office Solutions to End User Computers
Mary Lee - MSFTMicrosoft Employeemardi 21 octobre 2008 16:34 - 136840

PLEASE READ NEXT - VSTO 2008 Resource List
Cindy Meister MVPMVPdimanche 25 mai 2008 11:25 - 065889

PLEASE READ FIRST - What is VSTO and non-VSTO resources
Cindy Meister MVPMVPdimanche 25 mai 2008 10:12 - 010

Excel Add-In Similar To TFS
Stockmania il y a 1 heure(s) et 5 minute(s) - 012

Navigating XML nodes with VBA
MichaelMarceau il y a 1 heure(s) et 33 minute(s) - 141

Remove old macro and Create a new macro in visio file programmatically (C#)
siva, chennai jeudi 23 mai 2013 14:31 - 289

#name on opening Addin having Custom formula..
Divyans Mahansaria lundi 20 mai 2013 06:58 - 149

Error while creating new worksheet using Excel Addin.
Developer_29 jeudi 23 mai 2013 07:42 - 151

Creating a unmanaged thread in managed environment
mmmms il y a 20 heure(s) et 30 minute(s) - 144

Visual Studio.NET Office Tools
DSantana il y a 16 heure(s) et 42 minute(s) - 035

Using MS Word to enter text into a textbox
Ludgy il y a 8 heure(s) et 13 minute(s) - 2106

Connecting to a custom remote file repository from Word
MCCZ jeudi 16 mai 2013 20:20 - 380

csproj (load Failed)
WordRake lundi 20 mai 2013 20:49 - 6302

VSTO Add in for Word 2010 slow to open documents
Richard Grover mercredi 1 mai 2013 16:13 - 63495

How to create Class Module in Word programmatically from VSTO and insert Code?
bcinc. _ jeudi 22 octobre 2009 12:37 - 4145

Get a list of changed and deleted outlook items
ewolters mardi 21 mai 2013 13:17 - 3142

C# EWS and outlook web access ( multiple emails )
Sendi_34 mardi 21 mai 2013 04:31 - 4110

Performance problem while calling the word add-in from external application
FanhaoKong vendredi 17 mai 2013 02:47 - 95394

Excel cannot recover focus through taskbar when a modal form is being showed
FerchoArg mardi 21 septembre 2010 15:31 - 171

#name on opening ExcelAddin having custom formula..
Divyans Mahansaria lundi 20 mai 2013 06:59 - 2105

How to automate an Excel document and work on others excel documents at the same time?
Thomiouf vendredi 17 mai 2013 09:01 - 2108

Resize text to fit in shape PowerPoint
Lucas Cordina lundi 20 mai 2013 15:47 - 9287

After applying VS 2010 SP1, Appbase is set to IDE folder
Arthur Gardner jeudi 9 mai 2013 15:17

