Posts tagged Visual Studio 2010 Express

Visual Studio Cannot Preview Local Files [RESOLVED]

I ran into issues today while trying to get Visual Web Developer 2010 Express working. Visual Studio Express 2010 was a fresh install so there should not have been any issues. But for some reason, even after a fresh install, I did the simplest of test only to be greeted by http://localhost unable to connect. I got nothing. I even tried the simplest of files. I typed the word “hello world” in the portion of a standard html document. Still errors. So what did I do to resolved this?

It was simple: Windows\System32\drivers\etc edit the hosts file… and for some reason locallhost had been switched. Delete that one line, and voila, back in business and ready to go!

Visual Studio Express + JQuery code hinting : Intellisense not Working [RESOLVED]

First I discovered jQuery.
Then I discovered Visual Studio Express 2010.
I was happy.
Then I learned of Intellisense which provides amazing code hinting.
I wanted a pure OOP solution for all my scripting. So when I went setup my .js files to code in, suddenly my jQuery code-hinting and intellisense disappeared.
I needed to know How can I get intellisense to work in sub files and other js files?
The answer was simple, I just had to reference my javascript files to one another with a simple line of code.
///<reference path=”../jquery/jquery-1.4.2.js”/>
That was it! Add 3 slashes and a reference path and code hinting was restored.
Something else I learned was that intellisense has an amazing abiltity to cross-reference all of your variables across multiple files.
So no, just like with FlashDevelop for ActionScript, I can successfully have access to my vars across files. And now intellisense works across multiple files.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes