No menu item for PVS-studio - pvs-studio

I've installed PVS-Studio 6.12.21152.101 on my computer with Visual Studio 2015 Community Update 3. But there isn't any menu item in VS. How can I fix that?
When I run PVS-Studio.exe I got:
Note that I have Resharper installed. Can this be the problem?

It seems I found solution.
I manually installed PVS-Studio-vs2015.vsix from C:\Program Files (x86)\PVS-Studio and reopen Visual Studio. After that I've got PVS-Studio menu item.

Try install new version from official site: download page.
After approval of the license agreement, integration options will be presented for various supported versions of Microsoft Visual Studio:
To make sure that the PVS-Studio tool was correctly installed, you may open the About window (Help/About menu item) (see Common information on working with the PVS-Studio analyzer)
In addition to using PVS-Studio directly from Visual Studio, you can also run analysis of MSBuild (i.e. Visual C++ and Visual C#)) projects from the command line. Documentation.

Related

What do I need to do to program an MFC/STL program in Visual Studio?

I've installed Visual Studio on my private PC, the version is "Microsoft Visual Studio Community 2019", version 16.1.6.
In order to prepare a job interview, I'd like to do some basic MFC/AFX programming, starting by the basic CMapStringToString example from the Microsoft website.
This, however, seems not to work, as I don't have access to the mentioned file afxcoll.h. Indeed: there is no file, called afx*.h on my PC.
Is this a limitation of my free downloaded Visual Studio installation, or is there any add-in, add-on, extension or whatever I can install in order to work with CMapStringToString objects?
Thanks in advance
You need to explicitly install MFC support in Visual Studio - which you can do on Community editions:
Open Visual Studio Installer from your Start Menu
Click the Modify button
Select the Individual Components tab
Scroll down to SDKs, Libraries and frameworks
Check the various MFC/ATL options for various platforms

visual studio 2019 open solution file incompatible

I think I was using visual studio 2017 and wrote a SSIS package. Now I installed visual studio 2019 and can't open the solution file. Error:
Unsupported This version of Visual Studio is unable to open the
following projects. The project types may not be installed or this
version of Visual Studio may not support them. For more information
on enabling these project types or otherwise migrating your assets,
please see the details in the "Migration Report" displayed after
clicking OK.
- ABC, "C:\Users\XYZ\ABC.dtproj"
Non-functional changes required Visual Studio will automatically make
non-functional changes to the following projects in order to enable
them to open in Visual Studio 2015, Visual Studio 2013, Visual Studio
2012, and Visual Studio 2010 SP1. Project behavior will not be
impacted.
- ABC_SSIS, "C:\Users\XYZ\ABC_SSIS.sln"
I tried "Right-click on the project and reload" - didn't work.
I tried to confirm SSDT is installed:
it is installed at the installation interface, but doesn't exist in extension manager:
SSIS is a seperate extension now in Visual Studio 2019. You can install that extension in Visual Studio market place. Choose Online tab and search for "SQL Server Integration Services Projects".Hope it can help your problem
1.Extensions -> Microsoft Reporting Service Project
2.and then close visual studio
3.VSIX installer will complete automatically
4.If your project unloaded, right click on project and reload
Today I faced this issue,
Cause
The reason for issue is,
I saw a yellow bg notification at the top of IDE showing performance issue , with option to "disable this" to improve the performance.
I chose disable, later next day when I opened the project, It showed the project is not compatible.
I did Repair SSIS, Uninstall and Reinstall SSIS, and also updated the SSIS to latest version. None of these 3 ways resolved the issue.
Solution
But, I found Manage Extension submenu item under Extension menu, Under installed tab, SSIS extension was in disabled status. I reverted to Enabled status. Sample screenshot of the same for reference is here. If it disabled, simply enable it. Then restart VS with SSIS project.
Enabling the SSIS in manage extensions solved this for me.
Extensions ... Manage Extensions
Online ... Visual Studio Marketplace
SQL Server Integration Services Projects
Download
Close Visual Studio and then run the download
When finished, open your existing SSIS project and right-click the project and select "Reload" or "Reload with dependancies"
You can also now start a new Integration Services project.

How to update Visual Studio 2015?

I recently installed Microsoft Visual Studio community verion 2015 on my computer for educational purposes. However while installation I conservatively chose not to install the source files for C/C++. Is there any way to rectify this? There doesn't seem to be any update menu in Visual Studio where I can do this.
You can have Visual Studio check for any updates itself by going to Tools > Extensions & Updates > Updates > Product Updates.
You can install any of the custom components (Visual C++, Visual F#, others) later if you don’t select them during the initial setup, there have some methods to modify VS to select the custom components to update and you can have a look at the following:
Go to Control Panel—Programs and Features, right click the Visual Studio Community 2015 with updates and Change, it popups the VS installer windows and click Modify button, then you can find the option ‘Visual C++’ under Programming Languages and check it, click ‘Next’ button to install it like the following screenshot.
If you still store the installer file of the Visual Studio Community 2015 with update 3 on your computer, right click it and run it as administrator, click Modify button and you can find the same installer windows as the above, check the option ‘Visual C++’ to install it.

How to add SVN to Visual Studio 2012?

I was using Visual Studio 2010 previously, with visual SVN as the source control. Now that I've upgraded to Visual Studio 2012, I'm facing problem of adding SVN as the source control (to VS 2012). By default only Team Foundation is there. Any help with how to add SVN as the source control to Visual Studio 2012 would be really appreciated.
VisualSVN 3.0 supports Visual Studio 2012. You can get it at the download page.
Except VS2012 support and a couple of usability and UI improvements VisualSVN 3.0 introduces the new Community License that allows to use VisualSVN for free on non-domain machines (moreover it permits commercial use!). See the VisualSVN 3.0 Release Notes.
In VS2012 just go to Tools/Options/Source control and in dropdown "Current source control plug-in" select the needed one (if you already have it installed)
Run the Visual SVN installer again and select 'Modify'
Tick the box that say 'Integration Visual Studio 2012'
and then continue with the installation. Restart VS 2012 and you will see VISUAL SVN on the TOP menu
We use AnkhSVN for VS2012 and lower versions.
Most likely you're using old version of VisualSVN that doesn't support VS2012. Try to install latest VisualSVN 3.0 for Visual Studio 2012 support.
Currently I am using VisualSVN-5.1.4, but I have done this with previous versions.
Re-run the installer.
Select "Modify", then Next to move to the "Custom Setup" pane.
A checkbox list of the installed Visual Studio (VS) versions will appear.
Check to VS('s) that apply.
Open the targeted VS.
Open the "Tools>Options" dialog and select Source Control
Select "VisualSVN" from the "Current source control plug-in" combo box.
I first took the "Repair" option but that did not put VisualSVN in the Source Control options list. It didn't hurt but it didn't help, either.
Yo need to run the installer of subversion again and repair the installation.
The installer will register the application in the VS2012 version too.
We had the same problem with it.
What you really need to do is go to Tools -> Options
In the dialog scroll down to Source Control -> plug-in-selections.
There is a drop down that has a list of source controls and you select your SVN controller there (Ankh, Visual, whatever one you want).
This is the same for 2012, 2013 and 2015
Re-run the installer , and during the setup, choose the versions of Visual Studio you want to be available.

How do I see the list of addins and plugins in Visual Studio?

I think I have a plugin or addin to studio installed which has killed all versions of studio.
Where can I see the list of plugins and addins that studio is loading? I believe I have gone through all of the menu to find the list of addins.
Would someone point me in the direction that shows me the list of addins? I will remove them all one by one until I find the one that is "killing my productivity" for the day. :)
They appear in three difference places, but any given addin/package doesn't necessarily appear in in all those places:
The splash screen
Tools / Add-in manager
Help / About (in the "Installed products" list)
In Visual Studio 2013, go to the "Tools" menu and open "Extensions and Updates".
In "Installed"->"All" section you can see it all.
Try looking at your packages installed for Visual Studio. They are registered in the registry under:
Visual Studio 2008
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\Packages
Visual Studio 2005
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp
Packages are the complete installs of all addins, automations, and alike.
If you have a lot, I say kill them all. And then reinstall your specific addons (such as CodeSmith or VisualSVN). You may need to clean up the addons that were manually added. But, I think that once you remove the "Package", it disables those addons and automation tools automatically.
For reference, this is my fresh new install of Visual Studio 2008 SP1 on Windows 7 RTM. Only 1 plugin, and it's for SQL Server's SSIS:
registery http://eduncan911.com/blog/thumbnail/billrob-stackoverflow.png
Go to the Tools menu and open Add-in manager. Or you can go to the visual studio folder inside of My Documents and look in the addins folder.

Resources