Skip to content

Unpack Solution does not delete old files in .\package folder & "Output" is incorrect. #4

Open
@simes1

Description

@simes1

I've noticed a couple of things when unpacking solutions with D365DevEx.

  1. What is displayed in the "Output" window is not what D365DevEx does when unpacking a solution:
    image

It actually appears to export the solution to %temp% and unpack to a new folder in %temp% with the same name as the solution file. Then it appears to copy the solution zip to (or wherever you've chosen to store it) the and contents of unpacked solution folder to \package (or wherever you've chosen to store than). Finally (providing it doesn't crash along the way) it then deletes the solution zip and folder in %temp%.

What is in the "Output" window does not achieve the same effect if run manually [filename part of solution file missing, final \package part of extract folder missing and ought to use /allowDelete:Yes (unless it is going to prompt for deletes somehow)]

  1. The copy does not remove files from the target \package folder that are not in the source %temp%<solutionfilename> folder. So if you've removed something from your solution it will still be in source control.

  2. It would also be nice if it remembered the settings for "Enable Solution Packager Log?" and "Store Solution Files?" between sessions.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions