Disabled "Generate Local Resource" in Visual Studio 2010 Premium - visual-studio-2010

Can anyone please help me understand why the "Generate Local Resource" option is disabled in my Visual Studio 2010 (premium version)? I have a simple Website and first of all I couldn't find the option in the menu, then I figured how to show it in the menu but is's always disabled... I'm going crazy with this.

Make sure that your page is open in Page Design View.
This option is a designer-based command, and will always be disabled unless you are in the design view with your page fully loaded.

In my case (using Visual studio 2012), the option is sometimes greyed out even when in design view. To fix it, just switch to source view and back to design view again.

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.

Visual Studio 2013 Express Toolbox empty

I am trying to learn Visual Basic with the guidance of some YouTube Tutorials. They have recommended the use of Microsoft Visual Studio Express 2013 as it has a built in compiler. I encountered a problem where my toolbox bar on the left of my screen is empty. Does anyone know how to fix this?
http://gyazo.com/328ade3754613c971dd6d4745a0ed171 This is a link to my screenshot.
Just right click inside tools and click on "show all"
Your code may be running. Make sure to stop all processes and view the toolbox again.
On Visual Studio C++ 2012, it also happen sometimes. Try, to right click inside the Toolbox dialog and click on "Reset Toolbox" item. It should solve your problem.
See same question: How to rebuild the Visual Studio Toolbox?
What you need to do is to open your code in [Design] view. In this view you don't see the code as text, but rather as windows and buttons and so on.
Choose your favorite way to switch to the [Design] view :
A. View > Designer
B. Shift + F7
C. In the Solution Explorer window double click Form1.cs
Source:
How do I open a Visual Studio project in design view?

Visual Studio 2010 events button has disappeared

Hi I have been working with visual studio 2010 ultimate all day developing an asp.net webforms application.
I just realized that on the properties for controls window the button for events is missing , the one that looks like a thunderbolt.
An hour ago that button was there and now somehow it has disapeared and I can't figure out how to make it visible again.
I have tryed reseting the visual studio settings and reseting the computer but nothing worked
How can I get the button back?
I had the same problem. This helped me.
1.Restart visual studio 2010.
2.Click and select a control in markup page(.aspx)(like
3.After selecting , Click "View" in menu and select "Property window".
Check the property box, Thunderbolt ll be available. It just happened for me!
If the above solution not working go on with this!
1.Select design view in markup(.aspx)
2.Select any individual control like a button or label..
3.Now, you will be able to see a ">" button on the right side? Click it.
4.Remember to select only one control./.now check your property window! Whoohoo..
Actually while the solution above works, it puts you through more steps than you need. You can resolve this famous disappearing thunderbolt by simply clicking on Design view, and then clicking back on Source view, then clicking again to select the control in source view.
The Thunderbolt icon and events for the control will magically reappear.
You do not need to restart Visual Studio, and you do not need to select anything while in Design view.
And now, for my RANT about this annoying bug:
Even though this is easy to resolve, it is a MAJOR inconvenience to developers in my opinion, because we have to do this silly workaround all the freaking time.
This is in fact a BUG in Visual Studio. It has existed since at least Visual Studio 2010 (many users have reported it here and in MS forums across this and all later versions of VS). I have confirmed that this bug still exists in the latest build of Visual Studio 2022. So clearly MS has no plans to fix it.
[Rant Mode Off]
Cheers,-=Cameron

visual studio 2010 toolbox standard controls missing

I have created an asp.net project in visual studio 2010 ultimate edition.
I can't see Standard, Data etc toolbox tabs, I can only see Telerik and HTML controls.
I tried to reset the toolbox, tried to delete C:\Users\mypcuser\AppData\Local\Microsoft\VisualStudio\10.0\*.tbd.
I also tried devenv /ResetSkipPkgs but nothing worked for me.
Please suggest a Solution thanks!
This may help you.
In the Toolbox, select the tab where you want to add the control.
Right-click the Toolbox and select Choose Items from the shortcut menu.
The Choose Toolbox Items dialog box opens. The following illustration shows the Choose Toolbox Items dialog box.
Try to right click on the Toolbox and select "Reset Toolbox"
The common controls should appear in the Dialog Editor list along with all the MFC ones that I seem to be limited to when the problem happens.
I have this happen frequently. I don't know what causes it, but this fix always works and is fine for me since I didn't customize anything.
This will help you...
In Visual studio, go to view-toolbar-check standard and layout..
Then restart the visual studio and be sure on design page and check for toolbox..
Now the standard toolbox items will appear.. Thanks.
Just for the Future Viewer of this page
VS 2010 standard ToolBox cannot be viewed.
Mostly this is happen on a first run.
It solved the problem with Ctrl + Alt + X in your keyboard.

Visual Studio 2010 Reset Default Web Browser Everytime I (Un)Install An Extension

Why does Visual Studio 2010 change the default "View In Browser" setting back to the default browser every time I add or remove an Extension from the Extension Gallery? My default browser in Visual Studio (for use with "View in Browser") is not the same as the one I use in Windows.
The two actions seem like they should be completely unrelated.
This seems to be a known bug: https://connect.microsoft.com/VisualStudio/feedback/details/568469 . And it should be fixed in "the next version of Visual Studio" (whatever that means), as stated in other duplicates of the same bug.
In the 'alternatives' section there are some workarounds. I haven't tried them though.
There is a nice extension that can help to overcome this problem - WoVS Default Browser Switcher - you can look for it in VS gallery. That one always helps me with this issue.

Resources