AnkhSVN not showing in Visual Studio 2017 - visual-studio-2017

I cannot see AnkhSVN as an option under "Tools - Options - Source Control" in Visual Studio 2017. I have uninstalled and reinstalled AnkhSVN, but no effect.
Is there a way to fix this?

I came here looking for an answer to the same question. I am Running Windows 10 Enterprise and had VS2015 with AnkhSVN working before and after installing VS2017, but in VS2017 AnkhSVN was not available under SCC Plug-In Selection (even after uninstall and reinstall of the install executables downloaded from http://ankhsvn.open.collab.net, which offer registration against VS Dev15/2017).
This is what eventually worked:
Removed AnkhSVN (Windows: Add or Remove Programs)
Installed AnkhSVN Nuget package (Visual Studio: Tools/Extensions and Updates)
So the trick I believe is to "remove program installed by MSI/EXE followed by install extension via Visual Studio VSIX".
I was also subsequently able to upgrade AnkhSVN (2.7.12815 from VSIX install), by running the downloaded EXE installer for the latest daily build (2.7.12821), after which AnkhSVN is available in both VS2015 and 2017, although I had to reselect it in 2015.

I had the same issue with VS2017 and tried the solution provided by AlanK to no avail.
Here is the solution that solved the problem for me:
https://developercommunity.visualstudio.com/content/problem/119486/on-fresh-installation-extensions-are-not-working.html
Uninstall the source control plug-in.
Make a backup of the following files:
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.bin
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.user.bin
Remove these files:
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.bin
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.user.bin
Start Visual Studio 2017.
Install the source control plug-in.

You have to install "Ankh.VS15Package.vsix" package along with AnkhSVN software in your system as the version of AnkhSVN that you are installing might be supporting only up to Visual Studio 2015 or less. I had the same issue and resolved it by installing the package mentioned.

I had a similar issue after one of the Visual Studio 2017 updates. I had Visual Studio running and I was attempting to follow #AlanK's steps. I uninstalled as in Step 1. When I did Step 2, VS said the plugin was installed already. I restarted Visual Studio, thinking it was confused about the fact I uninstalled via Add/Remove programs.
I checked again and the AnkhSVN plugin was shown as disabled. I enabled it and then AnkhSVN and VS 2017 started playing nicely again.
I read the answer from Snehlata Shaw, and I think what I uninstalled from Add/Remove programs is the 2015 and earlier version of AnkhSvn. I can't be 100% sure that uninstalling it did or did not help with the 2017 version.
In summary, make sure the plugin isn't just disabled. VS 2017 says (now that is enabled) that AnknSvn slows down startup by 6 seconds and perhaps I disabled it not realizing what I was doing (Monday morning??).

Related

How add to Visual Studio 2017 or 2019 old C++ (v110) compiler?

I need compile my C++ project with old compiler verison. I saw, that is possibly to add to new visual studio old compiler. I try to download and install some build kit and remote utility for VS 2020 (ver v110), but nothing changed. I expect in properties - platform toolset - new line - v110, but nothing happen.
What I shloud to download and install and what to do?
You could install VS2012 platform toolset. In fact, you don't need to uninstall the redistributables. It's just that there may be installation errors.Also, if you unstall them, you could re-install them in Microsoft Downloads.
Then, you could change v110 in properties -> platform toolset.
For the previous version of VS2012, you can go to download it on daffodil website.
You need to install the old Visual Studio 2012 to use the compiler in a newer Visual Studio (e.g. 2017). Therefore uninstall the redistributables ("Microsoft Visual C++ 2012 Redistributable") to avoid errors.
Then you have to install the old Visual Studio 2012 and it's updates if required.
Afterward you will probably have to "repair" the newer Visual Studio Installations.

Can't install extension + version selector shows empty list

Edit: After wait too long, I have resorted to do a clean install of Windows 7.
It solves everything.
I believe the cause is : some Windows files, or some service are disabled, by me or virus.
Now, I can no longer test any solution so I accept the existing useful one.
Original Question
My Visual Studio 2017 can run & compile C++ code, but :-
(main problem) can't install any Extension (double click .vsix yield nothing)
double click .sln will popup "Choose Application" that shows no choice. (but "Open with..." works OK)
This issue happens only to my computer in workplace.
It had worked OK before I cleaned up my system.
I tried :-
install, uninstall and repair Visual Studio 2017 several times.
https://github.com/Microsoft/VisualStudioUninstaller
%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe -full then reinstall (can remove "(2)", but not other symptom)
update to the latest version 15.9.17
(Thank comment from Jeaninez - MSFT) Make sure my .sln start with this at the first line:-
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
I believe the issue is related to Microsoft Visual Studio Version Selector.
This symptom might come after I uninstall VS2019.
My system might be broken?
Perhaps, the cause may be somethings very deep in OS. I am considering reinstall Windows 7.
Reference:
Why I think it is Version-Selector-related : Can't install the extension on Visual Studio 2017 after installing Visual Studio 2019
Similar question (2014) : How do I add versions to “Visual Studio Version Selector”, my list is empty (repair not help)
Visual Studio Version Selector Doesn't open (2010)
Best link about (2) : https://developercommunity.visualstudio.com/content/problem/251934/vs2017-community-edition-shows-2-in-title-name.html
To install extensions, try to find VSIXInstaller.exe on your disk. Normally it is installed here:
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe

Trying to build a Qt application with VC++ compiler: 'type_traits': No such file or directory

Why doesn't the compiler find the file? It exists in the VC include directory for VS 14.0.
I've read that in previous versions of Visual Studio, you have had to install a service pack or something, is this a similar case?
I'm using VS 2015 Community.
This seems to be resolved by running vcvarsall.bat and starting Qt Creator from the same command prompt window.
I had this same problem in Visual Studio 2019 Community with Qt 6.0.0
after, searching every forum etc.. and trying the install of Visual Studio 2015 build tools x64 and Visual Studio redistributable 2015 x64 (which didn't solve the problem too),
I tried updating Windows sdk version from 10.0.18362.0 to 10.0.19041.0 and the problem was SOLVED.
I'm currently using Visual Studio Community 4.8.03761 if that might help others
so just check that you have Window sdk version 10 updated and that your compiler is well chosen (I had mvsc2019_64 and work with LLVM etc.. version in build settings) .
hopefully this helps you guys.

Problems installng/uninstalling 'Visual Studio Community 2013 with Update 5'

I've been having problems installing/uninstalling visual studio, the first time, I successfully installed it, but then I realised I had no use for it and needed the older version. I tried uninstalling it, but the loading bar wasn't moving after 10 mins, so I deleted the files from \Program Files (x86)\ instead.
So I went on and installed visual c++ 2010 express. But the next day,(after failing at everything) I found I did in fact need VS community 2013, so I downloaded the installer and it failed to install a couple things that didn't matter, but when I tried to find where VS installed, there were only the extra bundle programs, and not VS, so I figured I'd have to fully uninstall it.
I've tried uninsalling it, but it failed.
I've tried force uninstalling it, but all that did was try to reinstall it.
At the moment I'm do the sfc /scannow command
Info About my PC:
OS: Windows 10 Home
System Type: 64-bit OS, x64-based processor
Here's a log from when I tried to repair (or reinstall it, I can't remember) it:
http://pastebin.com/AbknK9PL
I found out how to do it.
Intsall VS 2013
uninstall it
reboot
delete VS from program files
install VS 2013

Visual Studio 2015 OpenGL freeglut.dll Linker Error

So I was playing around with the OpenGL and C++ in Visual Studio 2013 Pro (from dreamspark for students) and everything was fine. Then I decided to try out Visual 2015 Community. After upgrading and rebuilding the project, I'm getting the LNK1104 error with "cannot open freeglut.lib".
I've searched through the properties and everything seems fine. I originally installed OpenGL libs with PM by installing nupengl.core and adding #include"GL\glut.h". I tried to do some #defines as someone pointed out in this and this thread, but it's probably outdated by now and I'm not able to follow the instructions at some points. I reinstalled the nupengl.core too.
I'm not really fluent with Visual, I've been using it for like a year now and I'm trying my best to understand it more. If anyone has an answer, please make it as clear as possible. Cheers! :D
And of course, sorry for language mistake, as I'm not a native english speaker!
Resolution
Install the new version 0.1.0.1 of NupenGL and you shouldn't run into any issues. More details: http://mycodelog.com/2015/10/08/opengl-freeglut-in-visual-studio-2015/
Why NupenGL 0.0.0.1 had this issue?
The nupengl.core nuget package installs some files (header and lib) that are necessary to run your OpenGL GLUT application.
In its 0.0.0.1 version, it put out the lib files (including freeglut.lib) under the v120 folder. Visual Studio 2015 looks in the v140 folder.
To resolve the issue in that version, you could create another copy of the folder and name it v140, or change the "Platform Toolset" setting in your Visual Studio 2015 project from "Visual Studio 2015 (v140)" to "Visual Studio 2013 (v120)".
There is no need to do that though since this has been fixed in the 0.1.0.1 version of nupengl.core nuget package.
Github page for project: https://github.com/jcdickinson/NupenGL
Hope that helps.