Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disabled "Generate Local Resource" in Visual Studio 2010 Premium

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.

like image 273
Wagner Danda da Silva Filho Avatar asked Nov 18 '10 05:11

Wagner Danda da Silva Filho


2 Answers

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.

like image 120
Cody Gray Avatar answered Sep 22 '22 08:09

Cody Gray


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.

like image 35
rdans Avatar answered Sep 24 '22 08:09

rdans