Skip to content

Commit

Permalink
Merge pull request #2359 from 333fred/delete-system.configuration.con…
Browse files Browse the repository at this point in the history
…figurationmanager

Delete System.Configuration.ConfigurationManager from deployed packages
  • Loading branch information
333fred authored Mar 17, 2022
2 parents 101b238 + 0f2ddb7 commit 0dc35e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,11 @@ string PublishBuild(string project, BuildEnvironment env, BuildPlan plan, string
{
FileHelper.Delete(filePath);
}

foreach (var filePath in DirectoryHelper.GetFiles(outputFolder, "System.Configuration.ConfigurationManager.dll"))
{
FileHelper.Delete(filePath);
}
}
else
{
Expand Down

0 comments on commit 0dc35e4

Please sign in to comment.