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 File → New → Project. 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 Add → Existing Project....
You can also select this from the top menu, at File → Add → Existing 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:
- Open Fiddler on the development machine
- Go to Tools → Fiddler Options
- Make sure Allow remote computers to connect is checked
- Go to the Connections tab and confirm the proxy listener port (default is 8888)
- 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)
- Use one of the following addresses to connect to the Development Server:
http://fiddler.ipv4:{PORT}/(preferred)http://localhost.:{PORT}/(note the period afterlocalhost)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