Skip to content

Commit

Permalink
Delete System.Configuration.ConfigurationManager from deployed packages
Browse files Browse the repository at this point in the history
The SDK ships a newer version of System.Configuration.ConfigurationManager than we do, and it's causing load issues. This is a quick patch to fix dotnet/vscode-csharp#5113 for now, but we'll want to remove all dlls that the SDK ships to avoid this long-term.
  • Loading branch information
333fred committed Mar 17, 2022
1 parent 101b238 commit 0f2ddb7
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 0f2ddb7

Please sign in to comment.