Visual Studio 2017 Community installation on TFS vanishes - visual-studio

I have installed TFS 2018 Update 2 on a Windows Server 2016 that joined my domain. In order to get the build system working I have also installed VS 2017 Community on the TFS.
After installing VS all seems to be fine. The Build Agent does its work.
But after a day or so, including a server restart, the Build Agent stops working complaining that VS is not installed.
Checking that turns out that all the files are present in their designated directory and also IDE starts, but also the VS installer only shows the install button. Trying to modify or uninstall VS via Control Panel fails with a message, that the product is not installed.
This behaviour is reproduceable as I, for now, have installed VS more than 4 times also on a new TFS setup using different accounts (Domain Admin, Local Admin).
Have someone encountered the same behaviour or can someone suggest a resolution?
Thanks and reagrds,
Andy

I have re-setup TFS machine and installed Visual Studio first even before adding to the domain with the latest vs web-installer. Now it seems to work.

Related

VSTO can not installed with Visual Studio 2022 Installer

I rent absolutely free
Edition Windows 10 Pro
Version 20H2
Installed on ‎2/‎7/‎2023
OS build 19042.1706
Experience Windows Feature Experience Pack 120.2212.4170.0
With Excel installed and Activated by hosting provider
Microsoft Office LTSC Professional Plus 2021
Version 2108 (build 14332.20447 Click-to-Run)
Than I try to install to this new machine VS 2022 community from official site
Unfortunately VSTO tools is impossible to install, I see a lot of times the same error
VSTO installation Error
What I need to do? I need VSTO.
I receive advice to download firstly and install after full download. In this case I have this error.
Something going wrong
What going wrong I don't understand. This VM placed to datacenter in Germany with good connection and preinstalled and activated legal copy Windows 10 and Excel.
Most probably you are dealing with a connection problem. You may try to repair your VS installation at a later point of time.
You may consider downloading a local installation package, select the Download all, then install option in the dropdown at the bottom of the Workloads tab of the Visual Studio Installer. The purpose of this feature is to frontload the downloading of the Visual Studio packages onto the same computer that you plan on eventually installing Visual Studio on. By downloading the packages locally first, you can then safely disconnect from the internet before you install Visual Studio.
Also you can download the installer locally by using a command line. And only then you can launch the installer for the Visual Studio, so you will not face with such problems. Read more about that in the Create an offline installation package of Visual Studio for local installation article.

Installing Lync 2013 sdk client side on visual studio 2015

I am trying to install the Lync 2013 SDK on Visual studio 2015, but I get an error saying "MSVS2010 SP1 or higher not found. Go here to download and install"
I've looked up the issue on the web, and the closest thing to a solution is installing a cumulative update, but that was for VS2013, nor can I find any Place to actually download the file.
What do I have to do to complete the Lync 2013 SDK setup?
To install the SDK, you can fake that you have an earlier version of Visual Studio. At least, that seemed to work for me.
What I did was export the registry entries at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\Setup\vs, searched and replaced VisualStudio\14.0 with VisualStudio\12.0 and imported those registry entries again.
That allowed me to install the SDK and I subsequently removed those imported entries again.
Please make sure (using regedit) that you are not overwriting any existing entries of course.

TFS Build notification options not populating build definitions

downMy gated checkin reconcile message has stopped working. To troubleshoot I opened up Build Notifications options and see that the "Build notifications to monitor" list is blank.I restarted Visual studio, connected to the project server again in the IDE, rebooted the machine but still Build notification options are blank.
I have also deleted the Team Foundation local cache from %localappdata%/Microsoft/Team Foundation/5.0/Cache but to no result.
From what i understand the Build notification desktop tray app gets the connection to the server from the Connect option in Visual Studio IDE. All the settings look right but the problem persists. Any suggestions?
P.S : I have recently downgraded from Visual Studio 2013 Ultimate to Visual studio 2013 Pro.
Each version of Visual Studio (2010, 2012, 2013, 2015 etc) installs its own newer version of this tool. Each under a different path that contains the Visual Studio version.
Make sure you're launching the correct one, or register your TFS version inside the latest version of Visual Studio installed and use that (since it will be able to connect to any and all versions of TFS).

How to uninstall Visual Studio 2012 from command prompt

Just bought a laptop and want to put Microsoft Visual Studio 2012 on it, but it takes forever to do anything.
My first time installing it, it got stuck on a very common problem. Web Deploy 3.0 - Certificate warning or Unable to locate package source error. Since the installation crashed, I installed Web Deploy 3.5 (the latest version) manually to get around this issue.
When I try and install again, it says I need to uninstall or repair first. However, it won't uninstall or repair. For repair, it sat on Creating a system restore point all night` and for uninstall it sat on something I can't remember the other night.
Is it possible to uninstall Visual Studio 2012 via the command prompt and what are the commands to do that?

Cannot build Windows Azure Cloud project in VS 2010 after installing VS 2012 side by side

According to Microsoft the side-by-side installation of Visual Studio 2010 and 2012 is supported (http://msdn.microsoft.com/en-us/library/ms246609.aspx).
I already had VS 2010 installed on my system (Windows 7 box) along with the Windows Azure Tools 1.5. I used this configuration to create a cloud project that is hosted on Azure. A few days ago I decided to also put VS 2012 on my system but to do it in a side-by-side manner rather than upgrading (or uninstalling) the VS 2010. The reason why I did not want to uninstall VS 2010 was that I already had some add-ons configured for it for script and css minification and aggregation. I heard that VS 2012 has this functionality built-in but I did not want to touch the dozens of scripts that I had already created using the older method. So I wanted to keep my VS 2010 environment in a pristine, working state in case there was an emergency and I had to publish a patch for my already hosted application. I would use VS 2012 for all the new projects going forward.
However, after I put VS 2012 on my box it also brought down 1.8 version of Azure SDK. As a result, I can no longer successfully build my VS 2010 solution. I have one worker role and one web role in that solution. If I build each one of them individually the builds succeed. But if I then try to build the entire solution or package it, it fails with no message in the log whatsoever. It just shows "Build Failed" in the VS status bar.
Since I was not getting any error in the status bar, I decided to create a "Hello World" application from scratch with only one web role using Windows Azure Cloud project template in VS 2010 hoping to get a better error message. Indeed, when I try to build the entire solution I get an error:
Error 102 WAT080 : Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v1.5 is installed. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.5\Microsoft.WindowsAzure.targets
Clearly the installation of VS 2012 and Azure SDK 1.8 corrupted the older version. Ideally I would like to keep VS 2010 + Azure SDK 1.5 truly side-by-side with VS 2012 + Azure SDK 1.8. Is there a way to do this? If not, then how can I fix the error above? In other words, how can I fix VS 2010 to work with Azure SDK 1.8?
All you help is greatly appreciated.
Regards,
Archil
I solved this by going to Microsoft site and installing Windows Azure SDK for .NET - October 2012 (1.8).
http://www.microsoft.com/en-us/download/details.aspx?id=35448
Initially I was a bit afraid and people were saying that it would not work and they encouraged to do a manual one-by-one install. However, I decided to use the Web Platform Installed link from the above page:
http://go.microsoft.com/fwlink/?LinkId=254269
All in all, things went smoothly.

Resources