Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9
This is the forum to discuss the Wrox book Professional SharePoint 2007 Development by John Holliday, John Alexander, Jeff Julian, Eli Robillard, Brendon Schwartz, Matt Ranlett, J. Dan Attis, Adam Buenz, Tom Rizzo; ISBN: 9780470117569
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 11th, 2009, 12:13 PM
Authorized User
 
Join Date: Jul 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Chapter 4 -wsp.ddf file Generates Errors

I am trying to follow the procedure in the Wiley Publishing book Professional SharePoint 2007 Development Chapter 4 section on Solutions to use Makecab.exe to make a Sharepoint Solution.

Why is MakeCab.exe having trouble parsing the wsp.ddf file? How do I fix it?

I am getting the following errors in VSTS 2008:
Microsoft (R) Cabinet Maker - Version (32) 1.00.0601 (03/18/97)
Copyright (c) Microsoft Corp 1993-1997. All rights reserved.
Parsing directives
Parsing directives (wsp.ddf: 1 lines)
wsp.ddf(1): error : Could not find file: n++.OPTION
EXEC : error : MakeCAB aborted: 1 errors encountered

Error 1 Could not find file: n++.OPTION file: C:\!Projects\WileyFeature\WileyFeature\wsp.ddf Line: 1 Project: WileyFeature



The contents of the wsp.ddf file is:

.OPTION EXPLICIT
.Set CabinetNameTemplate=WileyFeature.wsp
.Set DiskDirectoryTemplate=c:\wsp
.Set CompressionType=MSZIP
.Set UniqueFiles=OFF
.Set Cabinet=on
;Files to place into the CAB Root
Manifest.xml
;Files to place into the CAB WileyFeature directory
.Set DestinationDir=WileyFeature
Feature.xml
Elements.xml
  #2 (permalink)  
Old December 31st, 2009, 12:07 PM
Authorized User
 
Join Date: Dec 2004
Location: Chesterfield, MO, USA.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same problem. The book says to edit the file in Visual Studio. I found that this is incorrect. I ended up using notepad and that resolved the problem. Looks like VS adds some characters MakeCab doesn't like.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7 errors janilane BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 May 5th, 2009 04:49 AM
More Errors in chapter 7..... rollercoaster BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 October 3rd, 2006 04:49 PM
Chapter 6 Try It Out errors Voltron ASP.NET 2.0 Basics 0 August 9th, 2006 02:42 AM
Chapter 4 Errors? DRAYKKO BOOK: Beginning Java 2 3 June 1st, 2004 08:47 AM



All times are GMT -4. The time now is 03:12 AM.


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