Open an .rdl file in Visual Studio 2019 - azure

I installed Visual Studio 2019, SSDT, and Reporting Services. I'm using Azure DevOps to store my .rdl files and project files.
In Visual Studio, I can see the project with the .rdl files and the lock next to them indicating that they are source controlled using Git, but I can't open any of the .rdls. When I click Open in Visual Studio, I get an html file, and when I click Open With, nothing related to Reporting Services is available as a selection. Any idea how I can open the .rdl files using the Report Designer? Any help is much appreciated.

In Visual Studio, create a New Project (Ctrl + Shift + N)
Select Report Server Project. For the solution: create a new solution. Click Create.
In the Solution Explorer panel, you will see folders under your new solution which are Shared Data Sources, Shared Datasets, and Reports. Right click on Reports > Add > Existing Item…
Browse for your RDL file.
In the Solution Explorer panel, now under Reports you can see the RDL you just uploaded. Double click and it should open the Designer view by default.

Related

VS2012 button "Show all files" not showing all files

I am using Visual Studio 2012 to create SSIS packages. And I have some files in my .dtsx files in my project folder (showing side-by-side with the other .dtsx files in File Explorer) which are not part of my project.
Now I would like to include these files in my project, so in VS2012 I have marked my project and click the "Show All Files" button. I can see that the button is pressed, but my files are not showing up in my SSIS Packages folder (or anywhere else for that matter).
I know that I can manually move the files outside my project and the "Add existing item" and add the files in that way. And that would be fine if it was only this one time. But my problem is that we are two developers working on the project. And everytime the other developer adds a file, I have to do this manually.
Anyone who has an idea on how to fix this?

How do I download the content of a project in Visual Studio TFS?

How do I download the content of a project in Visual Studio TFS? I clicked around and I did not find an easy or intuitive way to do it. It is an old project that I thought had been lost until I reinstalled the latest version of Visual Studio.
You can get the TFS project from Visual Studio. First, you have to connect the project via Team Explorer in Visual Studio then add a server and click 'select team project' and you're done. It is downloaded to your PC.
You can find a documentation here.
EDIT:
Also, if you want to download your code as a zip:
You can click on any ellipsis to find the menu which contains Download as Zip option.
If you merely want an archive of the contents of a folder, you can right-click on the folder in the tree view on the left hand side of the page (in this case, on $/gelsana) and select the option "Download as Zip".
This is suitable for archival purposes. You cannot check-in changes made using this option.

Importing an existing source file in Visual Studio 2012

I want to add the source-code of a tutorial into an existing project, and I want the file to be copied to the project folder from the temporary file on the desktop I downloaded it to. Context clicking on the "Source Files" Folder in the Solution Explorer leads me the Add->Existing Item... menu, and I can then add the source file. However, it is NOT copied into the project folder, but stays in its original location. The project just knows about it, displays it in the Solution Explorer, and considers it part of the project.
This help page on MSDN tells me that in Visual Studio 2010, default behaviour used to consist in copying the file into the project folder, and that one could choose to Add a link instead of physically importing the file into the project directory by choosing "Add Link". However, now I always only get a link, and real physical import into the project folder seems impossible.
I could go through the File Explorer to physically import, but the Solution Explorer doesn't update the new files on the fly, and I would like to do this from within VS.
Is there a way? Is this a bug in VS 2012?
Copy in the files using Explorer, then in the solution explorer tick the Show All files option in the button bar of the solution explorer (you might need to select a Project first).
You can now right-click any files not part of the projects and choose Include in Project.
Or use the Add Existing File option.
The reason files are not added automatically to your solution when pasted into the folder using Explorer is because you might not want to have them added.
A neat little trick is to use the "Open In explorer" option:
(though it might be added by the Productivity Power Tools).
Plus, you can Drag&Drop files directly from explorer to the Visual Studio (when they're both running in the same elevation level if you have User Account Control enabled). To fix the UAC issues, you can either run Explorer as administrator too or install the VSCommands extension.
And you can Copy&Paste a file or set of files into the solution explorer by right-clicking a project or project folder and picking Paste on the context menu.

How do I configure Visual Studio 2012 to launch an external editor

I'd like to configure Visual Studio 2012 / TFS to launch an external editor when I double click the source file in the Source Control Explorer.
I've seen where I can add an external editor as an External Tool, but don't see how to link that external tool to a particular file extension and to launch when double clicked.
Thanks!
Right click on the file in Solution Explorer / Open with / Choose Program / Set as Default
From comments:
I'm in the Source Control Explorer. I assume I can't do it from there? (I don't see menu options for Open with...).
Or from Source Control Explorer, I have an option "View With" in Visual Studio 2010 that works in the same way. I don't have it in VS2012, and a comment on this StackOverflow question suggests it may be provided by an add-in (perhaps TFS power tools, since I don't have any other add-ins installed in VS2010).
It may be that if you click on "Set as Default" from Solution Explorer to set an external tool as editor for a file extension, then this becomes the default for viewing from Source Control Explorer too. But I haven't tried this.

Where is the file copy dialog in Visual Studio 2012?

I used the file copy dialog in VS 2010 to selectively push web files to a production server. The only tool I can find in VS 2012 that is similar is the Web Publish Activity dialog. It forces you to fully synchronize your entire site. That is not realistic because I don't always want to deploy all site changes at once.
Where can I find/enable the old file copy tool that had folder synchronization?
Okay, so the button to get to the Website Copy tool was removed from the Solution Explorer tool window, but it still exists under the Website nav menu. I never knew it was there, my bad.

Resources