C++17 Code Coverage Extension for Visual Studio 2022 (Not Enterprise) - windows

IDE: Visual Studio 2022
C++ standard: C++17
Test Framework: Google Test
Does anyone know of C++17 unit test plug-ins availables for the latest version of Visual Studio 2022?
I know Microsoft have shipped a test coverage tools with Enterprise but for reasons not being listed, we cannot support this.
OpenCodeCoverage and CPPCoverage are popular projects, but the latest support version is C++14 on VS 2019.
I have also found a blog post from a Google Test Engineer. It seems they target GCov which is a GCC tools, not MSVC.
Feel like I'm getting those too early, unsupported feels, but would like to open the question to the floor to see what others have found.
Thanks in advance!

Related

Making Visual Studio 2019 a Fortran IDE (with gfortran)

I would like to know how I can tune Visual Studio 2019 to have a fully featured modern Fortran IDE for gfortran.
This would include:
one click compilation
debuging
auto-completion
If you also known any other interesting feature I would be interested.
Many thanks.

Fresh installed Visual Studio 2017 won't create C++ project with error 0x80041fe2

I just installed Visual Studio 2017 (current time: August 2018). I only need C++ so I picked C++ component and deselected everything listed in "optional" items. Then after the installation, I cannot even create any C++ projects including both console and desktop projects. It gives me a error dialog of "Exception from hresult 0x80041fe2".
I did a search online. This question, visual studio and qt: HRESULT: 0x80041FE2, seems close but it's QT related, so it's different.
I did eventually find a solution. Will answer my own question below.
It turns out this is probably a Visual Studio installation bug. The "Optional" components are really not totally optional. I then picked the following Optional components and then it works:
Just-in-Time debugger
VC++ 2017 version 15.8 v14.15 latest v141 tools
C++ profiling tools
C++/CLI support
VC++ 2015.3 v14.00 (v140) toolset for desktop
Almost certainly not all of these are needed. But I don't want to spend time to find out which "Optional" is actually not optional...

Visual Studio 2017 Won't run Custom Tool in .NET Standard Library

I'm porting all my development to Visual Studio 2017. I made heavy use of Portable Libraries in 2015, but it appears that .NET Standard is the way to handle cross-environment issues going forward. I've got a single file code generation extension that I've upgraded. In Visual Studio 2017, it works great against the traditional .NET libraries and portable libraries, but it doesn't work with the new .NET Standard library I'm trying to build. I'm happy to consider that I've done something wrong, but the GITHUB example doesn't work either:
https://github.com/Microsoft/VSSDK-Extensibility-Samples/tree/master/Single_File_Generator
Anyone know why Visual Studio extensions (at least code generation extensions) don't work on this project type?

using code contracts in visual studio 2010 professional

Actually in VS2010 professional edition, there was no code contracts. I had installed the standard version of code contracts.
Now in the Visual Studio 2010 > project properties > I get the code contracts tab.
My Question is if i have used the code contracts in my code, do i need to ship my project with any special dll or other thing so that the code contracts work after deployment.
Also, i am not currently planning to purchase the professional edition of code contracts. kindly explain me.
* Newly Added *
I would like to know whether using this mechanism will affect the use of Enterprise Library features like Unity & Exception logging. Also will this work for WCF, because if some new C#4.0 features are not supported in WCF.
I can't answer all of your questions but I can say that Code Contracts can be used in VS Professional edition but to get build-time checking to work in Visual Studio you will need VS Premium and up from what I understand.
Also if your interested I did put in a feature request to support Code Contracts in all editions of Visual Studio and I could use a little help adding some votes to it to get some attention from Microsoft.
Apparently they have the made the static checker available to all editions of Visual Studio in their 1.4.412128.0 release (December 28, 2011).
Check the release notes and you can download the latest msi here.
-Hope this helps

Does Visual Studio 2010 have tooling support for IronRuby?

I am interested in the following features: Code highlighting, Intellisense, Refactorings, Code navigation (Go to Definition etc.).
If this functionality is missing from Visual Studio 2010 maybe Microsoft is planning to add these features in the future or there are community project to develop IronRuby tooling add-in?
Good news! IronRuby Tools for Visual Studio 2010 were released on 21 OCT 2010 and are available here: http://ironruby.codeplex.com/releases/view/49097
Microsoft has recently released IronPython tools for Visual Studio and they are working on the same thing for IronRuby.
No planned release date yet but they are working on it.
no native support. not by microsoft directly
Ruby in Steel
This add-on to Visual Studio by SapphireSteel makes developing Ruby applications inside Visual Studio much more natural. It adds new Ruby project types, intellisense, code snippets, and syntax highlighting. But it costs money.
To clarify, SapphireSteel Software released a free IronRuby IDE way back in February 2008 - with code coloring, project management, build and run, visual form design etc. However, the IronRuby team was not overwhelmingly supportive of this project and we have now ceased development as explained here: http://www.sapphiresteel.com/Goodbye-IronRuby-Hello-Ruby-In
best wishes
Huw Collingbourne
SapphireSteel Software

Resources