How to open an .rdl file in Visual Studio?

后端 未结 2 1675
面向向阳花
面向向阳花 2021-01-01 10:34

I have an .rdl file that I need to open in Visual Studio. When I try to open this file, I got an XML file. However, I am unable to see the designer format.

I don\'t k

相关标签:
2条回答
  • 2021-01-01 11:16

    Correct, the Report Definition Language is just XML. And, as with any other file, you can just open it (File/Open/File...) in Visual Studio, just like in a text editor. In order to see a designer you need to give Visual Studio a bit of context about what sort of file it is by making it part of a Report Server Project.

    • Install SSDT for Visual Studio if you haven't already done so
    • Create a new project using the 'Report Server Project' template
    • Copy/move the .rdl file(s) you have into the folder for the newly created project (eg ..\Visual Studio 2015\Projects\My Report Project\My Report Project)
    • Use the "Add Existing Item..." context menu option in Solution Explorer to add the .rdl to the project
    • Open report designer by double-clicking the newly added report project item(s)
    0 讨论(0)
  • 2021-01-01 11:23

    For opening RDL file in designer make sure you have " Microsoft Reporting Services Projects" Installed.

    Refer this : https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio

    0 讨论(0)
提交回复
热议问题