Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 11th, 2009, 11:13 AM
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.


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 03: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 03:49 PM
Chapter 6 Try It Out errors Voltron ASP.NET 2.0 Basics 0 August 9th, 2006 01:42 AM
Chapter 4 Errors? DRAYKKO BOOK: Beginning Java 2 3 June 1st, 2004 07:47 AM





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