Can one upgrade the VSTO version used by Visual Studio 2010 - c#

I have Visual Studio 2010 and I installed (re-installed due to new PC) it recently (this year). I have noticed that the VSTO runtime is now up to Version 4.0.40820 but my version in Visual Studio in for example;
C:\Program Files\Reference Assemblies\Microsoft\VSTO40\v4.0.Framework\Microsoft.Office.Tools.Common.dll
This shows version as the runtime v4.0.30319.
So I am wondering can I some how get Visual Studio to use the latest VSTO runtime version?
edit: My question was confusing as I had 2010 and v4 mixed up. Please see my image of one VSTO reference.
So you can see with the image that the Runtime Version is 4.0.30319 which is at least a year behind the acutal runtime version. And what does the Version 10.0.0.0 in this image mean?

I don't know if you can upgrade the VSTO runtime but I can give you some "lights" what the version means.
The version 10.0.0.0 is a sign of VSTO 4 which is installed with Visual Studio 2010 Professional and above
If you see version 9.0.0.0 is a sign of VSTO 3 which is installed with Visual Studio 2008
Here is some explanation

Related

"Visual Studio" "Extensions and Updates" compatibility between versions & years. Is it safe to tell VS to install it anyway?

Q: Modifying a VSIX file to declare it compatible with Visual Studio Comunity 2015. Is this a good idea, and if so, how can I do this?
More information, a specific example:
I'm trying to add either of the following to Visual Studio Community 2015 on Windows 8.1:
For VS 2010: https://visualstudiogallery.msdn.microsoft.com/ba57efa3-4061-4cdf-97f5-51715c4f120a
For VS 2012 & 2013: https://visualstudiogallery.msdn.microsoft.com/b61cc443-4790-42b7-b7ab-2691119667d2
The file provided opens with "Microsoft Visual Studio Version Selector".
Specific example continued, Installation Failed:
I'm then presented with an "Installation Failed" message and a log file, these are the important parts:
Name: SharpGL
...
Supported Products:
Microsoft.VisualStudio.Ultimate
Microsoft.VisualStudio.Premium
Microsoft.VisualStudio.Pro
Microsoft.VisualStudio.VCSExpress
...
This does not seem to include my product, but then:
Searching for applicable products...
Found installed product - Microsoft Visual Studio Community 2015
Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
Found installed product - Global Location
Great, I have a compatible product! However:
VSIXInstaller.NoApplicableSKUsException:
This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Confusing!
VS Community appears to have replaced and be very similar to VS Express. Today trying to download VS Express from the Microsoft website yields only VS Community.
VS Community Edition was released as a replacement for VS Express Editions.
Express editions don't support Extensions / Plugins.
for VXIS packages the version of VS supported is decided by the package itself when you execute it to install (it's basically msi installation package that gives you a list of supported versions)
Usually the supported versions is in the manifest inside the package, getting support in for a different version I believe requires a fresh compile.
In other words ...
If you want to install a VSIX extension in to a particular version of VS you need the version of the VSIX that matches that version of VS

Visual Studio 2015 Enterprise installation error

I am having difficulty in installing Visual Studio 2015 Enterprise (Update 1). After installation completes, I get a warning saying "Not all features installed correctly". See below snip for details
In control panel programs list I found that VC++ 14.0.23506 (both x64 and x86) are installed.
I am able to open visual studio, but when I try to create a new project I get following error regrading c# compiler error
I know performing a clean install again is a solution, but I have poor internet speed and would like to avoid downloading the whole thing again. Any help in fixing this would be great.
PS: I have VS 2013 professional and VS 2012 express also installed, both of which are working fine
Try uninstalling Visual Studio 2015, those VC++ 2015 x86 and x64 runtimes, and reinstalling Visual Studio 2015. Looks like it didn't finish installing properly because you already had the runtimes installed.

Would installing Visual Studio 2015 change the compiler used by VS 2013?

What C# compiler does Visual Studio 2013 use? If I were to install Visual Studio 2015 with its new Roslyn compiler, would that affect my Visual Studio 2013 installation?
I ask because we have some tests that are known to fail when our code is built with Visual Studio 2015. Some numbers differ at the eight significant figure. The solution when Visual Studio 2015 is released will probably be to increase the tolerances on the tests, but I'd like to understand how Visual Studio decides which compiler to use.
Can Visual Studio 2013 be explicitly set to use the old compiler? Or an msbuild script?
What C# compiler does Visual Studio 2013 use? If I were to install
Visual Studio 2015 with its new Roslyn compiler, would that affect my
Visual Studio 2013 installation?
Installing Visual Studio 2015 Preview will not affect your Visual Studio 2013 installation, and the old C# and VB compilers that live in .NET Framework installation folder within the Windows directory are not replaced. Instead, Visual Studio 2015 Preview uses and includes a preview of the next version of the Microsoft Build Tools, MSBuild 14.0, that is installed in the 32-bit Program Files folder under \MSBuild\14.0 and contains the new Roslyn compilers and code analysis libraries.
For C++, nothing substantial has changed, and as the compilers live in the \VC\bin subfolder of the particular Visual Studio installation, they will not affect each other.
Can Visual Studio 2013 be explicitly set to use the old compiler? Or
an msbuild script?
It's not necessary since Visual Studio 2013 can only use the old compilers, unless you installed and enabled the Roslyn CTP extension which has become obsolete by now.
No. Installing Visual Studio 2015 doesn't change the compiler used by VS 2013. At the command line, you can choose between by running the corresponding msbuild.exe
The test failures were due to .NET Framework 4.6 , rather than a change in compiler.
Fixed the problem by setting the 'use legacy JIT' environment COMPLUS_useLegacyJit variable per https://github.com/Microsoft/dotnet/blob/master/docs/testing-with-ryujit.md
Installing VS2015 will replace the .NET Runtime and update it to 4.5.3 - I don't know whether the JIT compiler is replaced, but it is possible.
In this case you could observe differing test results regardless of which C# compiler was used.
Anyways, installing 4.5.3 runtime is a major change to the machine and can't live side-by-side with non-preview runtimes so I'd not recommend it on a production machine. For example the Debugger API from Microsoft, CLRMD (Microsoft.Diagnostics.Runtime nuget package) no longer can connect to a 4.5.3 runtime - it's been reported here for example.
I would assume there are more breaking changes to be discovered.
Maybe VS 2015 does not affect the compiler used by VS 2013, but it definitely affects Roslyn (if you install VS 2015 your old, pre-VS2015 Roslyn code could stop working). For me it introduced problems with compiling anonymous types in ConfigR scripts.
I faced the issue by installing VS Professional 2015 Release side by side VS professional 2012. My MVC 3 Project created in VS 2012/ .net 4.0 I am not able to open now. I am able to open it in VS 2015/ .Net 4.0 only.

Installing Nsight in Visual Studio 2013

I want to install Nsight in Visual Studio 2013 so that I can start working with CUDA. However, as of now, Nvidia has not released a version of Nsight for Visual Studio 2013.
I want to develop in Visual Studio 2013 because I do not have Visual Studio 2012 nor Visual Studio 2010. What are my options? How can I develop CUDA applications in Visual Studio 2013?
Here is CUDA 6.0 Release Candidate that is supposed to support 2013 is now available that was released in Febuary of this year.
https://developer.nvidia.com/cuda-toolkit
NOTE: looks like this release will NOT have support for the VS 2013(VC12) compiler. The next version of the RC. The next CUDA version will have support for the VC12 compiler, with candidate builds being available this summer
Source:
https://devtalk.nvidia.com/default/topic/622306/visual-studio-2013-and-nsight/?offset=23
CUDA 6.5 Release Candidate (Link 2) and NVIDIA Nsight Visual Studio Edition 4.1 Release Candidate 1 (Link 2) are both released on NVIDIA Developer site now; they both provide VS2013 support. You don't have to have VS2012 installed alongside with VS2013 anymore.
To download CUDA 6.5 RC, you have to be part of NVIDIA's CUDA/GPU Computing Registered Developer Program, and to download Nsight Visual Studio Edition 4.1 RC1, you have to be part of NVIDIA's Graphics/Game Development Registered Developer Program. I don't know why they have different requirements. You can register an account on NVIDIA Developer site and opt-in the programs from your account information, for free. Applications are usually processed within a day.

System.Data.SQlite for Visual Studio 2013

The current distribution for System.Data.SQLite does not work with Visual Studio 2013 unless you deploy the VS2012 Update3 release pack (presumably) or just install (on a test machine like I did) the full version.
Does anyone know when the System.Data.SQLite team will release builds for Visual Studio 2013, both the precompiled static libraries that I would distribute to a customer and the full designer version that I would use?
The current release as of this post is 1.0.89.0, which does not include options for VS2013.
There is now a build that natively supports VS2013. Go to http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki and search for "Visual Studio 2013". As of today the install is called sqlite-netFx451-setup-bundle-x86-2013-1.0.92.0.exe.
It's currently not supported on VS 2013, but soon will be(Like most other libraries)
I believe they build every 2 weeks of the core project.
http://system.data.sqlite.org/index.html/doc/trunk/www/faq.wiki#q1

Categories

Resources