Contents tagged with vs2010

  • Cool Extension for Visual Studio 2010

    550 comments

    i have been using Power Commands for Visual Studio for a long time. but i had never noticed that it’s a got very good feature for automatically formatting the document on save. not only it can format the document, but also it can remove and sort using statements in the files when you save them.

    it this really good for me because we use stylecop to enforce coding standard within our dev team.

    it’s also good when you refactor your code and end up changing namespaces and class names.

    to install the extension. click on the extension manager in the option menu.

    then search for PowerCommands and select and install it from the list.

    image

    once the installation is done, click on tools then click on option menu.

    image

     

    from the options dialog box select PowerCommands and in the left hand side check the options you desire.

    image

     

    and you are good to go.

    Written by vahid

    Wednesday, May 30, 2012 at 1:51 PM

    Tagged with ,

  • Visual Studio 2010 not opening CSS files

    205 comments

    if you are not able to open css files in Visual Studio 2010 because of any reason and keep getting this error message:

    “visual studio 2010 the operation could not be completed css”

    here is what you need to do:

    Click on the Tools Menu => Extension Manager => Select Online Extensions => Search for “Web Standards Update for Microsoft Visual Studio 2010 sp1” and install the extension.

    if you have already installed the extension, run the setup and repair it.

    in my case it happened after I installed MVC4 beta. and althogh I had already had the extension installed it was not opening CSS files and repairing the extension fixed it.

    Written by vahid

    Monday, March 5, 2012 at 11:02 PM

    Tagged with , ,