p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 (http://p2p.wrox.com/forumdisplay.php?f=341)
-   -   Chapter 2 Unable to follow instructions (http://p2p.wrox.com/showthread.php?t=69044)

GarethHowell June 27th, 2008 07:58 AM

Chapter 2 Unable to follow instructions
 
The test for "Configure Remote Debugging" on page 51 Step 2 is to create a SharePoint project in VS (I am using VS2008).

To see the SharePoint project types in VS you need to have installed VSeWSS.
Unfortunately you can only install VSeWSS if you have installed WSS and you can only do this if you are running Windows 2003 rather than XP.
There is nothing on page 34 to state that you need to have the host running Windows 2003.



JohnAlexander July 8th, 2008 11:28 AM

Gareth,
The system requirements for VSeWSS state Windows Server 2003. Even though it's not my chapter, I'd assume the author was thinking that the download instructions were enough and didn't feel a need to call it out in the chapter. Apologies for any confusion.

Regards,
John Alexander



Co-Author, Professional SharePoint 2007 Development

GarethHowell July 8th, 2008 01:48 PM

That wasn't actually the point I was making John, but thanks for responding anyway.

Gareth


erobillard July 8th, 2008 02:20 PM

Hi Gareth, good catch. I didn't explicitly mention that the software listed for the Host machine on p. 35 (including VSeWSS) might be used in the steps. Luckily, the steps on p. 51 are the same whether creating a class library (the way I personally start building a web part) or a C# SharePoint web part.

To take a tangent from remote debugging into creating web parts. . .
While it's true that that VSeWSS (or one of several CodePlex projects) is required to get any "SharePoint web part" option to appear when creating a VS project, these days I recommend against the project templates provided by either VSeWSS for Visual Studio 2005 or those included in VS 2008. This is mainly because they're geared for local (F5) development, don't give a proper variety of deployment options for Feature or Solution generation, and require people you share your source with to also have either VSeWSS or VS 2008 installed.

Instead, check out STSDEV on CodePlex (http://codeplex.com/stsdev), which provides effective templates for many SharePoint objects and works great with WSPBuilder (http://codeplex.com/wspbuilder) for generating solutions.

Cheers,
-Eli.

GarethHowell July 9th, 2008 03:49 AM

Great tip Eli, thanks!

Gareth



All times are GMT -4. The time now is 05:55 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.