?
Solved

Adding existing websites and class libraries to visual studio project

Posted on 2010-01-09
3
Medium Priority
?
500 Views
Last Modified: 2013-11-26
Hi,

I have an existing website and also some class libraries. I now want to have a visual studio project where all these are included so I don't have to open them each and everyone but through the project. How can I do that?

Peter
0
Comment
Question by:peternordberg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:zadeveloper
ID: 26273475
Create a new visual studio project - type blank solution. Then once open right click on the solution file in bs and use the add existing project. Repeat for all project. Just a note one the solution is created then go to the physical folder location and past all you project in that folder(each under it's own su folder)
0
 

Author Comment

by:peternordberg
ID: 26278997
HI and thanks for your answer,

I've tried your approach. It worked fine to create the solution as you described. I then copied my folders there and then added an existing website to the solution. But when I did that the soulution file was replaced by the websites directiry information so that the solution looked like a usual website and I can not add any more prjojects to the solution.

What have I done wrong?

Peter
0
 
LVL 13

Accepted Solution

by:
zadeveloper earned 2000 total points
ID: 26279410
Try doing it this way:

Lets assume solution is called: WebSiteSolution, WebSite is called WebSiteProject and Library is called LibraryProject1 and LibraryProject2


1. Open VS and Create a new Solution Project. This should add just a solution file to the ide. Lets assume the sln file is located at %SolutionFolder%\WebSiteSolution.sln.

2. in file explorer go to %SolutionFolder% and past the directories that hold the 3 other projects.

So now you should have in folder %SolutionFolder%  the following:
File: WebSiteSolution.sln
Folder: WebSiteProject
Folder: LibraryProject1
Folder: LibraryProject2

Now in Visual Studio right click on the solution file in the Solution explorer and say add existing project. Add first the project file for LibraryProject1  and then LibraryProject2 and finally right click on the solution folder and click on add existing web site and browse to the WebSiteProject folder.

In the solution explorer you should now see all your porjects.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question