Skip to main content

Notifications

Warning: Package folder already exists in deployment warning on Build

Cause

When building you frequently encounter warnings such as:

"Package folder already exists in deployment: Solution name"

Analysis

These are generally not harmful and are caused because the folder already exists in the model directory.

The message is generated in powershell script GenerateProjFiles.ps1

They will keep appearing unless you remove the source code and descriptors from the metadata directory every time you run a build.

If you want to stop showing them as warnings you can also just open the powershell file, look for the message, and replace the final command from -Warning to -Diag.

Comments

*This post is locked for comments