RDLC file opens as text only not in the designer - visual-studio-2010

I have an RDLC file that opens as text only (xml) not in the designer,
how can I force it back to default to open with the designer. (I need to go back and forth).
I swear I saw this on Stack already, but for the google of me I can't find it.

This problem comes when we change the default settings for any file type in visual studio.
Follow the steps given below to fix such issues:
You can right click on the file!
Select open with
Click on Report Designer.
Click on 'Set as Default'
Click OK
You should be all set now. It will now always open in Report Designer.

I just had this issue...
I resolved by adding a new Report to the project, which opened in the designer.
After the designer opened correctly, the existing reports also opened in the designer as not as XML.

Related

i can't find the design viewer option in my visual studio community

when I create a new project the first time I can see the Design viewer option, but when I close VS and reload the project the second time I can't see the design viewer anymore, I didn't find the solution please help!
When you open VS you may see the code page. If you want to see the designer view, click in the menu View and Designer. You can also use the shortcut SHIFT+F7. But first make sure, you opened the file in the project explorer.

wanna have a designer for a REPX file - VS13/DevExpress

I want to open a repx file with a designer.
(but now, I only see the code behind)
I have installed Visual Studio 2013 and DevExpress.
I just want to add 3 paramters to a printer lable.
The existing file was made with XtraReport - maybe that helps.
Thx.
First, open or create a blank XtraReport file in design mode in Visual Studio. Then, click on the Tasks tag on the upper-left corner of the report design surface. From the pop-up menu, click on "Open/Import" and select a .repx file.

Toolbox containing no items when I'm editing a dialog

I'm maintainig an old MFC application with Visual Studio 2013. Building the application works fine, but I'm unable to use the dialog editor.
When I open a dialog from the resource view, it displays correctly, I can click on the existing items, view their properties, move them etc.
But when I open the toolbox via the View-Toolbox command (Ctrl+Alt+X), all I get is an empty toolbox as displayed below:
Right click on the toolbar and "Reset Toolbox" doesn't change anything
Right click and then "Show all" shows an impressive list of tools, among those there is the Dialog Editor, but all items are inactive as shown in the picture below:
On the other hand when I create a new MFC project from scratch, the toolbox containing the dialog items works fine.
Does anybody have an idea what could be wrong?
FYI: in the meantime I use Visual Studio 6 (yes) for editing the resources.
There are two typical work arounds to get the toolbox back in Visual Studio. One is to reset the toolbox as you've tried. The other is to delete the “.tbd” files in your corresponding C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\12.0 folder.

Visual Studio Team Explorer can't properly open a PDF file - Solution Explorer not available for "open with" setting

We have PDF (and other) files attached to TFS Work Items and in Source Control under TFS. They are not opened correctly (they show up as ASCII, basically) in Visual Studio.
The problem seems to be that until you use the 'Open With..' dialog from the Solution Explorer, VS doesn't properly associate a program with extensions like '.pdf'.
If our users had a full installation of Visual Studio, that would be an ok work-around. However, many of them only have Visual Studio 2013 with the Team Explorer component - no Solution Explorer at all.
I'm guessing that there must be some workaround for this case. Perhaps setting the proper registry value? Since VS properly remembers the association if you can tell it (through the Solution Explorer), it must be stored somewhere.
Ideas? Suggestions?
If you've got a PDF file in a project you can right-click in the solution explorer and choose "Open with..". Now you can choose which editor you want to use. If Acrobat isn't already listed you can add it and after that click the button "Set as default".
After that, your PDF's will always open with Acrobat Reader regardless if you open it from source control browser or elsewhere in the Visual Studio. But you need to configure that for all your Studios.
Reference: Answer in MSDN "Source Control Explorer Doesn't View PDF Files"
"Open with" is not available in context menu. But I found solution - well better said workaround:
You have to create external command to open this pdf file in you pdf viewer.
Go to Tools/External tools.
In command section, enter path to your PDF viewer (exe file)
In Arguments, choose "Item path". Save it under preferred name
Put this new command you created in some of existing toolbars or create new one for it. This is also little complicated, so here is how:
Hit the small arrow next to the existing toolbar, choose customize
In the new window, choose "Add command"
In the new window, your new command is hidden under the category "Tools" as command "External command 1". Add it and confirm.
Now here comes the nasty trick. This command will not work in the browser window with PDF file selected, the argument is empty :(
So you have to OPEN the pdf file into that ASCII window and THEN hit the new command. Now the file will open in you selected pdf viewer.
Hope this will help someone

XSD Designer is Broken Visual Studio 2010 Ultimate

When I open a XSD file in the designer the file loads but does not display properly. I can scroll the window like the file is there but the 'Please wait while loading...' dialog does not disappear. If a table is clicked in the designer it is show and I can make changes. If VS is minimized then maximized, whatever is displayed in the XSD Designer until a table is clicked in the designer. I need this fixed so any information will be greatly appreciated.

Resources