Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharepoint, Virtual PC, and Visual Studio

Status
Not open for further replies.

symbology

Programmer
Jul 21, 2005
1
US
Hi,

I'm trying to create a new Visual Studio Sharepoint project. On my computer, I have Visual Studio and Virtual PC 2004 installed. On the Virtual PC, I've installed Windows Server 2003 and Sharepoint Services.

I need to know what steps I need to take in the Virtual PC. On the IIS, there are already 2 websites: Default Website and Sharepoint Central Administration. Do I create a new ebsite, or new virtual directory in one of those web sites? What directory in the file system should I place the web application?

Then, in Visual Studio, when selecting "new project", what should I put under locatin (i.e. server name).

Is there any advice, or any guide online which can assist me on this? Thanks for your help.
 
If you did the default install of WSS the "default" website is automaticaly extended with WSS. This means that SharePoint Handels aal requests to the site and that all content of that site are stored in the SharePoint database, standard WMSDE. (if you have SQL Server you could use that as the DB this will unlock search features).

Then all you have todo is open the default Website
As for you visual studio Sharepoint project i think you talking about making a webpart? If so it doesnt matter where you store the project. The only thing you need to do is to copy the microsoft.sharepoint.dll form the V PC to your dev machine. then install the VS templates for Webparts and select the location of the DLL, then base your project on these templates.

Then deploy your stongly named Assembly to the Sharepoint machine (in either the sites BIN or in the GAC), and add a save tag to the web.config, then use the dwp file to upload your webpart and use it.

see this for the detailed steps:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top