Error in ReleaseBuild

Jun 16, 2008 at 6:02 AM
Edited Jun 16, 2008 at 6:04 AM
ERROR: Could not find file: DeploymentFiles\SolutionPackage.ddf
C:\Projects\TestStsdev\TestStsdev\DeploymentFiles\Microsoft.SharePoint.targets(108,2): error MSB3073: The command ""C:\WINDOWS\system32\makecab.exe" /F DeploymentFiles\SolutionPackage.ddf /D CabinetNameTemplate=TestStsdev.wsp" exited with code 1.
Done building project "TestStsdev.csproj" -- FAILED.
Jun 16, 2008 at 7:04 AM
Hello, which version is causing the trouble?
Jun 25, 2008 at 12:01 PM

wictor wrote:
Hello, which version is causing the trouble?

If you look in the build targets file, it would appear that the ReleaseBuild target deletes the ddf file right before calling the makecab util, which would seem like a strange thing to do. A bug perhaps?
Jun 25, 2008 at 9:37 PM

Change Set 13521 is causing this issue. No ddf is ever created.

V 1.3 binary download does create ddf.
Apr 6, 2009 at 2:01 PM
I am using v 1.3 and getting that same error... Help! :)

I need to deploy this evening, yikes

other than that, i cant say enough about STSDEV
Apr 6, 2009 at 8:37 PM
found the fix (thanks to David Mann)

the second line of the release build in the Microsoft.SharePoint.Targets file (line 104 for me) is



Delete Files="$(ProjectDeploymentFilesFolder)\SolutionPackage.ddf" ContinueOnError="true" />

it should be






Delete Files="$(PackageFile)" ContinueOnError="true" />

trick is that you have to save, close solution and re-open for the change to take place







Apr 6, 2009 at 9:09 PM
This could be because the v1.3 release on the releases page looks to be the incorrect version.  See my other post:
Apr 6, 2009 at 9:35 PM
Thanks Mark