View Single Post
  #1 (permalink)  
Old August 11th, 2009, 11:13 AM
dbaechtel dbaechtel is offline
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