I have an outlook addin developed with VS 2008 and for 3.5 framework.Now, I want to upgrade it to latest framework(4.6.1).But when I tried to create an office project in VS 2012 targeting 4.6.1 framework.It only showed me office 2010 template.So, is it not possible to develop a VSTO 2007 addin which targets 4.6.1 framework?I want to stick with VSTO 2007 because it is guaranteed to run on all office versions up to office 2016, as my current addin which targets .net 3.5 does.Whereas if I develop an office 2010 addin, it might crash on office 2007.So, please let me know a way to develop an office addin, which is supported by all office versions and targets .net framework 4.6.1.
1
There are 1 best solutions below
Related Questions in .NET-3.5
- How to "sign" a big string to be identified later?
- What is the correct way to code event handlers for serializable model objects?
- linq multi left join to same property
- Application.Run(form) how to receive messages from the "form" c#
- out parameter assigned by passing it to another function as an out parameter
- I am getting a The type or namespace name 'listcolumns' could not be found (are you missing a using directive or an assembly reference?)
- I'm having trouble deploying an ASP.NET Web Forms application (now targeting .NET 3.5) onto a Windows Server 2003 running IIS 6
- Javascript copy to clipboard
- Using Invoke() to show Form from Threading.Time() thread
- .NET CE 3.5 WinForm Hiding main form right after Application.Run();
- Logging with NLog and runtime parameters to Database
- Why would I get a format exception when updating a boolean binding with WriteValue?
- base.dispose() causing Object Reference Not Set To An Instance Of An Object
- Data binds to the UI after the click has been completely executed in WPF
- Attempt to raise Null exception in disassembled code in Visual Studio
Related Questions in VSTO
- Word Addin not working in 64bit office but working on 32bit office
- Debug Excel VSTO add-in when launched by double-clicking existing file
- Getting Outlook Window from VSTO Addin
- change the Label of a button in ribbon word add in
- Converting Text Document from English to Chinese in Tx Text control Winform third party developed tool
- MS-Word paragraph mark (¶) shows in equation mode, how to change normal mode
- C# Word Add-In Trusted Certificate
- How to detect during Tick event if a dialog is open in Word?
- how to copy the text from textbox and paste on outlook message body
- Office incorrectly states "Programmatic Access To Visual Basic Project Is Not Trusted"
- Outlook 2013 VSTO: Determine which calendar an AppointmentItem is on?
- Shapes manipulation slows down while in "Presenter View" mode
- Excel Interop Try Catch causes memory leak I find it hard to believe I have to pick between error handling or leaking memory?
- Word add-in - ribbon
- Searching user tasks by task.body text
Related Questions in OFFICE-2007
- open xml Numbered list
- How do register PIA12 (Office 2007) assemblies with visual studio 2013
- Installing version 11 PIA on a Visual Studio 2008 / Office 2007 system?
- Cannot run Visual Studio 2010 Outlook Add-in on machine with Outlook 2007 installed
- Excel Addin that works on Excel 2007 and 2010
- Custom Backstage View Tab like standard tab FileNew
- Outlook 2007 - appointment
- "old format or invalid type library"
- Is there an inverse mode for Microsoft Word?
- Ribbons in Java, and Custom Buttons
- How to introduce spell checker in Microsoft Office Communicator
- Word and Excel file versions
- Save modified WordprocessingDocument to new file
- Working with Office "open" XML - just how hard is it?
- System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
Related Questions in OFFICE-2016
- How to write a 'field' as link in microsoft word addin using javascript API
- After deleting WebExtensionPart from WordprocessingDocument document get corrupted
- Select method of Range Class failed using ThisWorkbook
- How to Use Javascript in the Excel Web Add-In Application to Zoom the Current Excel WorkSheet
- How do I allow access to Office applications automation object from standard users in Windows 10?
- Add a category for all selected emails using Outlook VBA
- Excel: calculate averages based on other column's value
- Can I create a VSTO outlook addin targeting .net framework 4.6.1, which runs on all office versions from 2007 to 2016?
- Add ins Name is not displayed in Word 2016
- Excel VBA to Create PowerPoint Presentation
- 'The database engine could not lock table' in Access 2016
- 'FileDialog' type is not defined in MS Access
- Office 2016 VBA wrong Toolbox icons size in windows 10
- EXCEL formula to reference cell in same row
- Provider cannot be found ADODB error while connecting to Excel 2016 or CSV from Internet Explorer
Related Questions in .NET-4.6.1
- F# method returns null instead of Option
- Fix For "Package xxx is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0)"
- JSON library version mismatch
- MSTestV2 assemblies in GAC
- Can I run .Net 4.6 Application under .Net Core Site on IIS
- Azure App Service Memory Working Set steady at 0 bytes
- C# DataTable Min Value excluding NaN
- How to filter IQueryable for null navigation property
- GitHub Action with .NET Framework 4
- C# Split string on 'þ', not on 'th'
- Where to publish SpecFlow/Selenium screenshots produced by a release pipeline in VSTS?
- C# Method overloading resolution and user-defined implicit conversions
- Using ASP.NET Core features in full .NET Framework 4.6
- How to assign text to a Label with the Label ID being assigned by a string?
- No parametless constructor defined Hangfire Ninject
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You want to develop your addin against .NET Framework 4.6.1 but still target Office 2007 as Office is considered to be always 'downward compatible'. Although it theoretically is the case, in real practice you will run into issues (for instance Excel changed its application model from MDI to SDI over time, resulting in all sorts of visibility issues in addins targeting the older versions).
The same goes for the .NET Framework. Applications targeting a lower framework should work with later frameworks. The other way around can cause real issues.
So the best answer in my opinion is to use the lowest denominator in both Office PIA and .NET framework to support the older Office versions. In theory that means you should stay with Office 2007 PIA's and .NET 3.5 for the best compatibility for all Office versions from 2007 and up. In this case there is however still the risk of mismatches as I explained in the first paragraph.
In general you can however mix and match many versions if you only address the Interfaces available in the oldest Office versions, use late binding in special cases.
The 'official' answer from Microsoft has always been, related to VSTO projects, that only two Office versions are supported with each VSTO version, and that has (again) to do with what already was mentioned before. More information on this can be found here: https://msdn.microsoft.com/en-us/library/bb772080(v=vs.120).aspx