Microsoft Visual Studio

Jump to: navigation, search
Categories » Programming » .NET Programming » Microsoft Visual Studio
Categories » Microsoft » Microsoft Windows » Microsoft Visual Studio

This page is for general information about Microsoft Visual Studio.

Contents

Multiple Projects in a Solution

Adding the Projects

To add a new project to the current solution, select FileNewProject. Under Solution, select Add to Solution.

To add an existing project to the current solution, right click on the solution in the Solution Explorer and select AddExisting Project....
You can also select this from the top menu, at FileAddExisting Project....

Right click on the solution in Solution Explorer and select Properties to set build/dependency options for each project.

Adding References Among Projects

In a multi-project solution, you can add references to other projects by going to the Project menu and selecting Add Reference. Then, go to the Projects tab and select the project you want to reference.

Local Web Server

Remote Access

The web server in Visual Studio does not allow remote connections. This can be troublesome when trying to test sites from different platforms (e.g., Mac OS X or IE 6 in a virtual machine).

To get around this limitation, you can set up a proxy server (like the one included with Fiddler) on the development machine and route traffic from the remote machines through this proxy server.

To set this up with Fiddler as the proxy server:

  1. Open Fiddler on the development machine
  2. Go to ToolsFiddler Options
  3. Make sure Allow remote computers to connect is checked
  4. Go to the Connections tab and confirm the proxy listener port (default is 8888)
  5. On the remote machine, configure the web browser to use a proxy server
    • Address is the IP address or host name of the development machine
    • Port is the port configured with Fiddler (default 8888)
  6. Use one of the following addresses to connect to the Development Server:
    • http://fiddler.ipv4:{PORT}/ (preferred)
    • http://localhost.:{PORT}/ (note the period after localhost)
    • http://127.0.0.1.:{PORT}/ (again, note the period)

Note: When prompted to login, if the development machine is associated with a domain, be sure to provide the complete username with the domain (e.g., domainname.local\username). Otherwise, you may receive a 403 Forbidden error.

Code Coloring Schemes

Keyboard Shortcuts

Useful Visual Studio Shortcut Keys

Books

Visual Studio 2005

Visual Studio 2008

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox