Visual Studio workspace not visible in VS2022 - visual-studio

I have two versions of Visual Studio running side by side (2019 and 2022).
When I open VS 2019, I see that it is connected to TeamExplorer and has a workspace associated with the install.
When I open VS 2022, I don't see that workspace, although I am on the same computer.
How can I work with the same projects that I have already downloade from Team Explorer in Vs 2022 and also check-in the code from VS 2022?
I can edit the code in VS 2022, but each time I have to check it in, I have to save the file, open VS 2019 and then check-in the project.
I want the option to check-in from either version of Visual Studio as the files are getting checked in the same repository.
Edit: Yes the VS 2022 is connected to the Visual Studio Online TFS.

Related

Business Intelligence Template in Visual Studio 2015 is not appearing in New Project: Solution

I installed Visual Studio 2015 Enterprise Version 14.0.24720.00 Update 1 and wanted to create "Report Server Project". However it was not available. I tried to google the solution and most were saying to go to:
TOOLS > EXTENSIONS and UPDATES > UPDATES and check for updates related to SSDT and update it. I tried updating it but it is
not continue updating. For others it worked, but for me it didn't.
So ALTERNATIVE SOLUTION is to download SSDT from : SSDT for Visual Studio (VS) 2015.
Choose the appropriate language you need to download.
SSDT for Visual Studio 2015 SCREENSHOT
Here is the direct link for Visual Studio 2015 English: Visual Studio 2015 English
After installing, Report Server Project Template will now appear in NEW > PROJECT:
Report Server Project Template is now available SCREENSHOT

Choose specific VSTO-Version when opening TFS-Project

I do have a TFS Project (TFS 2013) and I would like to set up my Visual Studio 2015 to work at that project. I have Visual Studio 2017 and Visual Studio 2015 installed. Now whenever I go to the main page of my Project and click "Open in Visual Studio" (like described here), Visual Studio 2017 opens. I would like to have it open in VSTO 2015. How can I select which version of Visual Studio should open?
The solution file should contain a UTF-8 signature that describes in which version the solution is to be opened. This is what's used for example to show different icons for solution files targeting different Visual Studio versions.
This signature info is also used by the Visual Studio Version Selector when opening a solution. An easy way to fix this is make sure that have the solution local on your dev machine and then right click -> open with and choose the Visual Studio Version Selector. Then pick the correct version of Visual Studio that you want to use.
This will then be honored by your browser when opening a solution since this also uses the Visual Studio Version Selector.

how to manage save solution before run in visual studio 2015

in visual studio 2015 all times I run the project the project saved automatically
how to manage to save solution before the run in visual studio 2015?
The option to "Save Changes Before Building" was removed from VS 2012 and later.
This feature only existed in VS2010 and below
PS: For VS 2010

Visual Studio Installer Project Extension running in VS 2017 Pro thinks it's running in VS 2013 Pro

Got a big problem with the Visual Studio 2017 Installer Projects Extension for Visual Studio 2017 Professional. I added a Visual Studio Installer Setup project to a solution and set it up the way it's basically supposed to be done (Primary Output in the Application Folder and an icon in the Desktop Folder is all that was needed). Then I right-clicked on the Setup project, clicked "Build" and then I get this:
Please wait while Windows configures Microsoft Visual Studio Professional 2013.
And then it stalls indefinitely. I have to close Visual Studio in Task Manager to stop everything. What's more, I'm Visual Studio Professional 2017, not 2013. I used to have Visual Studio 2013 Ultimate, but I uninstalled it. What could possibly be causing the confusion?
It appears that you have also got Visual Studio 2013 installed, and that there is as conflict between 2013 and 2017 because that message is a Windows Installer repair of VS 2013. Something is happening during your build that requires the VS 2013 installation to be repaired. The Windows Event Log (Application) will have an MsiInstaller log entry saying which component appears to be broken. If you post that information there may be a clue to the problem. If you (for example) have manually removed anything that may belong to the VS 2013 installed product then that would cause the same kind of problem.
You have this similar problem:
Rebuilding Visual Studio Installer project, launches Visual Studio 2013 seetup
Visual Studio 2015 msi build initiates another installation
When you say it stalls indefinitely, I would expect it to ask for the Visual Studio 2013 install image so that it can repair it. If you go to Programs&Features and manually repair VS 2013 it might fix the problem.
I also had Visual Studio 2013 installed as mentioned by #PhilDW.
Navigating to Event Viewer → Windows Logs → Application I found loads of warnings:
Detection of product '{9C593464-7F2F-37B3-89F8-7E894E3B09EA}', feature 'Visual_Studio_Professional_x86_enu', component '{E3FF99AA-78B9-4A06-8A74-869E9F65E1FE}' failed. The resource 'C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\' does not exist.
The key here being that the folder C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\ did not exist thanks to an answer in the first link provided by #PhilDW.
Created the missing final folder URTInstallPath_GAC in the path mentioned and the installers now build really fast whereas before they used to take forever (sometimes literally!).

Opening Visual Studio 2005 files with Visual Studio 2015

We have MS Reporting Services .sln files that we open with Visual Studio 2005. We are moving to Visual Studio 2015. When trying to open the .sln files with Visual Studio 2015 we get the following:
We choose to upgrade and get the upgrade report that reports it was successful:
However when trying to open the .sln file after the successful upgrade was reported, it cannot open it.
Any ideas how I can get these files onto the latest version?
Reporting Services is not available in Visual Studio 2015 SSDT yet - it is still in Beta, as noted here hence your issues.

Resources