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 answers
Related Questions in .NET-3.5
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
Related Questions in VSTO
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
Related Questions in OFFICE-2007
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
Related Questions in OFFICE-2016
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
Related Questions in .NET-4.6.1
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
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?
Popular Tags
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)
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