Showing posts with label Visual Studio 2005. Show all posts
Showing posts with label Visual Studio 2005. Show all posts

2008-05-13

ASP.NET Development Server problems under Vista (maybe Windows 7)

Problem
When hitting Ctrl-F5 in Visual Studio 2005/2008 to run a web application in Vista, the Development Server gets started, Internet Explorer opened but nothing happens, although the web application is set to run with Development Server, ASP, ISS and everything required is installed.

Solution
Go to c:\Windows\System32\drivers\etc\ and open the file named hosts with a text editor
Search for the line containing "::1" mapped to "localhost"
Change "::1" to ":::1" by adding an extra ":"
Save the file and everything should be running fine

2007-10-09

Consola font for Microsoft Visual Studio 2005



The Courier New default font of the Visual Studio 2005 can be tiring for the eyes if you are using an LCD monitor.

The alternative -Consola font- can be downloaded here.

2007-10-05

How to insert Visual Studio 2005 snippet from intellisense


To insert a code snippet in Microsoft Visual Studio 2005 from intellisense select the respective snippet from the intellisense list, or enter the code of the snippet and press the Tab key twice.

So the shortcut is a double Tab.



Img 1 - Enter the name of the snippet, press Ctrl + Space; select the snippet from the list and press Tab twice


Img 2 - Fill the values of the parameters


Img 3 - The snippet is inserted